# Limitless Exchange Documentation Index > This is an **enhanced navigation index**. Each entry includes API details extracted from the actual documentation. > Fetch any URL below to get full Markdown with complete specs, code examples, and parameter details. > For all documentation in a single response: /llms-full.txt ## API Reference — Api-tokens - [List Active Tokens](https://routed.docsflow-ai.com/api-reference/api-tokens/list-tokens.md): `GET /auth/api-tokens` — Lists all active (non-revoked) API tokens for the authenticated partner. Requires token management to be enabled for the partner - [Revoke Token](https://routed.docsflow-ai.com/api-reference/api-tokens/revoke-token.md): `DELETE /auth/api-tokens/{tokenId}` — Revokes an active API token. The token becomes immediately unusable. Requires token management to be enabled for the partner — Params: tokenId ## API Reference — AUTH - [Get Active API Key](https://routed.docsflow-ai.com/api-reference/auth/get-api-key.md): `GET /auth/api-keys` — Returns the currently active API key metadata for the authenticated user. Does not return the key value itself - [Create API Key](https://routed.docsflow-ai.com/api-reference/auth/create-api-key.md): `POST /auth/api-keys` — Creates a new API key for programmatic access. Only available for users authenticated via the UI (Privy). Previous active keys are automatically revoked - [User Logout](https://routed.docsflow-ai.com/api-reference/auth/logout.md): `POST /auth/logout` — Logs out the user - [Revoke API Key](https://routed.docsflow-ai.com/api-reference/auth/revoke-api-key.md): `DELETE /auth/api-keys` — Revokes the currently active API key. The key will immediately stop working for authentication ## API Reference — Introduction - [API Reference](https://routed.docsflow-ai.com/api-reference/introduction.md): `GET /markets/:slug`.` — Complete REST API documentation for Limitless Exchange — Params: 2 ## API Reference — Markets - [Browse Active Markets](https://routed.docsflow-ai.com/api-reference/markets/browse-active.md): `GET /markets/active`` — Retrieves markets and groups that are active and not yet resolved, with optional category filtering - [Browse Active Markets by Category](https://routed.docsflow-ai.com/api-reference/markets/browse-active-category.md): `GET /markets/active/{categoryId}` — Retrieves markets and groups that are active and not yet resolved, with optional category filtering — Params: categoryId - [Get Active Market Slugs](https://routed.docsflow-ai.com/api-reference/markets/active-slugs.md): `GET /markets/active/slugs` — Retrieves slugs, strike prices, tickers, and deadlines for all active markets and groups. Group markets are nested under their parent group - [Get Category Counts](https://routed.docsflow-ai.com/api-reference/markets/category-count.md): `GET /markets/categories/count`` — Returns the number of active markets for each category and the total market count — Params: categoryId - [Get Feed Events](https://routed.docsflow-ai.com/api-reference/markets/feed-events.md): `GET /markets/{slug}/get-feed-events` — Retrieves the latest feed events related to a specific market with pagination support — Params: slug - [Get Market Details](https://routed.docsflow-ai.com/api-reference/markets/get-market.md): `GET /markets/{addressOrSlug}` — Retrieves market or group data using either an Ethereum address or a slug identifier — Params: addressOrSlug - [Get Oracle Candlesticks](https://routed.docsflow-ai.com/api-reference/markets/oracle-candles.md): `GET /markets/{addressOrSlug}/oracle-candles` — Returns Chainlink candlestick data for markets configured with Chainlink Data Streams chart metadata. Useful for charting the underlying oracle price alongside prediction market prices — Params: addressOrSlug - [Market Timeline](https://routed.docsflow-ai.com/api-reference/markets/timeline.md): `GET /markets/{slug}/timeline`` — Look ahead to upcoming slots of a recurring market (e.g. 5-minute crypto) before they open — Params: before, after, symbol, frequency, subFrequency, slug, null ## API Reference — Navigation - [Get Market Page by Path](https://routed.docsflow-ai.com/api-reference/navigation/get-page-by-path.md): `GET /market-pages/by-path` — Resolves a URL path to a market page with its configuration, filters, and breadcrumb - [Get Navigation Tree](https://routed.docsflow-ai.com/api-reference/navigation/get-navigation.md): `GET /navigation` — Returns the hierarchical navigation structure for market pages - [Get Property Key](https://routed.docsflow-ai.com/api-reference/navigation/get-property-key.md): `GET /property-keys/{id}` — Returns a specific property key with its options — Params: id - [List Markets for a Page](https://routed.docsflow-ai.com/api-reference/navigation/list-page-markets.md): `GET /market-pages/{id}/markets` — Returns paginated list of markets for a specific market page with filtering and sorting — Params: id - [List Property Keys](https://routed.docsflow-ai.com/api-reference/navigation/list-property-keys.md): `GET /property-keys` — Returns all property keys with their options, sorted by slug - [List Property Options](https://routed.docsflow-ai.com/api-reference/navigation/list-property-options.md): `GET /property-keys/{id}/options` — Returns options for a specific property key, optionally filtered by parent option — Params: id ## API Reference — Partner-accounts - [Check Partner Account Allowances](https://routed.docsflow-ai.com/api-reference/partner-accounts/check-allowances.md): `GET /profiles/partner-accounts/:profileId/allowances`` — Checks delegated-trading allowance readiness for a partner-created server-wallet sub-account. Requires HMAC authentication with `account_creation` and `delegated_signing` scopes. Status is based on live chain reads — Params: null, profileId - [Create Partner Sub-Account](https://routed.docsflow-ai.com/api-reference/partner-accounts/create-partner-account.md): `GET /auth/signing-message`` — Creates a new sub-account linked to the authenticated partner. Requires HMAC authentication with the `account_creation` scope — Params: null, API_BASE_URL — Headers: x-account, x-signing-message, x-signature - [List Partner Sub-Accounts](https://routed.docsflow-ai.com/api-reference/partner-accounts/list-partner-accounts.md): `GET /profiles/partner-accounts` — Lists partner-owned sub-accounts created under the authenticated partner profile, or recovers a specific sub-account by account address. Requires HMAC authentication with the `account_creation` scope. Do not send `x-on-behalf-of`; results are always scoped to the authenticated partner — Params: account, limit, page, null - [Retry Partner Account Allowances](https://routed.docsflow-ai.com/api-reference/partner-accounts/retry-allowances.md): `POST /profiles/partner-accounts/:profileId/allowances/retry`` — Retries delegated-trading allowance recovery for a partner-created server-wallet sub-account. The retry takes a short wallet lock, re-checks live chain state, and submits only targets still missing. A `submitted` target means this retry request submitted a sponsored transaction or user operation — Params: null, profileId — Headers: Content-Type ## API Reference — Portfolio - [Get Current Profile](https://routed.docsflow-ai.com/api-reference/portfolio/get-current-profile.md): `GET /profiles/{account}`` — Retrieve the authenticated caller's private profile without passing an address. Returns the same private profile shape as `GET /profiles/{account}`, including internal profile ID and fee rate — Params: account - [Get History](https://routed.docsflow-ai.com/api-reference/portfolio/history.md): `GET /portfolio/history` — Paginated history including AMM, CLOB trades, splits/merges, NegRisk conversions. Partner API tokens with `delegated_signing` scope may read a sub-account by sending the `x-on-behalf-of: ` header — Headers: x-on-behalf-of - [Get PnL Chart](https://routed.docsflow-ai.com/api-reference/portfolio/pnl-chart.md): `GET /portfolio/pnl-chart` — Hybrid PnL: realised series + current total snapshot - [Get Positions](https://routed.docsflow-ai.com/api-reference/portfolio/positions.md): `GET /portfolio/positions` — Retrieve all active positions with P&L calculations and market values - [Get Trades](https://routed.docsflow-ai.com/api-reference/portfolio/trades.md): `GET /portfolio/trades` — Retrieve all AMM trades executed by the authenticated user - [Get Trading Allowance](https://routed.docsflow-ai.com/api-reference/portfolio/allowance.md): `GET /portfolio/trading/allowance` — Check USDC allowance for CLOB or NegRisk trading contracts - [Get Your Profile](https://routed.docsflow-ai.com/api-reference/portfolio/get-profile.md): `GET /profiles/me`.` — Retrieve the authenticated user's profile by address, including their internal user ID and fee rate. This is useful for API users who need their `feeRateBps` (for order signing) or numeric `id` (used as `ownerId` in other flows). You can only access your own profile — requesting another user's addre… — Params: account ## API Reference — Public-portfolio - [Get PnL Chart (Public)](https://routed.docsflow-ai.com/api-reference/public-portfolio/pnl-chart.md): `GET /portfolio/{account}/pnl-chart` — Hybrid PnL: realised series + current total snapshot — Params: account - [Get User Positions (Public)](https://routed.docsflow-ai.com/api-reference/public-portfolio/positions.md): `GET /portfolio/{account}/positions` — Retrieve all positions for a specific user address — Params: account - [Get User Traded Volume](https://routed.docsflow-ai.com/api-reference/public-portfolio/traded-volume.md): `GET /portfolio/{account}/traded-volume` — Get total traded volume for a specific user. Returns combined CLOB and AMM volume (both taker and maker sides) in whole USDC. This is the all-time cumulative trading volume, not the current portfolio value — Params: account ## API Reference — System - [Maintenance Status](https://routed.docsflow-ai.com/api-reference/system/maintenance-status.md): `GET /maintenance/status` — Returns active and scheduled maintenance information. Use this endpoint to detect temporary trading restrictions and planned maintenance notices ## API Reference — Trading - [Get Historical Prices](https://routed.docsflow-ai.com/api-reference/trading/historical-price.md): `GET /markets/{slug}/historical-price` — Retrieve historical price data for a specific market with configurable time intervals — Params: slug - [Get Locked Balance](https://routed.docsflow-ai.com/api-reference/trading/locked-balance.md): `GET /markets/{slug}/locked-balance` — Get the amount of funds locked in open orders for the authenticated user — Params: slug - [Get Market Events](https://routed.docsflow-ai.com/api-reference/trading/market-events.md): `GET /markets/{slug}/events` — Get recent events for a specific market including trades, orders, and liquidity changes — Params: slug - [Get Orderbook](https://routed.docsflow-ai.com/api-reference/trading/orderbook.md): `GET /markets/{slug}/orderbook` — Retrieve the current orderbook for a market showing all open buy and sell orders — Params: null, slug - [Batch Cancel Orders (Combined)](https://routed.docsflow-ai.com/api-reference/trading/batch-cancel.md): `POST /orders/cancel-batch`` — Cancel open orders by either internal orderIds or client-provided clientOrderIds - [Create Order](https://routed.docsflow-ai.com/api-reference/trading/create-order.md): `POST /orders`` — Creates a buy/sell order for prediction market positions. Requires signed order data — Params: null, address, 40, 2 - [Get Order Status (Batch)](https://routed.docsflow-ai.com/api-reference/trading/order-status-batch.md): `POST /orders/status/batch` — Fetches historical order statuses for multiple orders by internal order IDs and/or client-provided order IDs. Returns execution details, settlement status, and maker match data for each order — Params: 2 - [Cancel Order](https://routed.docsflow-ai.com/api-reference/trading/cancel-order.md): `DELETE /orders/{orderId}` — Cancel an open order and return locked funds — Params: orderId - [Cancel Order (Combined)](https://routed.docsflow-ai.com/api-reference/trading/cancel.md): `DELETE /orders/{orderId}`` — Cancel one open order by either internal orderId or client-provided clientOrderId — Params: onBehalfOf, orderId ## Authentication & Setup - [Derive Scoped Token](https://routed.docsflow-ai.com/api-reference/api-tokens/derive-token.md): `POST /auth/api-tokens/derive` — Creates a new scoped API token for the authenticated partner. Requires Privy authentication (Bearer token). The token secret is returned once at creation — store it securely. Requested scopes must be a subset of the partner's allowed scopes - [Get Partner Capabilities](https://routed.docsflow-ai.com/api-reference/api-tokens/get-capabilities.md): `GET /auth/api-tokens/capabilities` — Returns the partner capability configuration for the authenticated user, including whether token management is enabled and which scopes are allowed for self-service token derivation. Requires Privy authentication (Bearer token) ## Other - [Get User Orders](https://routed.docsflow-ai.com/api-reference/trading/user-orders.md): Get all orders placed by the authenticated user for a specific market - [Authentication](https://routed.docsflow-ai.com/developers/authentication.md): Scoped token authentication for the Limitless Exchange API - [Build a trading agent](https://routed.docsflow-ai.com/developers/build-a-trading-agent.md): Open-source TypeScript template for autonomous trading agents on Limitless — fork it, configure a strategy, and ship a bot in minutes - [Cross-market market making](https://routed.docsflow-ai.com/developers/cross-market-market-making.md): Quote a market on Limitless and hedge your fills on Polymarket to stay delta-neutral — a runnable, open-source market-making skill - [EIP-712 Order Signing](https://routed.docsflow-ai.com/developers/eip712-signing.md): How to sign orders using EIP-712 structured data - [For Developers](https://routed.docsflow-ai.com/developers/introduction.md): REST and WebSocket APIs for programmatic trading on Limitless - [Maintenance Mode](https://routed.docsflow-ai.com/developers/maintenance-mode.md): How integrations should handle temporary trading restrictions and maintenance notices - [Migrate from Polymarket](https://routed.docsflow-ai.com/developers/migrate-from-polymarket.md): Map Polymarket concepts, endpoints, and agent code to the Limitless API - [Programmatic API](https://routed.docsflow-ai.com/developers/programmatic-api.md): Partner integrations with scoped API tokens, sub-account management, and delegated signing - [Node.js / TypeScript Quick Start](https://routed.docsflow-ai.com/developers/quickstart/nodejs.md): End-to-end TypeScript implementation with viem for trading on Limitless Exchange - [Python Quick Start](https://routed.docsflow-ai.com/developers/quickstart/python.md): End-to-end Python implementation for trading on Limitless Exchange - [WebSocket Integration](https://routed.docsflow-ai.com/developers/quickstart/websocket.md): Real-time market data and position updates using Python WebSocket client - [API Tokens](https://routed.docsflow-ai.com/developers/sdk/go/api-tokens.md): Manage scoped API tokens with the Go SDK - [Delegated Orders](https://routed.docsflow-ai.com/developers/sdk/go/delegated-orders.md): Place orders on behalf of sub-accounts with the Go SDK - [Error Handling & Retry](https://routed.docsflow-ai.com/developers/sdk/go/error-handling.md): Retry logic and error handling with the Go SDK - [Go SDK](https://routed.docsflow-ai.com/developers/sdk/go/getting-started.md): Official Go SDK for the Limitless Exchange API - [Market Pages](https://routed.docsflow-ai.com/developers/sdk/go/market-pages.md): Navigate and filter markets with the Go SDK - [Markets](https://routed.docsflow-ai.com/developers/sdk/go/markets.md): Market discovery and orderbook data with the Go SDK - [Trading & Orders](https://routed.docsflow-ai.com/developers/sdk/go/orders.md): Create and manage orders with the Go SDK - [Partner Accounts](https://routed.docsflow-ai.com/developers/sdk/go/partner-accounts.md): Create and manage sub-accounts with the Go SDK - [Portfolio & Positions](https://routed.docsflow-ai.com/developers/sdk/go/portfolio.md): Track positions and history with the Go SDK - [WebSocket Streaming](https://routed.docsflow-ai.com/developers/sdk/go/websocket.md): Real-time market data and position updates with the Go SDK - [API Tokens](https://routed.docsflow-ai.com/developers/sdk/python/api-tokens.md): Manage scoped API tokens with the Python SDK - [Delegated Orders](https://routed.docsflow-ai.com/developers/sdk/python/delegated-orders.md): Place orders on behalf of sub-accounts with the Python SDK - [Error Handling & Retry](https://routed.docsflow-ai.com/developers/sdk/python/error-handling.md): Retry logic and error handling with the Python SDK - [Python SDK](https://routed.docsflow-ai.com/developers/sdk/python/getting-started.md): Official async Python SDK for the Limitless Exchange API - [Market Pages](https://routed.docsflow-ai.com/developers/sdk/python/market-pages.md): Navigate and filter markets with the Python SDK - [Markets](https://routed.docsflow-ai.com/developers/sdk/python/markets.md): Market discovery and orderbook data with the Python SDK - [Trading & Orders](https://routed.docsflow-ai.com/developers/sdk/python/orders.md): Create and manage orders with the Python SDK - [Partner Accounts](https://routed.docsflow-ai.com/developers/sdk/python/partner-accounts.md): Create and manage sub-accounts with the Python SDK - [Portfolio & Positions](https://routed.docsflow-ai.com/developers/sdk/python/portfolio.md): Track positions and history with the Python SDK - [WebSocket Streaming](https://routed.docsflow-ai.com/developers/sdk/python/websocket.md): Real-time orderbook updates with the Python SDK - [API Tokens](https://routed.docsflow-ai.com/developers/sdk/rust/api-tokens.md): Manage scoped API tokens with the Rust SDK - [Delegated Orders](https://routed.docsflow-ai.com/developers/sdk/rust/delegated-orders.md): Place orders on behalf of sub-accounts with the Rust SDK - [Error Handling](https://routed.docsflow-ai.com/developers/sdk/rust/error-handling.md): Retry logic and error handling with the Rust SDK - [Rust SDK](https://routed.docsflow-ai.com/developers/sdk/rust/getting-started.md): Official Rust SDK for the Limitless Exchange API - [Market Pages](https://routed.docsflow-ai.com/developers/sdk/rust/market-pages.md): Navigate and filter markets with the Rust SDK - [Markets](https://routed.docsflow-ai.com/developers/sdk/rust/markets.md): Market discovery and orderbook data with the Rust SDK - [Trading & Orders](https://routed.docsflow-ai.com/developers/sdk/rust/orders.md): Create and manage orders with the Rust SDK - [Partner Accounts](https://routed.docsflow-ai.com/developers/sdk/rust/partner-accounts.md): Create and manage sub-accounts with the Rust SDK - [Portfolio & Positions](https://routed.docsflow-ai.com/developers/sdk/rust/portfolio.md): Track positions and history with the Rust SDK - [WebSocket](https://routed.docsflow-ai.com/developers/sdk/rust/websocket.md): Real-time market data and position updates with the Rust SDK - [API Tokens](https://routed.docsflow-ai.com/developers/sdk/typescript/api-tokens.md): Manage scoped API tokens with the TypeScript SDK - [Delegated Orders](https://routed.docsflow-ai.com/developers/sdk/typescript/delegated-orders.md): Place orders on behalf of sub-accounts with the TypeScript SDK - [Error Handling & Retry](https://routed.docsflow-ai.com/developers/sdk/typescript/error-handling.md): Retry logic and error handling with the TypeScript SDK - [TypeScript SDK](https://routed.docsflow-ai.com/developers/sdk/typescript/getting-started.md): Official TypeScript SDK for the Limitless Exchange API - [Market Pages](https://routed.docsflow-ai.com/developers/sdk/typescript/market-pages.md): Navigate and filter markets with the TypeScript SDK - [Markets](https://routed.docsflow-ai.com/developers/sdk/typescript/markets.md): Market discovery and orderbook data with the TypeScript SDK - [Trading & Orders](https://routed.docsflow-ai.com/developers/sdk/typescript/orders.md): Create and manage orders with the TypeScript SDK - [Partner Accounts](https://routed.docsflow-ai.com/developers/sdk/typescript/partner-accounts.md): Create and manage sub-accounts with the TypeScript SDK - [Portfolio & Positions](https://routed.docsflow-ai.com/developers/sdk/typescript/portfolio.md): Track positions and history with the TypeScript SDK - [WebSocket Streaming](https://routed.docsflow-ai.com/developers/sdk/typescript/websocket.md): Real-time market data and position updates with the TypeScript SDK - [Venue System](https://routed.docsflow-ai.com/developers/venue-system.md): Understanding the venue system for CLOB market trading - [WebSocket Events](https://routed.docsflow-ai.com/developers/websocket-events.md): Real-time event reference for the Limitless WebSocket API - [Introduction](https://routed.docsflow-ai.com/index.md): Limitless Exchange — the leading prediction market on Base - [Analytics](https://routed.docsflow-ai.com/user-guide/analytics.md): Explore Limitless Exchange metrics on Dune - [CLOB Overview](https://routed.docsflow-ai.com/user-guide/clob-overview.md): How the Limitless Central Limit Order Book works - [Converting Shares](https://routed.docsflow-ai.com/user-guide/converting-shares.md): Swap between outcomes in Negrisk markets - [Fees](https://routed.docsflow-ai.com/user-guide/fees.md): How trading fees work on Limitless Exchange - [Limit Orders](https://routed.docsflow-ai.com/user-guide/limit-orders.md): Set your own price and earn LP rewards - [LP Rewards](https://routed.docsflow-ai.com/user-guide/lp-rewards.md): Earn rewards for providing liquidity with limit orders - [Maker rebates](https://routed.docsflow-ai.com/user-guide/maker-rebates.md): Earn daily USDC rewards for providing maker liquidity - [Making Your First Trade](https://routed.docsflow-ai.com/user-guide/making-your-first-trade.md): A step-by-step guide to placing your first trade on Limitless Exchange - [Managing Orders](https://routed.docsflow-ai.com/user-guide/managing-orders.md): View and cancel your open orders - [Market Orders](https://routed.docsflow-ai.com/user-guide/market-orders.md): Instant execution at the best available price - [Market Resolution](https://routed.docsflow-ai.com/user-guide/market-resolution.md): How markets are resolved on Limitless Exchange - [Merging & Splitting Shares](https://routed.docsflow-ai.com/user-guide/merge-split.md): Convert between collateral and outcome share pairs - [Negrisk / Category Markets](https://routed.docsflow-ai.com/user-guide/negrisk-overview.md): Multi-outcome markets where only one result can win - [Packs](https://routed.docsflow-ai.com/user-guide/packs.md): Bundle multiple market predictions into one offer with a higher multiplier - [Privacy Policy](https://routed.docsflow-ai.com/user-guide/privacy-policy.md): Limitless Exchange Privacy Policy - [Refund Policy](https://routed.docsflow-ai.com/user-guide/refund-policy.md): Limitless Exchange refund policy for misresolved markets - [Security](https://routed.docsflow-ai.com/user-guide/security.md): Smart contract architecture and security audits for Limitless Core - [Smart Contracts](https://routed.docsflow-ai.com/user-guide/smart-contracts.md): Onchain contract addresses for Limitless Exchange on Base - [Terms of Service](https://routed.docsflow-ai.com/user-guide/terms-of-service.md): Limitless Exchange Terms of Service - [User-generated markets](https://routed.docsflow-ai.com/user-guide/user-generated-markets.md): Markets created by users and how the creator fee works - [Wallet Types](https://routed.docsflow-ai.com/user-guide/wallet-types.md): Overview of the three wallet types supported on Limitless Exchange - [What is Limitless?](https://routed.docsflow-ai.com/user-guide/what-is-limitless.md): An overview of Limitless Exchange and how prediction markets work --- Enhanced by DocsFlow. 124 pages indexed, 47 enriched. Last updated: 2026-07-17T21:42:53.252Z.