GET /public/get_basket_index_composition
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/deribit/public/get_basket_index_compositionCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeLatest composition of a Deribit basket index (currently COIN50): constituents, weights, cap factors and divisor.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
index_name | query | strCOIN50 | required | Basket index identifier (case-insensitive). example: COIN50 |
Response
type: object
pagination: none
sample: {
"jsonrpc": "str",
"result": "object",
"usIn": "int",
"usOut": "int",
"usDiff": "int",
"testnet": "bool"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/deribit/public/get_basket_index_composition?index_name=COIN50"