GET
/
api
/
v1
/
index
/
{index}
/
composition-history
curl --request GET \
  --url https://api.international.coinbase.com/api/v1/index/{index}/composition-history \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'CB-ACCESS-PASSPHRASE: <api-key>' \
  --header 'CB-ACCESS-SIGN: <api-key>' \
  --header 'CB-ACCESS-TIMESTAMP: <api-key>'
{
  "product_id": "COIN50",
  "divisor": 3935813421.91702,
  "timestamp": "2024-11-11T14:47:26Z",
  "inception_timestamp": "2020-12-31T00:00:00Z",
  "last_rebalance": "2024-08-30T00:00:00Z",
  "constituents": [
    {
      "symbol": "BTC-USD",
      "name": "Bitcoin",
      "rank": 1,
      "cap_factor": "0.456192678887042",
      "amount": "19745468",
      "market_cap": "1625637364529.9463",
      "index_market_cap": "741603864223.787",
      "weight": "0.5130230783794717",
      "running_weight": "0.5130230783794717"
    }
  ]
}
const indexService = new IndexService(client);

indexService.getIndexCompositionHistory({
    index: 'COIN50',
}).then(async (response) => {
    console.log('Index Composition History: ', response);
})

For more information, please visit the INTX TS SDK.

Authorizations

CB-ACCESS-KEY
string
header
required

The Client ID that owns the API Key for the request

CB-ACCESS-PASSPHRASE
string
header
required

The pass phrase affiliated with the API Key

CB-ACCESS-SIGN
string
header
required

A HMAC SHA-256 signature using the API Key secret on the string TIMESTAMP, METHOD, REQUEST_PATH, BODY

CB-ACCESS-TIMESTAMP
string
header
required

The timestamp of when the request is being made

Path Parameters

index
string
required

Identifies the index by name (e.g., COIN50)

Query Parameters

time_from
string

Filters look back history for returned data (accepts an ISO 8601 timestamp format)

Example:

"2024-10-31T00:00:00Z"

result_limit
integer

The number of results to return (defaults to 5)

Example:

3

result_offset
integer

The number of results from the beginning to skip past

Example:

0

Response

200
application/json

Index composition list

The response is of type object.