Daily DEX token prices
Daily volume-weighted average price (VWAP) and volume for a DEX token over a specified date range (up to 90 days). Not paginated: next_cursor is never present. Snapshot freshness: prices come from a daily table that the data store refreshes once a day, so the latest day can be missing or partial for up to about a day. as_of_block here is the service's current indexed head, not the block height of the snapshot; read the snapshot time from meta.refreshed_at, and treat the data as stale when refreshed_at is null.
Request
- Base URL: https://api.blockvectra.com/v1/data
- URL: https://api.blockvectra.com/v1/data/{chain}/dex/prices
- Auth: API key in header x-api-key
Path parameters
Chain identifier: the chain value of an entry in GET /chains (for example robinhood_mainnet), which lists every value this API accepts, i.e. the exact lowercase form of that entry's chain_slug. Matching is exact and case-sensitive; other spellings, aliases and numeric chain IDs are not accepted and return 404 not_found (unknown or not-public chain). What the chain serves differs per chain: see that entry's features and coverage.
Query parameters
20-byte address. 0x/0X prefix optional; either hex digit case is accepted.
20-byte base token address, 0x optional, either case.
20-byte address. 0x/0X prefix optional; either hex digit case is accepted.
Optional 20-byte quote token address to restrict to a single base/quote pair.
UTC start date, inclusive, YYYY-MM-DD.
UTC end date, inclusive, YYYY-MM-DD. to - from must be <= 90 days.
Response
Daily price/volume rows for [from, to] (empty array if none).
Example response
{
"data": [
{
"day": "2026-09-26",
"base_volume_raw": "9007199254740993",
"quote_volume_raw": "9007199254740993",
"first_price_numerator": "9007199254740993",
"first_price_denominator": "9007199254740993",
"last_price_numerator": "9007199254740993",
"last_price_denominator": "9007199254740993",
"min_price_numerator": "9007199254740993",
"min_price_denominator": "9007199254740993",
"max_price_numerator": "9007199254740993",
"max_price_denominator": "9007199254740993",
"refreshed_at": "2026-09-26T05:41:07Z"
}
],
"meta": {
"chain": "robinhood_mainnet",
"chain_slug": "ROBINHOOD_MAINNET",
"chain_external_id": "eip155:4663",
"refreshed_at": "2026-09-26T05:41:07Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.