Skip to main content
GET
/
api
/
v1
/
index
/
{index}
/
composition-history
Get 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"
    }
  ]
}
  • TS/JS
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
CB-ACCESS-PASSPHRASE
string
header
required
CB-ACCESS-SIGN
string
header
required
CB-ACCESS-TIMESTAMP
string
header
required

Path Parameters

index
string
required

Query Parameters

time_from
string
Example:
result_limit
integer
Example:
result_offset
integer
Example:

Response

product_id
string
Example:
divisor
string
Example:
timestamp
string
Example:
inception_timestamp
string
Example:
last_rebalance
string
Example:
constituents
object[]