Skip to main content
This guide walks through account setup, API key creation, discovery, and a historical books request on the hosted API.

Prerequisites

  • A PolyOrderbooks account (free Starter tier)
  • curl or any HTTP client
  • Familiarity with ISO-8601 UTC timestamps

1. Create an account and API key

1

Sign up

Register at polyorderbooks.com/signup with email/password or Google.
2

Verify email

Password sign-ups must confirm email via the link we send. Google sign-ups are verified automatically.
3

Create a key

Open the dashboardAPI keysCreate key. Copy the secret immediately — it is shown only once.
Export your key:
All data requests use:
You may also send Authorization: Bearer pob_…. Dashboard session tokens from login do not work on data routes. See Authentication for security guidance.

2. Confirm your API key

After creating a key, confirm it works and review your plan quota:
Example response:

3. Search the catalog

Save a slug from the response for the next step.

4. Fetch order book history

Replace MARKET_SLUG with a value from step 3. On Starter, the finest resolution is 60s and history is limited to the last 7 days:
The response groups book snapshots by outcome label (Yes, No, etc.) with timestamps in UTC.

5. Paginate long ranges

When metadata.next_cursor is present, pass it on the next request (keep the same start_ts, end_ts, and resolution):
See Pagination for discovery list cursors.

Python example

Next steps

Plans & limits

Starter, Pro, Scale, and Enterprise capabilities.

Discovery filters

Tags, date ranges, sorting, and market detail.

Historical data

Metrics, books, resolutions, and token-level endpoints.

Rate limits

Quotas, 429 handling, and efficient bulk access.