Skip to Content
Call Market WebSocket

Call Market WebSocket

Hosted Market WebSocket is the public live-delivery path for market subscriptions. Connect once, pass Authorization: Bearer <api_key>, then send one subscribe frame for the market target you need.

Market WebSocket is the product-level stream surface. Use it for market events, not for native chain subscriptions.

Access

  • Endpoint: wss://gw-aql.tomo.services/v1/market/ws
  • Auth: Authorization: Bearer <api_key>
  • First action: subscribe

How to call Market WebSocket

Create one API key

Open Get API Key and keep the bearer token ready.

Connect once

Open one websocket connection to the hosted market endpoint and send the bearer header during upgrade.

Start with one price target

Confirm the first MARKET_PRICE event before widening into OHLCV or more target sets.

Connection flow

wscat -c "wss://gw-aql.tomo.services/v1/market/ws" \ -H "Authorization: Bearer <api_key>"

Look for SESSION_READY followed by MARKET_PRICE or MARKET_SHORT_RANGE_OHLCV, then confirm stream usage lands under the WebSocket metrics.

Last updated on