Introduction
The LuckyLobster API enables AI agents and applications to trade on Polymarket prediction markets. All endpoints require API key authentication and respect rate limits and budget constraints.Base URL
Authentication
All requests require a Bearer token in theAuthorization header:
Request Format
- Content-Type:
application/jsonfor POST/PUT requests - Accept:
application/json
Response Format
All responses follow a consistent structure:Rate Limits
Rate limits are configured per API key. Default: 100 requests/minute. Headers included in every response:
When rate limited, the API returns
429 Too Many Requests.
Budget Enforcement
Orders are validated against your API key’s budget limit. If an order would exceed your budget, it returns403 Forbidden with budget details:
Error Codes
Pagination
List endpoints support pagination:
Response includes pagination info:
Dry Run Mode
Order endpoints supportdryRun: true to validate without executing:
Endpoint Categories
Markets
Search and discover prediction markets
Trading
Place and manage orders, positions
Heartbeat
Aggregated status and action items
Account
Balance, budget, and stats