Skip to main content

1. Get Your API Key

Sign up for free at dashboard.predexon.com — no credit card required.

2. Make Your First Request

1

Set up your environment

All API requests go to https://api.predexon.com with your API key in the x-api-key header.
export PREDEXON_API_KEY="your_api_key"
2

Fetch top markets

Get the highest-volume open markets on Polymarket:
curl -H "x-api-key: $PREDEXON_API_KEY" \
  "https://api.predexon.com/v2/polymarket/markets?status=open&sort=volume&limit=5"
3

Explore the response

{
  "markets": [
    {
      "condition_id": "0x1234...",
      "market_slug": "will-donald-trump-win-the-2024-us-presidential-election",
      "title": "Will Trump win the 2024 election?",
      "status": "open",
      "outcomes": [
        {"label": "Yes", "token_id": "123...", "price": 0.62},
        {"label": "No", "token_id": "456...", "price": 0.38}
      ],
      "total_volume_usd": 1500000000,
      "liquidity_usd": 25000000
    }
  ],
  "pagination": { "limit": 5, "offset": 0, "total": 1234, "has_more": true }
}

3. Try More Endpoints

Fetch OHLCV candlestick data for charting:
response = requests.get(
    f"{BASE_URL}/v2/polymarket/candlesticks/{condition_id}",
    headers=HEADERS,
    params={"interval": 60, "start_time": 1704067200, "end_time": 1704153600}
)

Plans & Rate Limits

Most data is free. Core market data, trades, orderbooks, and pricing endpoints are free and unlimited on all plans.
TierRate LimitMonthly RequestsPrice
Free1 req/sec1,000$0/month
Dev20 req/sec1,000,000$49/month
Pro100 req/sec5,000,000$249/month
EnterpriseCustomUnlimited$499+/month
Free tier excludes smart wallet, market matching, and WebSocket. See predexon.com/pricing for details.

Error Handling

CodeDescription
200Success
400Bad request — check your parameters
403Invalid or missing API key
429Rate limit exceeded — implement exponential backoff
500Internal server error
{
  "error": "Invalid filter combination",
  "message": "Only one of market_slug, token_id, or condition_id can be provided"
}

Next Steps

API Reference

Explore all endpoints with interactive playground.

WebSocket

Stream real-time events.

Trading API

Place orders programmatically.