Stream real-time prices for an asset (Deprecated)
Deprecated - scheduled for removal in 2027. Use GET /sse/prices with method=token_price instead.
Establishes an SSE stream for a single token using the legacy t_p event channel. The path /stream is an alias for /sse/prices with identical parameters.
Migration Guide
Replace method=t_p with method=token_price and update your event handler to read PriceResponse fields instead of PriceLegacyResponse fields:
| Legacy field (t_p event) | Current field (token_price event) | |---|---| | a | address | | c | chain | | p | price | | t | timestamp | | t_p | timestamp_price |
Emitted events: t_p · token_price · ping · warning · error
Query Parameters
t_p emits PriceLegacyResponse events (deprecated). token_price emits PriceResponse events (current).
t_p, token_price Token smart contract address.
Blockchain network identifier (e.g. ethereum, solana).
Optional identifier echoed back on each SSE event for this subscription.
0 <= x <= 4294967295Close the stream after this many events. Omit for an indefinite stream.
x >= 1Response
SSE stream established.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Deprecated - delivered on the t_p event channel. Scheduled for removal in 2027. Use PriceResponse (event: token_price) instead.
Token smart contract address (equivalent to address in PriceResponse).
Blockchain network identifier (equivalent to chain in PriceResponse).
Token price in USD (equivalent to price in PriceResponse).
Server ingestion timestamp (equivalent to timestamp in PriceResponse).
Price timestamp (equivalent to timestamp_price in PriceResponse).