Skip to main content
This page takes you from zero to real bookmaker prices in three requests. You need nothing but an API key.
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.
Soccer is sportId 10. We use it in the next step.

3. Pick a league

The Premier League is tournamentId 17. The three counters tell you whether a league has events worth requesting right now.

4. Get the odds

One call returns every upcoming event of a league with the odds of one bookmaker. You can pass up to 5 league 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 events. One /v4/odds call returns every market from every bookmaker on your plan for that event. You do not pay per market or per bookmaker.
  • Use history for research. /v4/historical-odds holds 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 event with several bookmakers at once.

Free historical odds

Every price change of an event. 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.