Server-Sent Events
Reference
Server-Sent Events
One live channel as text/event-stream. The frames are the WebSocket’s; the SSE event name
is the frame type (snapshot, trade, retract, candle, …), so listen with
addEventListener(type, …). A comment line every 15 s keeps the connection open. Bad
parameters answer 400 JSON before the stream starts; while the server is at capacity, a
new stream answers 503 (server_busy, Retry-After: 30), and streams already open keep
running.
GET
Server-Sent Events
One channel per connection, same frames as the WebSocket. The SSE event name is the frame
type, so EventSource.onmessage does not fire: listen with addEventListener("snapshot", …), addEventListener("trade", …) and so on. See the SSE guide.Authorizations
Path Parameters
Available options:
trades, candles, token, launchpad, prices, wallet Query Parameters
candles only
candles only
Available options:
usd, marketCap launchpad only
Available options:
new, graduating, graduated wallet only
Response
An event stream
The response is of type string.