StrikerAPI

v1.1.7
io.github.noahowsh/strikerapi Checked 3 days ago Published 18 hours ago

Premier League, MLS and European football: lineups, shot maps, xG, tables and odds.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_teams List teams

Use to find club ids and abbreviations for a season (default: the latest), with each club's colour, second colour, a readable text colour on it and logo. Every other tool takes a club as an id, abbreviation or name. Pass league for MLS (mls), La Liga (laliga), Serie A (seriea), the Bundesliga (bundesliga), Ligue 1 (ligue1), the Champions League (ucl), the EFL Championship (championship), the NWSL (nwsl), Liga MX (ligamx), the Europa League (uel), the Conference League (uecl), the Eredivisie (eredivisie), the Primeira Liga (primeira), the Scottish Premiership (scotland), Brazil's Serie A (brazi…

ParameterTypeDescription
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
seasonnumber | stringSeason by the year it starts: 2025 = 2025-26. MLS, the NWSL, Liga MX, Brazil and Argentina: the calendar year. Default: the latest.

list_games List games

Use to list fixtures and results by season, stage, date, date range or club, newest first. For upcoming fixtures with lines use get_schedule; for one match in full use get_game. Costs 2 credits.

ParameterTypeDescription
datestringOne date, YYYY-MM-DD (a UTC day unless timezone is given).
fromstringFrom date, YYYY-MM-DD.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitintegerMax matches (default 50).
offsetintegerPage offset; use next_offset.
seasonnumber | stringSeason by the year it starts: 2025 = 2025-26. MLS, the NWSL, Liga MX, Brazil and Argentina: the calendar year. Default: the latest.
stagestringleague = league-table games (regular season, group stage, league phase); knockout = qualifying, knockout rounds and playoffs.
statusstring
teamstringClub id, abbreviation or name.
timezonestringRead date, from and to as days in this IANA time zone (America/New_York, America/Mexico_City). Default UTC, where an evening kickoff in the Americas falls on the next day.
tostringTo date, YYYY-MM-DD.

get_schedule Schedule

Use for upcoming fixtures (next 1-30 days, default 7) with the median three-way line across posted sportsbooks (home, draw, away moneylines, goal total, handicap) and its implied probabilities. For every book's line use get_odds. Costs 2 credits. Prices are market information; no tool places, accepts or tracks wagers.

ParameterTypeDescription
daysintegerDays ahead (default 7).
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
teamstringClub id, abbreviation or name.

get_game Game

Use for one match in full: score (with shootout), both clubs' box scores (possession, shots, xG, passing, discipline), every player's line, the key events (goals, cards, substitutions, penalties, VAR) and each sportsbook's opening and closing line. For every event use get_events; for formations use get_lineups. Costs 5 credits. Prices are market information; no tool places, accepts or tracks wagers.

ParameterTypeDescription
game_id *stringMatch id, from list_games or get_schedule.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.

get_lineups Lineups

Use for a match's lineups: each club's formation, starting XI with positions and formation slots, the substitutes used with the minute they came on (and who went off when), and the unused bench. Before kick-off it returns the club-confirmed team sheet (source live) from about an hour before the match; until clubs publish, lineups is empty with a note and nothing is charged. Costs 5 credits.

ParameterTypeDescription
game_id *stringMatch id, from list_games or get_schedule.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.

get_standings Standings

Use for a season's league table: rank, played, won, drawn, lost, goals for and against, goal difference, points (official, with any deduction), qualification or relegation note, plus home and away records and recent form. Champions League: one table per group or the league phase. Costs 2 credits.

ParameterTypeDescription
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, uel, uecl, eredivisie, primeira, scotland, brazil.
seasonnumber | stringSeason by the year it starts: 2025 = 2025-26. MLS, the NWSL, Liga MX, Brazil and Argentina: the calendar year. Default: the latest.

get_ratings Ratings

Use for our club Elo ratings, strongest first, as of the latest match (or as of date). A 100-point gap is about a 64% expected score for the stronger side at a neutral venue. Costs 2 credits.

ParameterTypeDescription
datestringRatings as of this day, YYYY-MM-DD (default: the latest).
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitintegerMax clubs (default 50).

get_head_to_head Head to head

Use for two clubs' meetings in this competition in our data, which starts in 2001-02 in the oldest leagues: wins, draws and goals each, the first meeting we hold, and the results newest first. Costs 2 credits.

ParameterTypeDescription
opponent *stringThe other club.
team *stringClub id, abbreviation or name.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitintegerMax results listed (default 20); the summary counts every meeting.

search_players Search players

Use to find a player's id by name (accents optional), optionally within a club. Returns position, current club, last season and appearances. Costs 1 credit.

ParameterTypeDescription
name *stringFull or partial name, e.g. Saka.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitinteger
teamstringClub id, abbreviation or name.

get_availability Availability

Use to check who is available for a club, or across a league when team is left out: for every player on the squad list, whether he made each of the club's last few matchday squads (started, came on, unused substitute or not in the squad), starts and minutes, his last appearance and days since, and season cards, with a status of in_squad, missed_last_squad, likely_suspended (sent off in the latest match), absent (missing from the last two or more) or not_used_this_season. There is no injury report for soccer: absent means out for a reason the data can't name (injury, suspension, illness or sele…

ParameterTypeDescription
absent_onlybooleanOnly players who are absent, likely suspended or missed the latest matchday squad.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
matchesintegerHow many of the club's latest matches to read (default 5).
player_idstringOne player (search_players).
teamstringClub id, abbreviation or name (list_teams). Leave out for every club in the league.

get_squad Squad

Use for a club's current squad, or every club's in the league when team is left out: every registered player with position, shirt number, date of birth, age, citizenship, height and weight, including players not yet named in a matchday squad (new signings, youth players), and how many of the club's matches each has played this season. Refreshed weekly. For the players in one match use get_lineups. Costs 2 credits for a club, 10 for the whole league.

ParameterTypeDescription
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
positionstringOne position.
teamstringClub id, abbreviation or name (list_teams). Leave out for every club in the league, with each player's team.

get_player Player

Use for one player: profile, per-season appearances, starts, minutes, goals, assists, shots, our xG, cards and goalkeeping (saves, clean sheets) with per-90 rates, and the last 10 matches. Costs 5 credits.

ParameterTypeDescription
player_id *stringPlayer id (search_players).
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.

get_player_games Player games

Use for a player's match log, newest first: opponent, score, minutes on and off, goals, assists, shots, xG, fouls, cards and goalkeeping. Costs 5 credits.

ParameterTypeDescription
player_id *stringPlayer id.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitinteger
offsetinteger
seasonnumber | stringOne season (the year it starts).

get_leaders Leaders

Use for a season's leaders in goals, assists, goal contributions, shots, shots on target, our xG, cards, saves or clean sheets, as totals or per 90 minutes (per90, with a minimum of 10 matches by default). Costs 5 credits.

ParameterTypeDescription
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitinteger
min_gamesintegerMinimum appearances.
per90booleanRank by the rate per 90 minutes.
seasonnumber | stringSeason by the year it starts (default: the latest).
stagestringleague = league-table matches; knockout = qualifying, knockouts and playoffs; all. Default league, or all in the European cups.
statstringDefault goals.

get_team_stats Team stats

Use for clubs' per-match averages over a season, for and against: goals, our xG, shots, shots on target, possession, pass accuracy, corners, fouls, cards, tackles, clean sheets. Possession is missing for some leagues and seasons (for example the Eredivisie before 2020, the Scottish Premiership 2015 to 2023, the NWSL before 2025) and its average covers only matches that have it. Costs 5 credits.

ParameterTypeDescription
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
seasonnumber | stringSeason by the year it starts (default: the latest).
teamstringOne club.

get_events Events

Use for a match's events in order: goals (with assister, own goals, penalties), shots with location, outcome, body part and our xG (xg_point_in_time: the same model fitted only on earlier seasons, for backtests, level-scaled to the competition's earlier matches this season), cards, substitutions, fouls, corners, offsides and VAR decisions. Filter with kind. Older matches carry goals, cards and substitutions only. Costs 10 credits.

ParameterTypeDescription
game_id *stringMatch id.
kindstringgoals, shots, cards, substitutions, set_pieces, fouls or all (default).
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitintegerMax events (default 300).
offsetintegerPage offset; use next_offset.

get_shot_map Shot map

Use for a shot map: a club's shots (or, with against, the shots it conceded), a player's, or one match's, for a season (default: the latest). Returns totals and zones (six-yard box, penalty area, outside the box, penalties) with goals, shots on target, xG and conversion, and every located shot with its x/y, end point, outcome and xG. xg_point_in_time is the same model fitted only on the league's earlier seasons, so a backtest never sees the season it tests; null in a league's first located season. Costs 10 credits.

ParameterTypeDescription
againstbooleanWith team: the shots it conceded.
game_idstringOne match instead of a season.
include_shotsbooleanfalse = totals and zones only.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
playerstringPlayer id (search_players).
seasonnumber | stringSeason by the year it starts (default: the latest).
teamstringClub id, abbreviation or name.

get_odds Odds

Use for betting lines: each sportsbook's three-way moneyline (home, draw, away), goal handicap and total (opening and closing from June 2020 for 16 competitions and from 2024 for the rest; before that most books carry one final pre-match line), the no-margin probabilities each book's prices imply, and for finished matches the result and whether the total went over against the median close. Pass game_id for one match (5 credits), date for a day's matches (10 credits), or season (optionally a team) for a season of priced matches, 2 credits per match returned, up to 100 a page. Prices are market…

ParameterTypeDescription
datestringA day's matches, YYYY-MM-DD (UTC).
game_idstringOne match.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
limitintegerWith season: matches per page (default 50).
offsetintegerWith season: page offset; use next_offset.
seasonnumber | stringA season of priced matches, by the year it starts (2025 = 2025-26; MLS, the NWSL, Liga MX, Brazil and Argentina: the calendar year).
teamstringWith season: one club's matches.

get_line_movement Line movement

Use to see how a match's line moved before kick-off: our pre-game snapshots of each sportsbook's three-way moneyline, handicap and total (captured once a day, and every hour for matches in the next four days). Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

ParameterTypeDescription
game_id *stringMatch id.
all_snapshotsbooleanEvery hourly capture. By default a capture identical to the one before it is left out (the latest is always kept), which keeps every move and its time.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
providerstringOne sportsbook, e.g. DraftKings.

get_player_props Player props

Use for player prop lines by sportsbook: the anytime goalscorer price (Yes in over_odds, No in under_odds where posted, no line) and, for the top five leagues, MLS and the Champions League, first and last goalscorer, to be carded, shots on target, shots and assists over/unders (most books post only the over), from DraftKings, FanDuel, William Hill and Pinnacle as the archive holds them. Pass game_id for every player's props in one game, or player_id with from_date (and to_date) for one player across games (up to 100). A game costs 10 credits before it starts and 20 once it has (accounts opened…

ParameterTypeDescription
bookmakerstringBookmaker key, e.g. draftkings, fanduel, pinnacle.
estimate_onlybooleanReturn what this call would cost, without charging or running it.
from_datestringWith player_id: first date, YYYY-MM-DD (the game's date).
game_idstringGame id: every player's props for that game.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl.
marketstringOne market: player_goal_scorer_anytime (anytime goalscorer (over = scores)), player_shots_on_target (shots on target), player_shots (shots), player_assists (assists), player_first_goal_scorer (first g…
player_idstringPlayer id (e.g. 280555) from search_players. With from_date: that player's props across games.
snapshot_typestringclosing (default): the last line before the game starts. opening: the first one captured, which is the same capture as the close wherever only one was taken.
to_datestringWith player_id: last date (default: no end), YYYY-MM-DD (the game's date).

get_prop_history Prop history

Use to see how a player did against his prop line over time: for one market (anytime, first or last goalscorer, to be carded, shots on target, shots or assists: one row per match with the closing price and what he recorded), one row per game with the closing line (the median across books, or one book's), the opening line (the same as the close wherever only one capture was taken), the prices, what the player actually recorded from our box scores and the result against the line, plus the over rate, up to 200 games a call. Costs 10 credits for every 25 games already played that a call covers, an…

ParameterTypeDescription
market *stringThe market: player_goal_scorer_anytime (anytime goalscorer (over = scores)), player_shots_on_target (shots on target), player_shots (shots), player_assists (assists), player_first_goal_scorer (first g…
player_id *stringPlayer id (e.g. 280555) from search_players.
bookmakerstringOne book's closing line instead of the median across books, e.g. draftkings.
estimate_onlybooleanReturn what this call would cost, without charging or running it.
from_datestringFirst date, YYYY-MM-DD (the game's date).
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl.
limitintegerGames to return, oldest first (default 50, max 200). next_from_date says where to continue.
to_datestringLast date, YYYY-MM-DD (the game's date).

get_prop_movement Prop movement

Use to see how one player's prop line moved before a game: every capture we hold, book by book and oldest first, with the line, both prices and the minutes before the start. line_change is the last capture's line minus the first's. The number of captures varies by game and book. Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

ParameterTypeDescription
game_id *stringGame id.
market *stringThe market: player_goal_scorer_anytime (anytime goalscorer (over = scores)), player_shots_on_target (shots on target), player_shots (shots), player_assists (assists), player_first_goal_scorer (first g…
player_id *stringPlayer id (e.g. 280555) from search_players.
bookmakerstringOne book's captures, e.g. draftkings.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl.

get_market_odds Market odds

Use for the extra betting markets of a game as history: both teams to score, draw no bet, double chance, and the 1st half result, total and goal handicap, for the Premier League, La Liga, Serie A, the Bundesliga, Ligue 1, MLS and the Champions League. Pass game_id (from get_schedule or list_games) and market. For each sportsbook it returns the opening line (the first one we captured) and the closing line (the last one before the game started), each as the list of outcomes with their point and American price, plus captured_at and minutes_before_start (negative when the last capture came after o…

ParameterTypeDescription
game_id *stringGame id from get_schedule or list_games.
market *stringThe market: btts (both teams to score: Yes or No), draw_no_bet (draw no bet: home or away, a draw voids it), double_chance (double chance: two of home, draw and away (e.g. Arsenal or Draw)), h2h_h1 (1…
bookmakerstringOne bookmaker key, e.g. draftkings, fanduel, pinnacle.
estimate_onlybooleanReturn what this call would cost, without charging or running it.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl.

get_game_probabilities Game probabilities

Use for what the market thinks of one game, not any one book's price: the average implied probability (margin in) and the fair probability (margin out) for the moneyline (home, draw and away), each handicap and each total, with how many books each rests on. Only identical lines are combined. Each book's last pre-game prices by default (snapshot_type reads latest until the start, closing after it); opening on request. For each book's prices use get_odds. Costs 5 credits. Prices are market information; no tool places, accepts or tracks wagers.

ParameterTypeDescription
game_id *stringGame id, e.g. 401879246.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.
snapshot_typestringclosing (default): each book's last pre-game price so far. opening: each book's first.

get_prop_probabilities Prop probabilities

Use for what the market thinks of the player props in one game, not any one book's price: for each player and each line, the average implied probability (margin in) and the fair probability (margin out), with how many books each rests on. Only identical lines are combined, and a yes/no market whose books post only the yes price has no fair probability. Latest pre-game prices. For each book's prices use get_player_props. Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

ParameterTypeDescription
game_id *stringGame id, e.g. 401879246.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl.
marketstringOne market, e.g. player_goal_scorer_anytime. Default every market.
player_idstringOne player's id (e.g. 280555, from search_players). Default every player.

get_prop_backtest Prop backtest

Use to test an idea about player props without pulling every row: how often a kind of prop went over or under against what the market implied, across every finished game we hold prices for that fits your filters. Returns the hit rate, its 95% interval, the average implied and fair probabilities, and each season on its own. For example, anytime goalscorer prices for players whose team was the home favorite. One result per player per game at the median closing line. It describes the past and recommends nothing. For one player game by game use get_prop_history. Costs 25 credits.

ParameterTypeDescription
market *stringThe market, e.g. player_goal_scorer_anytime.
fair_maxnumberHighest fair probability of this side to include, 0 to 1.
fair_minnumberLowest fair probability of this side to include, 0 to 1.
from_datestringFirst game date, YYYY-MM-DD. Default all held.
home_awaystringWhether his team was at home.
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl.
line_maxnumberHighest median closing line to include.
line_minnumberLowest median closing line to include.
opponentstringThe team he played.
player_idstringOne player's id (e.g. 280555, from search_players).
sidestringover (default) or under. Yes/no markets are graded on the yes price: over only.
teamstringThe player's team, e.g. ARS.
team_rolestringWhether his team was favored, by the books' closing moneylines.
to_datestringLast game date, YYYY-MM-DD. Default all held.

get_scoring_projections Scoring projections

Use for each player's chance to score in an upcoming match (penalties included), with his xG per 90 and expected minutes, from our model: the team sheet once it is out (about an hour before kick-off), his recent minutes before that. Premier League, La Liga, Serie A, Bundesliga, Ligue 1. Our model, no betting-market input. Costs 10 credits.

ParameterTypeDescription
game_id *stringMatch id from get_schedule
leaguestringLeague. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ligamx.

get_season_projections Season projections

Use for each club's chance to win the league, finish in the top 4 or top 6, or finish in the bottom three, with projected points and the full chance of each final position, from simulating every remaining fixture 20,000 times with our goals model. Premier League, La Liga, Serie A, Bundesliga, Ligue 1, Championship, Eredivisie and Primeira Liga (top 2 and top 3 too). Optional team filter. Our model, not market prices. Costs 5 credits. For the Champions League and Europa League (league ucl or uel) it covers the league phase: each club's chance to finish in the top 8, 9th to 24th or out, and expe…

ParameterTypeDescription
leaguestringLeague. Defaults to soccer. One of: soccer, laliga, seriea, bundesliga, ligue1, ucl, championship, uel, eredivisie, primeira.
teamstringClub id, abbreviation or name