How do I get Premier League odds from every sportsbook with the results?
A day of matches with each sportsbook's three-way moneyline, goal handicap and total, opening and closing, next to the result.
Code verified November 18, 2026. One call to get_odds, 5 credits.
The call
date is UTC. Use game_id for one match instead of a day.
import requests
import pandas as pd
API_KEY = "YOUR_API_KEY"
resp = requests.post(
"https://mcp.strikerapi.com/v1/get_odds",
headers={"x-api-key": API_KEY},
json={
"date": "2026-05-24",
},
timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]
rows = []
for g in data["games"]:
for b in g["books"]:
p = b["close_prob"]
if not p:
continue
rows.append({
"match": g["home"]["abbrev"] + " v " + g["away"]["abbrev"],
"book": b["provider"],
"result": g["result"],
"p_home": p["home"], "p_draw": p["draw"], "p_away": p["away"],
"total_close": b["total_close"],
"goals": g["home"]["score"] + g["away"]["score"],
})
df = pd.DataFrame(rows)
key = {"H": "p_home", "D": "p_draw", "A": "p_away"}
df["p_result"] = [r[key[r["result"]]] for _, r in df.iterrows()]
print(df[["match", "book", "result", "p_result", "total_close", "goals"]].head(10))
print(df.groupby("book")["p_result"].mean().round(3))
Replace YOUR_API_KEY with a key from your dashboard. Python needs requests and pandas (pip install requests pandas). JavaScript runs on Node 18 or newer, or in the browser.
Or use the official client: pip install strikerapi
What comes back
The data object of the response, trimmed to the first rows. Every field is real output from the run above.
{
"games": [
{
"game_id": "740966",
"date": "2026-05-24",
"status": "final",
"home": {
"team_id": "331",
"abbrev": "BHA",
"name": "Brighton & Hove Albion",
"score": 0
},
"away": {
"team_id": "360",
"abbrev": "MAN",
"name": "Manchester United",
"score": 3
},
"result": "A",
"books": [
{
"provider": "888sport",
"source": "archive",
"home_ml_open": -105,
"home_ml_close": -118,
"draw_ml_open": 275,
"draw_ml_close": 300,
"away_ml_open": 230,
"away_ml_close": 240,
"close_prob": {
"home": 0.499,
"draw": 0.23,
"away": 0.271,
"overround": 0.085
},
"home_handicap_open": null,
"home_handicap_close": null,
"handicap_home_odds": null,
"handicap_away_odds": null,
"total_open": null,
"total_close": null,
"over_odds": null,
"under_odds": null,
"captured_at": "2026-05-24T14:50:37.000Z"
},
"...1 more"
],
"outcome": {
"result": "A",
"median_total": 3.25,
"median_home_handicap": -0.5,
"over": false,
"home_covered": false
}
},
"...9 more"
],
"count": 138
}What to do next
- get_line_movement (10 credits). Snapshots of a match's line before kick-off.
- get_schedule (2 credits). Upcoming fixtures with the median three-way line.
The data this uses
Every row above comes from Premier League historical odds and Anytime goalscorer prices by sportsbook. Home, draw and away moneylines, goal handicaps and totals from each sportsbook reported with the match, from 2017-18, with the result attached. REST or MCP.
More guides
The same guide for other sports
- PuckAPI: How do I get NHL opening and closing odds by sportsbook in Python?
- EndzoneAPI: How do I backtest NFL closing lines in Python?
- FighterAPI: How do I compare UFC closing odds with fight results in Python?
- DunkAPI: How do I backtest NBA closing lines in Python?
- AcesAPI: How do I compare ATP closing odds with the result and Elo in Python?
- BirdieAPI: How do I turn golf major winner odds into probabilities in Python?
- FastballAPI: How do I backtest MLB closing moneylines and run totals in Python?
- YorkerAPI: How do I get historical cricket odds in Python?
The latest lines from every book are on the odds board. Rather ask Claude? 19 free Claude skills call these endpoints for you.
Start with 500 free credits every month
No card. REST or MCP.