Expand Options
OHLCV (Last 24h)
Retrieve ohlcv_last_24h data for an asset using the expand parameter
GET
Get Asset
Overview
Add the?expand=ohlcv_last_24h flag to your /assets or /assets/{idOrSlug} page to include ohlcv_last_24h data in the response.
Example Request
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
assetId | number | Unique identifier for the asset |
open | number | Price at the start of the trailing 24h window |
high | number | Highest price during the trailing 24h window |
low | number | Lowest price during the trailing 24h window |
close | number | Price at the end of the trailing 24h window |
volume | number | Total traded volume over the trailing 24h window |
updated_at | number | Unix timestamp when values were last refreshed |
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