> ## Documentation Index
> Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# New OHLCV Tokens and Pairs Queries

*Published April 27, 2026*

![New OHLCV Tokens and Pairs Queries](https://www.datocms-assets.com/86369/1780000650-09_new_ohlcv_tokens_and_pairs_queries.jpg)

The Streaming API now offers **one-shot OHLCV queries** for tokens and pairs — historical candles fetched in a single request, with the same shape as the live streaming subscriptions.

Previously, hydrating a chart meant opening a WebSocket subscription, capturing the initial backfill, and unsubscribing. The new queries skip that dance: hit the GraphQL endpoint, get the candles, render the chart.

## What's new

* **`OHLCVTokensQuery`** — historical candles for one or many tokens at configurable intervals.
* **`OHLCVPairsQuery`** — historical candles for one or many DEX pairs at configurable intervals.
* **Identical shape to the streaming subscriptions** — swap a query for a subscription (or vice versa) without rewriting your client.
* **Multi-chain** — `BASE_MAINNET`, `BSC_MAINNET`, `ETH_MAINNET`, `HYPERCORE_MAINNET`, `HYPEREVM_MAINNET`, `MEGAETH_MAINNET`, `MONAD_MAINNET`, `POLYGON_MAINNET`, `SOLANA_MAINNET`.
* **Beta, no credits charged** — stable for evaluation while we collect feedback.

Use queries for chart hydration, backtests, and analytics jobs; use the streams for live updates. Mix and match on the same connection.

[Learn more](https://goldrush.dev/docs/api-reference/streaming-api/queries/ohlcv-tokens-query)
