Expand Options
Markets
Retrieve markets data for an asset using the expand parameter
GET
Get Asset
Overview
Add the?expand=markets flag to your /assets or /assets/{idOrSlug} page to include markets data in the response.
Example Request
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
volume_24h | number | Trading volume in the last 24 hours |
ath | number | All-time high price |
ath_change_percentage | number | Percentage change from all-time high |
ath_date | number | Unix timestamp when all-time high was reached |
total_open_interest | number | Total open interest |
total_liquidations | number | Total liquidations |
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_24h). - Can be used on
/v1/assets/or/v1/assets/{idOrSlug}endpoints. priceandmarket_capare expanded by default in/assets/{idOrSlug}results unless an explicit?expand=flag is provided.
See also
Authorizations
Path Parameters
Query Parameters
Available options:
addresses, chains, addresses.chain, markets, market_cap, ohlcv_last_24_h, price, reference, sector, supply Response
Required range:
0 <= x <= 4294967295Maximum string length:
20Maximum string length:
100Maximum string length:
100Maximum string length:
255Maximum string length:
65535Maximum string length:
255Maximum string length:
50Maximum string length:
25Unix timestamp
Available options:
Infrastructure, Application Expandable relationship
Expandable relationship