WebSocket
Upgrade to a WebSocket that carries any number of live channels (up to 200 per socket). Send JSON ops, receive JSON frames:
Query parameters of the upgrade URL (?channel=trades&chain=sol&token=…) subscribe one
channel right away. Channels and frames: see the Streaming guide. While the server is at
capacity, a new socket’s upgrade answers 503 (server_busy, Retry-After: 30); open
sockets keep running. The same socket is at wss://ws.raze.bot (the bare path is
/v1/ws).
A Solana block that loses its fork. Its trades may already have gone out live, and they
never happened there. On Solana the trades channel can then send one retract frame per
lost slot, after the trades it names, usually 10–40 s after them:
Remove the rows it lists, by signature + wallet (every row of that pair). A transaction
that landed in another block comes again later as a new trade, with the same signature and
that block’s amounts and time. Never handle a frame type you do not know as a trade. On
candles the same event can bring a fresh snapshot, its candles built again without the
lost slot; token, launchpad and wallet send nothing new for it.
Authorizations
Query Parameters
The key, for clients that cannot set headers
trades, candles, token, launchpad, prices, wallet Response
Switching protocols