Guides
Soccer data, one question at a time
Working Python, JavaScript and cURL for common soccer data questions, each run against the live API with the real response shown.
How do I make a Premier League xG shot map in Python?
Every located shot a club took in a season, with player, outcome, body part, expected goals and pitch coordinates, plus totals by zone.
get_shot_map · 10 credits
How do I build a Premier League expected goals table in pandas?
Per-match goals, expected goals, shots, possession and passing for all 20 clubs, for or against, in one call.
get_team_stats · 5 credits
Where can I get football Elo ratings by club in Python?
Our Elo rating for every club, ranked, as of any date you pass, with the method written out in the response.
get_ratings · 2 credits
Who leads the Premier League in expected goals, and how do I rank players in Python?
A season leaderboard on any stat we compute or keep, with expected goals ranked by total or per 90 and a minimum number of appearances.
get_leaders · 5 credits
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.
get_odds · 5 credits
How do I get anytime goalscorer odds and results for a player in Python?
One row per match with a striker's anytime goalscorer price, the number of books and whether he scored. Erling Haaland scored in 20 of 34 priced matches.
get_prop_history · 10 credits
How do I turn three-way soccer odds into probabilities in Python?
A club's season of matches with every sportsbook's home, draw and away closing price. This removes the margin to get probabilities and scores them against the results.
get_odds · 5 credits
How do I get Premier League standings in Python?
The Premier League table for 2026-27: record, goals, points and recent form for all 20 clubs. Arsenal led on 27 points after 10 matches.
get_standings · 2 credits
How do I get Premier League scores and fixtures in Python?
Every Premier League match on a date with score, result and attendance. October 10 had six matches and 3.33 goals per match.
list_games · 2 credits
How do I get a Premier League player's match stats in Python?
A player's Premier League match log with minutes, goals, shots and xG. Erling Haaland had 5 goals from 6.36 xG in his last ten matches of 2025-26.
get_player_games · 5 credits
How often does a soccer player beat his anytime goalscorer price?
One row per match with a player's closing anytime goalscorer price and his goals. Erling Haaland scored in 20 of his 34 priced matches in 2025-26.
get_prop_history · 10 credits
How do I get both teams to score odds history in Python?
Each sportsbook's opening and closing Yes and No prices on both teams to score for a match, from May 2023 in the top five leagues, MLS and the Champions League.
get_market_odds · 10 credits
How do I get first half soccer odds history in Python?
Each sportsbook's opening and closing 1st half total for a match, the market behind most half-time models.
get_market_odds · 10 credits