Programmatic Access

For bots, algo trading, or other integrations, use the REST and WebSocket APIs described in this documentation.

Authentication Model

Available APIs

InterfaceProtocolUse Case
RESTHTTPSAuth, orders, mass quote (Prime/Apex), positions, stats, tiers, referrals, settlement status, instruments, market data proxies
WebSocketWSSOrder updates (/ws/orders), order submission (/ws/trading), user events (/ws/user), external venue data (/ws/gomarket)
SSEHTTPReal-time stats (/events/stats), notifications (/events/notifications)

Quick Start

  1. Get your wallet address — This is your userId for all API calls
  2. Obtain handshake token — For WebSocket connections (provided during onboarding)
  3. Place your first order — See Place Order
  4. Subscribe to updates — Connect to Order Updates

Market makers on Prime/Apex tiers can use Mass Quote for batch cancel-replace. See System Status for degraded mode (202 / 1502) behavior.

SDKs

Official client libraries for REST and WebSocket trading:

Rate Limits

Different tiers have different rate limits. See Rate Limits for details.