Skip to main content
WSS

Documentation Index

Fetch the complete documentation index at: https://docs.agg.market/llms.txt

Use this file to discover all available pages before exploring further.

Messages
appId
type:userPassword

App-level auth: pass appId as a query parameter on connect. Required for all connections. The appId must belong to an active app with matching allowed origins.

jwt
type:http

User-level auth: pass JWT as token query param on connect, or send { action: 'authenticate', token } mid-session. Required for user-specific events (orders, balances). Same JWT as the REST API.

Orderbook snapshot
type:object

Full aggregated orderbook state with venue attribution

Orderbook delta
type:object

Incremental update — only changed levels. size=0 means level removed.

Subscription confirmed
type:object
Unsubscription confirmed
type:object
Market resolved
type:object

Terminal resolution event for a subscribed outcome. Delivered once per outcome subscription; after delivery, the gateway closes out the orderbook channel for that outcome.

Subscribe to orderbook
type:object

Subscribe to aggregated orderbook updates for markets

Unsubscribe from orderbook
type:object
Request full snapshot
type:object

Request a fresh snapshot for the current market state