Expand Options
Price
Retrieve price data for an asset using the expand parameter
GET
Get Asset
Overview
Add the?expand=price flag to your /assets or /assets/{idOrSlug} page to include price data in the response.
Example Request
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
usd | number | Current price in US dollars |
btc | number | Current price in Bitcoin |
eth | number | Current price in Ethereum |
updated_at | number | Unix timestamp when the price 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