🔗 REST APIMulti-Asset Weights
Get multi-asset weights for specific index
GET
header
Authorization<token>API key. Send it in the Authorization header. X-CoinAPI-Key, X-APIBricks-Key and X-APIKey are also accepted.
index_id*stringIndex identifier
time?stringOptional - when given, only weights valid at that time are returned
Format
date-timefrom?stringOptional - when given, only weights valid at or after that time are returned (cannot be combined with time)
Format
date-timeto?stringOptional - when given, only weights valid before that time are returned (cannot be combined with time)
Format
date-timesuccessful operation
- response
[index: integer]?curl -X GET 'https://rest-api.indexes.coinapi.io/v1/indexdef/multiasset/string'[ { "indexId": "string", "assetId": "string", "weight": 0.1, "validFrom": "2019-08-24T14:15:22Z", "validTo": "2019-08-24T14:15:22Z" }]