Stream real-time prices for multiple assets (Deprecated)
Deprecated - scheduled for removal in 2027. Use POST /sse/prices with method: token_price instead.
Establishes a multiplexed SSE stream for up to 25 token price subscriptions using the legacy t_p event channel. The path /stream is an alias for /sse/prices with identical parameters.
Migration Guide
In each request body item, 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
Close the stream after this many total events. Omit for an indefinite stream.
x >= 1Body
25Blockchain network identifier.
"ethereum"
Token smart contract address.
"0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D"
t_p is deprecated and scheduled for removal in 2027. Use token_price.
token_price, t_p Optional identifier echoed on each event for this subscription. Defaults to the array index if omitted.
0 <= x <= 4294967295Response
Multiplexed 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).