Skip to main content

Documentation Index

Fetch the complete documentation index at: https://limitless-docs-ws-settlement-events.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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).

Choose your path

Individual Trader / Bot

You want to trade on Limitless programmatically — placing orders with your own wallet via a bot, script, or agent. You do not need to apply for anything. Get an API key from the UI and start trading.

Platform / Partner

You are building a product where other users trade through your platform. You need sub-accounts, delegated signing, or managed wallets. Requires a partner application.

Trading for yourself

If you are an individual trader, bot operator, or agent builder, this is your path. You trade with your own wallet and sign your own orders.

How it works

1

Get an API key

Generate an API key from the Limitless Exchange UI → profile menu → Api keys. Use it as the X-API-Key header on all requests.
2

Fetch market data

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

Build and sign orders

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

Submit orders

POST /orders with your signed order, ownerId (your profile ID from GET /profiles/{address}), orderType, and marketSlug.

Get started

Authentication

API keys, scoped tokens, and how auth works.

Python Quick Start

End-to-end trading in Python.

Node.js Quick Start

TypeScript/Node.js integration with viem.

EIP-712 Signing

How to sign orders for the CLOB.

Building a platform

If you are a partner building a product where other users trade through your platform, this is your path. You manage sub-accounts on behalf of your users and optionally use delegated signing so your users never need to manage private keys.
You must apply for Programmatic API access before you can create sub-accounts or use delegated signing. Individual trading with your own wallet does not require an application.

What you get

CapabilityDescription
Scoped API tokensHMAC-SHA256 authenticated tokens with granular scopes (trading, account_creation, delegated_signing)
Partner sub-accountsCreate and manage user profiles linked to your partner account
Delegated signingSubmit orders without end users managing private keys — the server signs via a managed wallet

Get started

Programmatic API

Full guide: partner lifecycle, sub-accounts, delegated signing, and order types.

Authentication (HMAC)

HMAC signing protocol for partner API tokens.

Migrate from Polymarket

Map Polymarket concepts to Limitless equivalents.

API Reference

Full endpoint documentation.

Official SDKs

All SDKs support both individual trading and partner integrations.

TypeScript SDK

Type-safe client with signing and real-time streaming.

Python SDK

Async client for markets, orders, and partner features.

Go SDK

Typed Go client for CLOB and NegRisk markets.

Rust SDK

Async Rust client for trading, partner flows, and WebSockets.

Additional resources

Venue System

Contract addresses and token approvals.

WebSocket API

Real-time market and orderbook streaming.

Java Quick Start

End-to-end trading in Java.