Credit Cost
TBD
Supported Chains
SONIC_MAINNETBASE_MAINNETBSC_MAINNETETH_MAINNETSOLANA_MAINNETMONAD_MAINNETHYPERCORE_MAINNETHYPEREVM_MAINNETPOLYGON_MAINNETMEGAETH_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:| Provider | Description |
|---|---|
| Redstone Bolt | Ultra-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. |
token_addresses array with chain_name set to the feed’s chain name.
| Feed Name | Asset | Chain Name |
|---|---|---|
REDSTONE-BTC | Bitcoin | MEGAETH_MAINNET |
REDSTONE-ETH | Ethereum | MEGAETH_MAINNET |
REDSTONE-SOL | Solana | MEGAETH_MAINNET |
REDSTONE-BNB | BNB | MEGAETH_MAINNET |
REDSTONE-XRP | XRP | MEGAETH_MAINNET |
REDSTONE-ADA | Cardano | MEGAETH_MAINNET |
REDSTONE-DOGE | Dogecoin | MEGAETH_MAINNET |
REDSTONE-USDT | Tether | MEGAETH_MAINNET |
REDSTONE-USDC | USD Coin | MEGAETH_MAINNET |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chain_name | enum | Yes | Chain name to filter events (e.g. BASE_MAINNET, ETH_MAINNET, BSC_MAINNET, SOLANA_MAINNET) |
token_addresses | array<string> | Yes | Array of token addresses on supported DEXes and chains to track |
interval | enum | Yes | Frequency of OHLCV data updates, ranging from sub-second to one day |
timeframe | enum | Yes | Historical lookback period for OHLCV data, ranging from one minute to one month |
limit | int | No | Maximum number of items returned per stream message to control payload size |
Subscription
You can subscribe to theohlcvCandlesForToken endpoint to receive the pricing events.
Basic Subscription Query
Complete Subscription Query
Response Format
Here’s an example of the response data structure:Field Descriptions
| Field | Type | Description |
|---|---|---|
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 |