Skip to main content

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 the Authorization header:
See Authentication for details on creating and managing API keys.

Request Format

  • Content-Type: application/json for 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 returns 403 Forbidden with budget details:

Error Codes

Pagination

List endpoints support pagination: Response includes pagination info:

Dry Run Mode

Order endpoints support dryRun: true to validate without executing:
Dry run responses include validation details:

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

SDKs & Libraries

Currently, the LuckyLobster API is accessed directly via HTTP. SDKs for popular languages are coming soon.
For AI agents, point to our skill.md at https://luckylobster.io/skill.md for automatic integration.