Skip to main content
The OHLCV Tokens stream provides real-time updates on the Open, High, Low, Close prices and Volume of one or many tokens at configurable intervals. This documentation follows our standard streaming API structure.

Credit Cost

TBD

Supported Chains

  • BASE_MAINNET
  • BSC_MAINNET
  • ETH_MAINNET
  • HYPERCORE_MAINNET
  • HYPEREVM_MAINNET
  • MEGAETH_MAINNET
  • MONAD_MAINNET
  • POLYGON_MAINNET
  • SOLANA_MAINNET
  • SONIC_MAINNET
This stream is currently in Beta. It is stable for testing and evaluation but may undergo changes in schema or behavior as we continue to improve it. No API credits are currently charged.We welcome your feedback so please reach out to us directly to report issues or request features.

Supported Token Price Feeds

In addition to DEX-sourced prices, this stream supports institutional-grade price feeds from the following providers:
ProviderDescription
Redstone BoltUltra-low-latency CEX price feeds updated every 2.4 ms (~400 updates/sec). Bolt nodes are co-located with chain sequencer infrastructure and aggregate prices from Binance, Coinbase, OKX, Bitget, and Kraken.
Pass the feed name in the token_addresses array with chain_name set to the feed’s chain name.
Feed NameAssetChain Name
REDSTONE-BTCBitcoinMEGAETH_MAINNET
REDSTONE-ETHEthereumMEGAETH_MAINNET
REDSTONE-SOLSolanaMEGAETH_MAINNET
REDSTONE-BNBBNBMEGAETH_MAINNET
REDSTONE-XRPXRPMEGAETH_MAINNET
REDSTONE-ADACardanoMEGAETH_MAINNET
REDSTONE-DOGEDogecoinMEGAETH_MAINNET
REDSTONE-USDTTetherMEGAETH_MAINNET
REDSTONE-USDCUSD CoinMEGAETH_MAINNET

Parameters

chain_name
enum
required
Chain name to filter events (e.g. BASE_MAINNET, ETH_MAINNET, BSC_MAINNET, SOLANA_MAINNET)Available values: BASE_MAINNET, BSC_MAINNET, ETH_MAINNET, HYPERCORE_MAINNET, HYPEREVM_MAINNET, MEGAETH_MAINNET, MONAD_MAINNET, POLYGON_MAINNET, SOLANA_MAINNET
token_addresses
array<string>
required
Array of token addresses on supported DEXes and chains to track
interval
enum
required
Frequency of OHLCV data updates, ranging from sub-second to one dayAvailable values: ONE_SECOND, FIVE_SECONDS, FIFTEEN_SECONDS, ONE_MINUTE, FIVE_MINUTES, FIFTEEN_MINUTES, ONE_HOUR, FOUR_HOURS, ONE_DAY
timeframe
enum
required
Historical lookback period for OHLCV data, ranging from one minute to one monthAvailable values: ONE_MINUTE, FIVE_MINUTES, FIFTEEN_MINUTES, ONE_HOUR, FOUR_HOURS, ONE_DAY, FIVE_DAYS, SEVEN_DAYS, THIRTY_DAYS
limit
int
Maximum number of items returned per stream message to control payload size

Subscription

You can subscribe to the ohlcvCandlesForToken endpoint to receive the pricing events.

Basic Subscription Query

subscription {
  ohlcvCandlesForToken(
    chain_name: BASE_MAINNET
    token_addresses: ["0x4B6104755AfB5Da4581B81C552DA3A25608c73B8"]
    interval: ONE_MINUTE
    timeframe: ONE_HOUR
  ) {
    chain_name
    interval
    timeframe
    timestamp
    open
    high
    low
    close
    volume
    volume_usd
    quote_rate
    quote_rate_usd
    base_token {
      contract_name
      contract_address
      contract_decimals
      contract_ticker_symbol
    }
  }
}

Complete Subscription Query

subscription {
  ohlcvCandlesForToken(
    chain_name: BASE_MAINNET
    token_addresses: [
      "0x4B6104755AfB5Da4581B81C552DA3A25608c73B8"
    ]
    interval: ONE_MINUTE
    timeframe: ONE_HOUR
    limit: 1000
  ) {
    chain_name
    pair_address
    interval
    timeframe
    timestamp
    open
    high
    low
    close
    volume
    volume_usd
    quote_rate
    quote_rate_usd
    base_token {
      contract_name
      contract_address
      contract_decimals
      contract_ticker_symbol
    }
    quote_token {
      contract_name
      contract_address
      contract_decimals
      contract_ticker_symbol
    }
  }
}

Response Format

Here’s an example of the response data structure:
{
  "data": {
    "ohlcvCandlesForToken": [
      {
        "chain_name": "BASE_MAINNET",
        "interval": "ONE_MINUTE",
        "timeframe": "ONE_HOUR",
        "timestamp": "2025-06-27T22:24:00Z",
        "open": 0.000604418526534047,
        "high": 0.000604638206820701,
        "low": 0.000604013151624892,
        "close": 0.000604638206820701,
        "volume": 1.4980526133065126,
        "volume_usd": 6004669.256018968,
        "quote_rate": 0.000604638206820701,
        "quote_rate_usd": 4007551.6142841205,
        "base_token": {
          "contract_name": "Virtual Protocol",
          "contract_address": "0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b",
          "contract_decimals": 18,
          "contract_ticker_symbol": "VIRTUAL"
        }
      }
    ]
  }
}

Field Descriptions

chain_name
string
The blockchain network where the token exists
pair_address
string
The address of the primary DEX pool with the most liquidity for the token
interval
enum
The candle interval
timeframe
enum
The requested timeframe
timestamp
string
ISO timestamp for the candle
open
float
Opening price for the interval
high
float
Highest price during the interval
low
float
Lowest price during the interval
close
float
Closing price for the interval
volume
float
Trading volume during the interval
volume_usd
float
Trading volume in USD
quote_rate
float
Exchange rate between base and quote tokens
quote_rate_usd
float
USD value of the quote rate
base_token
object
Information about the queried token
quote_token
object
Information about the paired token of the primary DEX pool