Stream real-time prices for multiple assets
Establishes a multiplexed SSE stream for up to 25 token price subscriptions in a single connection.
Emitted events: 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"
Streaming method. Only token_price is accepted on /sse/prices.
token_price 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
Price update payload. Delivered on the token_price event channel.
Token smart contract address.
"0x7a250d5630b4cf539739df2c5dacb4c659f2488d"
Blockchain network identifier.
"ethereum"
Token price in USD.
"3456.78"
Server ingestion timestamp (ISO 8601).
"2024-05-08T10:00:00Z"
On-chain or oracle price timestamp (ISO 8601).
"2024-05-08T09:59:58Z"
Alias for timestamp_price.
"2024-05-08T09:59:58Z"