Skip to main content
POST

Overview

Parameters

number
required
Target EVM chain. See the Chain enumeration for supported values.
string
required
ERC-20 contract address for the base asset (hex string, 20 bytes, no 0x prefix).
string
required
Fiat currency code for the quote leg.

Range Filters (mutually exclusive)

number
Starting block (inclusive). Block ranges use strict containment: only buckets whose entire span maps to blocks within [from_block, to_block] are returned, so each bar aggregates only blocks inside your range. The partial bucket that merely contains from_block is excluded. A range narrower than one bucket_seconds returns no bars. Use with to_block.
number
Ending block (inclusive). The partial bucket that contains to_block (and also spans later blocks) is excluded — only buckets ending at or before to_block’s timestamp are returned. Use with from_block.
string
Starting timestamp (ISO-8601). If it falls between blocks, the next block after this timestamp is used.
string
Ending timestamp (ISO-8601). If it falls between blocks, the last block before this timestamp is used.
Scoping rule: Provide exactly one of:
  1. Block rangefrom_block and to_block
  2. Time rangefrom_timestamp and to_timestamp
  3. Direct selectors — presented below
Direct selectors may be used on their own, without a block or time range. Do not combine scoping modes. Omitting all three returns HTTP 400.

Direct Selectors

number[]
Filter by exchange identifiers. See the DigitalExchange enumeration.
string[]
Restrict to specific BlockDB pool identifiers.

Pagination Controls

number
default:"250"
Recommended default 250; maximum 1000 to stay under ~10 MB responses.
string
Opaque pagination cursor supplied by a previous response.

Response Fields

Meta

object
Echo of request metadata applied to the response.
number
EVM chain ID echoed from the request.
string
ERC-20 contract address of the base asset, echoed from the request.
string
Fiat currency code for the quote leg, echoed from the request.
object
Pure echo of the window you sent (from_block/to_block/from_timestamp/to_timestamp); unset bounds are null.
object | null
The concrete window the query actually executed against, after resolving the request. For a block range on a time-bucketed endpoint (OHLC/VWAP/VWAP-aggregate/fiat VWAP), from_timestamp/to_timestamp hold the resolved timestamp window (and from_block/to_block echo your request). For a time range on a block-keyed endpoint, from_block/to_block hold the resolved block range (and the timestamps echo your request). null for selector-only requests (no window). No extra database work is done — these are the values the query already computed.
number | null
Resolved/echoed start block of the executed window.
number | null
Resolved/echoed end block of the executed window.
string | null
Resolved/echoed start timestamp (ISO-8601) of the executed window.
string | null
Resolved/echoed end timestamp (ISO-8601) of the executed window.
object
Filters applied to the query (exchange IDs, pool UIDs).

Data

object[]
Fiat VWAP rows matching the request.
number
On-chain lineage anchor: block of the first contributing event in the bucket window.
string
Time of the first contributing event (ISO-8601).
number
Transaction index of the first contributing event.
number
Log index of the first contributing event.
number
On-chain lineage anchor: block of the last contributing event in the bucket window.
string
Time of the last contributing event (ISO-8601).
number
Transaction index of the last contributing event.
number
Log index of the last contributing event.
string
Inclusive UTC start of the VWAP bucket (ISO-8601).
number
Bucket width in seconds; one of 60, 300, 900, 1800, 3600, 14400, 86400.
string
ERC-20 token address (hex, 20 bytes, no 0x prefix).
string
VWAP in USD for the bucket. Returned as a string to preserve precision.
string
Notional USD volume used in the VWAP weighting. Returned as a string to preserve precision.
number
Minimum hop count from the stablecoin anchor along b0505 edges.
number
Number of cross-pool pair edges (b0505 rows) used in the hop chain.
string
BlockDB tracing ID for the row (hex string, no 0x prefix); unique per row.
string[]
Tracing IDs of contributing b0505 VWAP lineage (each hex string without 0x).
string
Record creation timestamp (ISO-8601).
string
Record update timestamp (ISO-8601).

Envelope Fields

string | null
Pagination cursor.
number
Number of VWAP entries returned.
Last modified on July 19, 2026