Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

User Questions

Real questions and issues from developers using the Limitless Exchange API.

Auth Update: Some code examples in these documents use cookie-based authentication which is deprecated. Replace cookies={"limitless_session": ...} or Cookie: limitless_session=... with API key authentication: headers={"X-API-Key": "lmts_your_key_here"} or X-API-Key: lmts_your_key_here. See Authentication Guide.

Questions Index

Issue Description
Claiming Rewards After Market Close How to redeem winning positions via smart contract after a market resolves
WebSocket Positions Subscription How to subscribe to positions via WebSocket in TypeScript
Historical Data for Backtesting How to access historical price data for backtesting trading strategies
Tracking LP Rewards How to check if you're earning LP rewards and how much
Automating Market Search by Category How to fetch market data from an API for analysis (e.g., which markets have ended) instead of manually copying or using spreadsheets
Finding Markets by Name or Characteristics How to find a market slug by name (e.g., "1hr BTC") using search, filtering, or browsing
Portfolio History and Wallet Types Does /portfolio/history work with smart wallets or only EOA wallets?
Smart Wallet Signer Mismatch "Signer does not match with correct address" error
Smart Wallet Signature Type Signature errors when using smart wallet with wrong signatureType
Enable API Trading on New Account New account/address can't trade via API — setup checklist, USDC allowance guide, common misconceptions, and working Python EIP-712 example
Signature Verification Failed Order signature errors and debugging
FOK Orders: USD vs Contracts FOK orders are USD-denominated, not contract-denominated — how this differs from other platforms
Order Not Filling Order accepted but no trade executes
Invalid Token ID Token ID or position not found errors

Quick Diagnosis

New account can't trade via API?

Follow the Enable API Trading on New Account checklist — you likely need USDC on Base, token approvals, and correct EIP-712 signing.

USDC allowance / approval not working?

Your USDC address is probably wrong. The correct USDC on Base is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. There is no "deposit" or "collateral/allowance" endpoint — it's a standard ERC-20 approve(). See the Common Misconceptions section.

Getting a 400 error?

Error Message Likely Cause Solution
"Signer does not match" Smart wallet mismatch See guide
"Invalid signature" Wrong verifyingContract See guide
"Invalid signature" (with correct verifyingContract) Wrong signatureType for smart wallet See guide
"Invalid token ID" Wrong positionId See guide
"Invalid price" Price outside 0.01-0.99 Check your price calculation

Order submitted but nothing happened?

Your GTC order is probably waiting for a match. See guide

Contributing

Have a question that's not covered? Open an issue or PR to add it!

Related Documentation