Get your free API key at dashboard.predexon.com to unlock higher rate limits and try all endpoints interactively.
Overview
The Predexon API provides RESTful endpoints for accessing prediction market data. All endpoints return JSON responses and use standard HTTP methods.Base URL
API Versions
All endpoints are versioned under/v1/. Future versions will be introduced as /v2/, etc.
Endpoint Categories
Polymarket
Markets, prices, candlesticks, orderbooks, trades, wallet positions, and P&L.
Cross-Platform Matching
Find equivalent markets across Polymarket and Kalshi.
Kalshi endpoints coming soon. Currently, Kalshi data is available through the cross-platform matching API.
Common Parameters
Pagination
Most list endpoints support two pagination methods:Offset-based Pagination
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20-100 | Number of items to return |
offset | integer | 0 | Number of items to skip |
Key-based Pagination
For large datasets or real-time data, use cursor/key-based pagination for better performance:| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of items to return |
cursor | string | Pagination cursor from previous response |
next_cursor as the cursor parameter in subsequent requests to fetch the next page.
Time Parameters
Time-based endpoints accept Unix timestamps in seconds:| Parameter | Type | Description |
|---|---|---|
start_time | integer | Start of time range (Unix timestamp) |
end_time | integer | End of time range (Unix timestamp) |
Some endpoints (like orderbooks) use milliseconds. Check individual endpoint documentation.
Sorting
Endpoints with sortable results accept:| Parameter | Type | Description |
|---|---|---|
sort | string | Field to sort by |
order | string | asc or desc |
Response Format
Success Responses
All successful responses return HTTP 200 with JSON body:Error Responses
Errors return appropriate HTTP status codes with a JSON body:| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 403 | Forbidden - Invalid or missing API key |
| 404 | Not Found - Resource doesn’t exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
| 503 | Service Unavailable - Database issue |
Health Check
Verify API availability:OpenAPI Specification
The complete OpenAPI 3.0 specification is available for generating client SDKs:OpenAPI Specification
Download the OpenAPI JSON specification
Rate Limits
| Tier | Rate | Quota |
|---|---|---|
| Free | 1 req/sec | 100k/month |
| Pro | 20 req/sec (40 burst) | Unlimited |
