Quickstart
Your first odds in three requests, with curl, Python and JavaScript.
Requests & quota
One call is one request. See what counts and what is free.
Errors
Every error code, what caused it and how to fix it.
v4 or v5?
When the self-serve API is enough and when to move to the enterprise API.
What you can build with v4
- Odds comparison and line shopping: the same market from many bookmakers in one response shape. Tutorial: odds comparison dashboard in Python.
- Models and backtests: historical odds are free and never use your quota.
- Bots and alerts: poll the events you care about and react to price changes. Tutorial: arbitrage bot in Python.
- Bet tracking: scores and settlements tell you how a selection ended.
The same on every plan
- Same data, same speed. A free key gets the same prices as a paid key, collected at the same speed. Plans differ in the request quota and in the bookmakers, sports and options they include.
- One call is one request. No credits and no multipliers. One odds call returns every market from every bookmaker on your plan for an event, and still counts as one.
- Two timestamps on every price. The bookmaker’s own time and ours, so you can measure the delay yourself.
- Delay published per bookmaker. We list how long each bookmaker takes to reach the API, and mark which figures are measured. See the bookmakers page.
- A flag for stale odds.
bookmakerIsActivetells you when a bookmaker cannot be refreshed, instead of leaving you to guess from old timestamps. - Free price history. Historical odds hold every recorded price change, not snapshots at fixed intervals, and do not use your quota.
- Fixed IDs. A market or outcome ID means the same on every bookmaker. See the markets overview.
What’s in the API
Which sports, bookmakers, live odds and player props you can request depends on your plan.
/v4/account shows exactly what your key includes.
The basics
Host. Every request goes tohttps://api.oddspapi.io.
Authentication. Add your key as the apiKey query parameter on every request:
3f8a1c2e-9b47-4d6a-8e15-7c2b9d04a6f1. Find it in your account settings. Keep it on your server: anyone who has the key can spend your requests. If it leaks, refresh it.
Format. Responses are JSON. Times are ISO 8601 in UTC.
Limits. Your plan has a monthly request allowance, and each endpoint has a short minimum wait between two calls. See Requests & quota and rate limits.
v4 and v5 in one minute
OddsPapi has two APIs with separate docs. You are in the v4 docs.
- v4 (these docs): self-serve REST API at
api.oddspapi.io/v4. Free plan, pay-as-you-grow plans, built for individual developers and small teams. - v5: enterprise API at
v5.oddspapi.iowith WebSocket streaming, documented at docs.oddspapi.io. Access is arranged with our team.
Need help?
- Read the FAQ: the questions we get most, including 429 errors, 403 errors and data freshness.
- Ask in our Discord community.
- Email contact@55-tech.com. Include the request URL (without your key) and the full error body.