Market holidayJapan will be closed on 2026-11-03 (Culture Day), 5 days from now.All announcements
Guide

Node.js WebSocket live quotes

Node.js fits BFFs, boards, and light strategy engines. This guide covers connect, subscribe, routing, heartbeats, and reconnect.

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.

Handle pushes

Route by market/symbol and keep a last-price state machine; avoid blocking I/O on the hot path.

Production tips

Add read timeouts, ping/pong, and exponential backoff; on reconnect resubscribe fully and REST-calibrate quotes.

Sample subscribe

A typical subscribe payload includes action, market, symbols, and apiKey. Debug in the browser with /tools/ws-debugger.

Further reading

General WS and reconnect guides; auth failures → /docs/auth.