Skip to main content
GET
/
sse
/
prices
Stream real-time prices for an asset
curl --request GET \
  --url https://streaming.dexpaprika.com/sse/prices
{
  "address": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
  "chain": "ethereum",
  "price": "3456.78",
  "timestamp": "2024-05-08T10:00:00Z",
  "timestamp_price": "2024-05-08T09:59:58Z",
  "token_price": "2024-05-08T09:59:58Z"
}

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
string

Server ingestion timestamp (ISO 8601).

Example:

"2024-05-08T10:00:00Z"

timestamp_price
string

On-chain or oracle price timestamp (ISO 8601).

Example:

"2024-05-08T09:59:58Z"

token_price
string

Alias for timestamp_price.

Example:

"2024-05-08T09:59:58Z"