GET /bapi/future/v1/public/future/aster/get-index-weight
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/aster/bapi/future/v1/public/future/aster/get-index-weightCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeConstituent exchange weights feeding a symbol's index price.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | str | required | Futures symbol. example: BTCUSDT |
Response
type: object
pagination: none
sample: {
"code": "str",
"message": "null",
"messageDetail": "null",
"data": "array[8]",
"success": "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/aster/bapi/future/v1/public/future/aster/get-index-weight?symbol=BTCUSDT"