Skip to Content
Blockhash Docs
API referenceMarket data
GET
/v1/stream

Server-sent events of market changes: one price per pool that traded and one candle per token whose chart moved, at most one a subject a second. An event is the signal to read the JSON again, not a price. See Streaming.

Query Parameters

kinds?string

Comma-separated event kinds. The stream emits price and candle; other names deliver nothing.

keys?string

Comma-separated subjects (token or pool ids).

since?integer

Resume after this sequence number. Last-Event-ID does the same.

Response Body

text/event-stream

application/json

application/json

curl -X GET "https://example.com/v1/stream"
"string"