Skip to main content
GET
Stream real-time prices for an asset

Query Parameters

method
enum<string>
required

Streaming method. Use token_price to receive PriceResponse events.

Available options:
token_price
address
string
required

Token smart contract address.

chain
string
required

Blockchain network identifier (e.g. ethereum, solana).

request_id
integer

Optional identifier echoed back on each SSE event for this subscription.

Required range: 0 <= x <= 4294967295
limit
integer

Close the stream after this many events. Omit for an indefinite stream.

Required range: x >= 1

Response

SSE stream established.

Price update payload. Delivered on the token_price event channel.

address
string

Token smart contract address.

Example:

"0x7a250d5630b4cf539739df2c5dacb4c659f2488d"

chain
string

Blockchain network identifier.

Example:

"ethereum"

price
string

Token price in USD.

Example:

"3456.78"

timestamp
integer

Server ingestion time, Unix seconds.

Example:

1789721706

timestamp_price
integer

Time of the swap that set this price, Unix seconds.

Example:

1789721706

token_price
integer

Same value as timestamp_price, sent alongside it.

Example:

1789721706