Connect
Use ws or undici WebSocket to wss://api.tiqex.io/api/v1/market/stream. After open, send subscribe JSON with action/market/symbols/apiKey.
Guide
Node.js fits BFFs, boards, and light strategy engines. This guide covers connect, subscribe, routing, heartbeats, and reconnect.
Use ws or undici WebSocket to wss://api.tiqex.io/api/v1/market/stream. After open, send subscribe JSON with action/market/symbols/apiKey.
Route by market/symbol and keep a last-price state machine; avoid blocking I/O on the hot path.
Add read timeouts, ping/pong, and exponential backoff; on reconnect resubscribe fully and REST-calibrate quotes.
A typical subscribe payload includes action, market, symbols, and apiKey. Debug in the browser with /tools/ws-debugger.
General WS and reconnect guides; auth failures → /docs/auth.