Base URL
Authentication
Most endpoints require authentication via one of two methods:| Method | Headers | Use case |
|---|---|---|
| API Key | X-API-Key: lmts_... | Individual traders, bots, data access |
| Scoped API Token (HMAC) | lmts-api-key, lmts-timestamp, lmts-signature | Partner integrations, delegated signing, sub-account management |
Public endpoints like market browsing and orderbook data do not require authentication.
Endpoint Groups
Authentication
Manage API keys, verify sessions, and authentication flows.
API Tokens
Scoped API token management for partner integrations — derive, list, and revoke HMAC-authenticated tokens.
Markets
Browse active markets, search, get details and feed events.
Trading
Create and cancel orders, batch order status, orderbook, historical prices, and user orders.
Partner Accounts
Create and manage sub-accounts for partner integrations.
Portfolio
Positions, trades, PnL chart, history, points, and allowance.
Public Portfolio
Public user positions, traded volume, and PnL data.
Key Concepts
| Concept | Description |
|---|---|
| Venue system | Each CLOB market has a venue with exchange and adapter addresses. Fetch via GET /markets/:slug. See Venue System. |
| EIP-712 signing | Orders are signed using the venue’s exchange address as verifyingContract. See EIP-712 Signing. |
| Order types | GTC (Good Till Cancelled) stays on the orderbook. FOK (Fill or Kill) executes immediately or cancels. |
| Token IDs | Each market has YES and NO position IDs returned in positionIds. Use these as tokenId in orders. |
| USDC decimals | USDC on Base has 6 decimals. Amounts are scaled by 1e6. |
WebSocket API
For real-time orderbook and position updates, see the WebSocket Events reference. URL:wss://ws.limitless.exchange | Namespace: /markets
Rate Limits
| Limit | Value |
|---|---|
| Max concurrent requests | 2 |
| Min delay between calls | 300ms |