Skip to main content

Base URL

All API requests should be made to:

Authentication

The poly-data API is currently open access — no authentication required.

Rate Limits

To ensure fair usage, the API enforces rate limits per IP address: Rate limit headers are included in every response: When you exceed the rate limit, you’ll receive a 429 Too Many Requests response.

Pagination

The API supports two pagination methods on most list endpoints. Use the next object returned in responses for efficient pagination through large datasets. Each endpoint uses different cursor fields depending on its sort order.

Offset-based

Traditional offset pagination is available but less efficient for large datasets:
Cursor-based and offset-based pagination are mutually exclusive. If offset is provided, cursor parameters are ignored.

Response Format

All responses are JSON. Successful list responses include the data array and pagination info. Errors follow this format:

HTTP Status Codes

Caching

Responses are cached briefly server-side to improve performance:

Endpoints Overview

Events

Search and list prediction market events.

Markets

Get market details and token information.

Orderbooks

Access historical orderbook snapshots.

Statistics

Database size and system statistics.

Health Check

Verify the API is operational:
Response: