Messages
Charts
OnchainOHLCV
Real-time onchain OHLCV candlestick updates by pool address
WSS
Notes
- Streams real-time OHLCV (Open, High, Low, Close, Volume) candlestick data by network and pool address.
- Lookup format:
network_id:pool_address(e.g.bsc:0x172fcd41e0913e95784454622d1c3724f546f849). - Interval options:
1s/1m/5m/15m/1h/2h/4h/8h/12h/1d. - Stream based on
baseorquotetoken of a pool. - Find supported network IDs via Networks List.
- Use Top Pools by Token Address to find the most liquid pool address.
- Fields may return
nullwhen data is unavailable. Ensure your application handles null values.
Each unique combination of interval and token for a given pool counts as a distinct subscription towards your max subscription limit.
Update Frequency:
As fast as ~1 second for actively traded pools.
As fast as ~1 second for actively traded pools.
Data Payload
| Key | Field | Type | Description | Example |
|---|---|---|---|---|
ch | channel_type | string | Channel type subscribed to. | G3 |
n | network_id | string | Blockchain network identifier. | bsc |
pa | pool_address | string | Pool contract address. | 0x172fcd41e0913e95784454622d1c3724f546f849 |
to | token | string | Token side (base or quote). | base |
i | interval | string | Candle interval. | 1m |
o | open | number | Open price in USD. | 1.0005 |
h | high | number | High price in USD. | 1.0006 |
l | low | number | Low price in USD. | 0.9999 |
c | close | number | Close price in USD. | 0.9999 |
v | volume | number | Volume in USD. | 59672.13 |
t | timestamp | integer | Candle open time, UNIX timestamp (s). | 1780841100 |
1. Establish Connection
2. Subscribe to OnchainOHLCV
Input:3. Stream OHLCV Data
Input:Output keys may appear in any order.
4. Unsubscribe
Unsubscribe from a specific pool:Messages

