Messages
Price
OnchainSimpleTokenPrice
Real-time onchain token price updates by network and token address
WSS
Notes
- Streams real-time price and market data for tokens by network and token address.
- Returns data from the top pool of the specified token.
- Lookup format:
network_id:token_address(e.g.bsc:0x55d398326f99059ff775485246999027b3197955). - Find supported network IDs via Networks List.
- Fields may return
nullwhen data is unavailable. Ensure your application handles null values.
Update Frequency:
As fast as ~1 second for actively traded tokens.
As fast as ~1 second for actively traded tokens.
Data Payload
| Key | Field | Type | Description | Example |
|---|---|---|---|---|
c | channel_type | string | Channel type subscribed to. | G1 |
n | network_id | string | Blockchain network identifier. | bsc |
ta | token_address | string | Token contract address. | 0x55d398326f99059ff775485246999027b3197955 |
p | usd_price | number | Current token price in USD. | 1.0002630480973 |
pp | usd_price_24h_change_percentage | number | Price change percentage (24h). | 0.05 |
m | usd_market_cap | number | Market capitalization in USD. | 9187408426.01 |
v | usd_24h_vol | number | 24-hour trading volume in USD. | 1999727791.12 |
t | last_updated_at | integer | UNIX timestamp in seconds. | 1780840630 |
1. Establish Connection
2. Subscribe to OnchainSimpleTokenPrice
Input:3. Stream Token Price Data
Input:Output keys may appear in any order.
4. Unsubscribe
Unsubscribe from a specific token:Messages

