Skip to main content
GET /api/v1/spot/quote/stream
Holds one pair’s price live by re-quoting on an interval and pushing each result over Server-Sent Events. Requires the md.read scope. Costs one per tick against the quote budget.
Server-side only. Authentication is the Authorization header, and the browser EventSource API cannot set headers — which is correct, because your API key is a secret. Consume this from your backend and relay it to your frontend over your own transport.

Query parameters

Takes everything /spot/quote takes, plus:

Request

Frames

Every data: payload is JSON.
: hb comment lines are sent every 20s so intermediaries don’t idle the connection out when intervalMs is long.

Node.js example

Nothing is buffered server-side while you’re disconnected. On close, reopen the stream — you’ll get a fresh quote on the first tick rather than a replay.