GET /api/data-api/v3/exchange/assets
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3/exchange/assetsCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeExchange token balances and consumer liabilities, including a USD liability total.
name=exchange_assets. Token rows have totalBalance. The first row did not have totalBalanceUsd.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | query | str | required | Exchange id. 270 is Binance. example: 270 |
Response
type: object
pagination: none
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/cmc/api/data-api/v3/exchange/assets?id=270"