Overview
Add the?expand=market_cap
flag to your /assets
or /assets/{idOrSlug}
page to include market_cap data in the response.
Example Request
Example Response
Response Fields
Field | Type | Description |
---|---|---|
assetId | number | Unique identifier for the asset |
rank | number | Rank of the asset |
usd | number | Market cap in USD |
dominance | number | Dominance of the asset |
percent_change_btc_1h | number | Percentage change from BTC in the last 1 hour |
percent_change_btc_24h | number | Percentage change from BTC in the last 24 hours |
percent_change_usd_1h | number | Percentage change from USD in the last 1 hour |
percent_change_usd_24h | number | Percentage change from USD in the last 24 hours |
percent_change_usd_7d | number | Percentage change from USD in the last 7 days |
percent_change_usd_30d | number | Percentage change from USD in the last 30 days |
percent_change_eth_1h | number | Percentage change from ETH in the last 1 hour |
percent_change_eth_24h | number | Percentage change from ETH in the last 24 hours |
updated_at | number | Unix timestamp when market data was last updated |
Notes
- Can be used with other expansion options by joining with a comma (e.g.
?expand=markets,ohlcv_last_24_h
). - Can be used on
/v1/assets/
or/v1/assets/{idOrSlug}
endpoints. price
andmarket_cap
are expanded by default in/assets/{idOrSlug}
results unless an explicit?expand=
flag is provided.
See also
Authorizations
Path Parameters
Query Parameters
Response
Required range:
0 <= x <= 4294967295
Maximum length:
20
Maximum length:
100
Maximum length:
100
Maximum length:
255
Maximum length:
65535
Maximum length:
255
Maximum length:
50
Maximum length:
25
Unix timestamp
Required range:
0 <= x <= 4294967295
Available options:
Infrastructure
, Application
Expandable relationship
Expandable relationship