River Markets · AsyncAPI Specification
River Markets Streaming API
Version 1.0.0
Real-time WebSocket streams over wss://api.rivermarkets.com. Client frames are JSON text; server frames are orjson-serialized UTF-8 bytes. Handshake auth uses the Ed25519 signed-request flow moved to query params (key_id, ts, sig over WS\nPATH\nSORTED_QUERY\nTIMESTAMP), or a Supabase JWT (?access_token=) for first-party web clients. Invalid/missing auth closes with 4401.
View Spec
View on GitHub
CompanyPrediction MarketsTradingPrime BrokerageFinancial-ServicesOrder ManagementMarket DataWebSocketFintechAsyncAPIWebhooksEvents
Channels
orderbooks
Live orderbook snapshots and updates for one or more markets (subscribe by river_ids).
fills
Live fill (execution) events for one subaccount over a single connection.
orders
Live order-status updates for one subaccount over a single connection.
tradeprints
Live trade tape (every print) for one or more markets (subscribe by river_ids).
Messages
subscribeRiverIds
subscribeRiverIds
subscribeSubaccount
subscribeSubaccount
orderbookFrame
orderbookFrame
serverEvent
serverEvent
Servers
wss
production