Skip to main content
Build on Limitless with REST and WebSocket APIs for programmatic trading, market data, and portfolio management. Base URL: https://api.limitless.exchange Interactive API Docs (Scalar): https://api.limitless.exchange/api-v1 WebSocket URL: wss://ws.limitless.exchange
The /api-v1 path serves the interactive Scalar API documentation. For actual API calls, use the base URL directly (e.g., GET https://api.limitless.exchange/markets/active).

Capabilities

REST API

  • Authenticate with API keys
  • Fetch market data and venue info
  • Create, sign, and submit orders (EIP-712)
  • Manage portfolio and positions

WebSocket API

  • Real-time market price updates
  • Orderbook streaming for CLOB markets
  • Position change notifications

Programmatic API

  • HMAC-scoped partner tokens
  • Sub-account management
  • Delegated signing (GTC and FOK orders)
  • Server-managed wallets

Quick Navigation

Authentication

API key setup, HMAC tokens, and authentication flow.

Programmatic API

Partner tokens, sub-accounts, and delegated signing.

Python Quick Start

End-to-end trading in Python.

Node.js Quick Start

TypeScript/Node.js integration with viem.

Migrate from Polymarket

Map Polymarket concepts to Limitless equivalents.

API Reference

Full endpoint documentation.

How Trading Works

1

Authenticate

Use your API key (X-API-Key header) for all requests. Generate keys via the Limitless Exchange UI → profile menu → Api keys.
2

Fetch Market Data

GET /markets/:slug returns market info including venue contract addresses (fetch once per market and cache).
3

Build & Sign Orders

Construct order payloads and sign with EIP-712 using the venue’s exchange address as verifyingContract.
4

Submit Orders

POST /orders to submit signed orders and receive confirmations.