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. 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