These steps use 3 requests of your monthly allowance. The free plan includes 250 requests per month across all sports and bookmakers. A request is one call, however many markets and bookmakers come back.
1. Get your API key
Create a free account, then copy your key from your account settings. Store it in an environment variable so it stays out of your code:2. Find a sport
Every request needs IDs, so start by listing the sports.sportId 10. We use it in the next step.
3. Pick a tournament
tournamentId 17. The three counters tell you whether a tournament has fixtures worth requesting right now.
4. Get the odds
One call returns every upcoming fixture of a tournament with the odds of one bookmaker. You can pass up to 5 tournament IDs, separated by commas.The examples use
bookmaker=pinnacle%2B30. Replace it with a bookmaker slug your plan includes: GET /v4/account lists them. On self-serve plans Pinnacle is pinnacle+30, sent URL-encoded as pinnacle%2B30.5. Read a price
The odds response is nested, and the path to one price is always the same:Making the free plan go far
- Ask for whole fixtures. One
/v4/oddscall returns every market from every bookmaker on your plan for that fixture. You do not pay per market or per bookmaker. - Use history for research.
/v4/historical-oddsholds every price change and never uses your quota, so backtests are free. - Cache the reference data. Sports, bookmakers, markets and languages rarely change. Fetch them once and store them. See what counts as a request.
- The free plan is not slowed down. You get the same prices at the same speed as a paid plan.
What to do next
Compare bookmakers
/v4/odds returns one fixture with several bookmakers at once.Free historical odds
Every price change of a fixture. Does not use your quota.
Make 250 requests last
What counts as a request and how to spend fewer.
WebSocket (v5)
v4 is REST. How to poll well, and where the WebSocket lives.
Common first-day problems
The full list is on the Errors page.