WebSocket price stream

Real-time WebSocket stream of live prices and order book updates. Authenticate by sending Authorization: Bearer *** (your API key) on the WebSocket handshake request. Handshakes without a valid key are rejected with HTTP 401 before the upgrade.\n\nThis is a WebSocket endpoint — REST Try It will not work here. Connect using any WebSocket client at wss://api.rave-trading.com/api/v2/stream.\n\nAll WebSocket protocol details (upgrade headers, framing, version negotiation) are handled automatically by standard WebSocket libraries.\n\nThe server negotiates standard permessage-deflate transport compression (RFC 7692) when a client offers it in the WebSocket handshake. Clients that do not offer the extension continue receiving uncompressed JSON text frames. Compression is transparent — decompressed frames are identical to the uncompressed path.\n\nOptional query parameters: mode=delta opts into sequenced schema-v3 price_snapshot/price_delta frames (the default mode=full keeps the price_frame snapshots below), and chain_id / pair_id limit the pair books to one chain or one pair. Invalid values are rejected with HTTP 400 before the upgrade. See the Price stream guide for delta handling.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
Defaults to full

full preserves the schema-v2 complete-snapshot contract; delta opts into sequenced schema-v3 snapshots and deltas.

Allowed:
int64
≥ 1

Limit emitted pair books to one settlement chain.

string
length between 1 and 256

Limit emitted pair books to one exact public pair_id.

Responses

Language
Credentials
Bearer
Rave API key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json