Soccer API documentation
25 soccer data endpoints over REST and MCP. One key, credits per call.
Coming from football-data.org or the free soccer sources? See how they compare.
Your first call
Sign up for a free key (500 credits every month, no card), swap it in for YOUR_API_KEY, and send this. get_standings costs 2 credits.
Request
curl -X POST https://mcp.strikerapi.com/v1/get_standings \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"season": 2025
}'Response
{
"season": 2025,
"source": "published",
"standings": [
{
"group_name": "English Premier League 2025-2026",
"rank": 1,
"team_id": "359",
"abbrev": "ARS",
"display_name": "Arsenal",
"played": 38,
"wins": 26,
"draws": 7,
"losses": 5,
...First 14 lines. Full response and every field
REST / cURL
POST to /v1/{tool_name} with your params as JSON body. No MCP client needed:
curl -X POST https://mcp.strikerapi.com/v1/list_teams \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"With parameters:
curl -X POST https://mcp.strikerapi.com/v1/get_standings \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"season":2025}'Save the raw JSON
Keep your key in an environment variable so it never sits in a script or a chat, and write each response to a file:
export STRIKERAPI_API_KEY="your key here"
curl -s -X POST https://mcp.strikerapi.com/v1/get_standings \
-H "Content-Type: application/json" \
-H "x-api-key: $STRIKERAPI_API_KEY" \
-d '{"season":2025}' \
-o get_standings.jsonThe file holds exactly what the API returned. Tools that page their results return a next_offset; send it back as offset for the next page.
ChatGPT and Claude
Both connect to the MCP server with a sign-in instead of a key: you sign in to StrikerAPI once and press Allow. Step-by-step for ChatGPT and Claude.
Python
The official client is on PyPI. It has no required dependencies. Set STRIKERAPI_API_KEY to your key and it is picked up automatically:
pip install strikerapiThen call any endpoint as a method (the example uses pandas, pip install "strikerapi[pandas]"):
from strikerapi import Client, to_dataframe
client = Client()
table = client.get_standings(league="mls")
df = to_dataframe(table, key="standings")
print(df[["group_name", "rank", "display_name", "played", "points"]].head(10))Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"strikerapi": {
"url": "https://mcp.strikerapi.com/mcp?key=YOUR_API_KEY"
}
}
}Claude Code
One command:
claude mcp add strikerapi https://mcp.strikerapi.com/mcp?key=YOUR_API_KEY --transport streamable-httpFind the right call
All 26 questions- What is the Premier League table right now?get_standings
- Which clubs are in the league this season, and their ids?list_teams
- Every match Haaland played this season, with minutesget_player_games
- What are Arsenal's results this season?list_games
- Who plays this weekend, and at what price?get_schedule
- Box scores and key events for one matchget_game
What timestamps mean, whether lines are pre-game, and what you can do with the data: data timing and rights.
Guides
All guidesWorking Python, JavaScript and cURL for common questions, each run against the live API.
- How do I make a Premier League xG shot map in Python?get_shot_map
- How do I build a Premier League expected goals table in pandas?get_team_stats
- Where can I get football Elo ratings by club in Python?get_ratings
- Who leads the Premier League in expected goals, and how do I rank players in Python?get_leaders
- How do I get Premier League odds from every sportsbook with the results?get_odds
- How do I get anytime goalscorer odds and results for a player in Python?get_prop_history
- How do I turn three-way soccer odds into probabilities in Python?get_odds
- How do I get Premier League standings in Python?get_standings
- How do I get Premier League scores and fixtures in Python?list_games
- How do I get a Premier League player's match stats in Python?get_player_games
- How often does a soccer player beat his anytime goalscorer price?get_prop_history
- How do I get both teams to score odds history in Python?get_market_odds
- How do I get first half soccer odds history in Python?get_market_odds
Endpoints
25 endpoints by category. Each page has parameters, requests in three formats, a full example response and every response field.
Static reference1 credit/call
Basic lookup2 credits/call
- list_games2 creditsFixtures and results by season, stage, date, range or club
- get_schedule2 creditsUpcoming fixtures with the median three-way line across sportsbooks
- get_standings2 creditsThe league table: points, deductions, goal difference, home and away, form
- get_ratings2 creditsOur club Elo ratings, ranked
- get_head_to_head2 creditsTwo clubs' meetings: record, goals and every result
- get_squad2 creditsA club's current squad (2) or the whole league's (10): every registered player with position, shirt number and age
Stats + aggregation5 credits/call
- get_game5 creditsOne match: score, both box scores, every player's line, key events, each book's line
- get_lineups5 creditsFormations, starting XIs, benches and substitutions with minutes
- get_player5 creditsProfile, per-season totals and per-90 rates, last 10 matches
- get_player_games5 creditsA player's full match log
- get_leaders5 creditsSeason leaders: goals, assists, shots, xG, cards, saves
- get_team_stats5 creditsPer-match averages: goals, xG, shots, possession (missing for some leagues and seasons), passing, discipline, for and against
- get_odds5 creditsEvery sportsbook's three-way moneyline, goal handicap and total for a match (5) or a day (10), with results
- get_game_probabilities5 creditsWhat the market thinks of a game: average implied and fair probability for the result (home, draw, away), handicaps and totals
Multi-table10 credits/call
- get_events10 creditsMatch events: goals, cards, substitutions, shots with location and xG, fouls, corners
- get_shot_map10 creditsShot map for a club, player or defence: every located shot with outcome and xG, plus zone totals
- get_player_props10 creditsAnytime, first and last goalscorer, to be carded, shots, shots on target and assists prices by sportsbook
- get_prop_history10 creditsA player's prop price against what he did, match by match
- get_prop_probabilities10 creditsWhat the market thinks of a game's player props: average implied and fair probability for each player and line
Time-series10 credits/call
- get_line_movement10 creditsSnapshots of each sportsbook's line before kick-off
- get_prop_movement10 creditsHow one player's prop line moved before a game, every capture by sportsbook
- get_market_odds10 creditsOpening and closing lines by sportsbook for both teams to score, draw no bet, double chance and the first half (from May 2023, each game added the morning after it is played)
Reference
Authentication
Every request requires an API key. Pass it via header or query parameter:
x-api-key: YOUR_API_KEY
# or
Authorization: Bearer YOUR_API_KEY
# or (MCP only)
?key=YOUR_API_KEYVerify your email, then create an API key from the dashboard. Free accounts get 500 credits every month.
Base URL
https://mcp.strikerapi.comREST API: POST /v1/{tool} with JSON body. Works with cURL, Python, any HTTP client.
MCP: POST /mcp via Streamable HTTP. Works with Claude Desktop, Claude Code, Cursor, and any MCP client.
Rate limits
| Credit balance | Rate limit |
|---|---|
| 100 credits or more | 60 req/min |
| Under 100 credits | 10 req/min |
The limit is the same on every plan. It is burst protection, not the spend boundary; credits are that, and they are enforced per request. Running low slows you down so you notice before the balance reaches zero.
Error handling
| Code | Meaning | What to do |
|---|---|---|
| 400 | Invalid parameters | Check required fields and value types |
| 401 | Invalid or missing API key | Check your x-api-key header |
| 402 | Insufficient credits | Top up your wallet or upgrade your plan |
| 429 | Rate limit exceeded | Wait and retry (see limits above) |
| 500 | Server error | Retry with idempotency key. Credits auto-refund on server errors. |
Pass x-idempotency-key or x-request-id headers to make retries duplicate-safe.
Data coverage
Major League Soccer (MLS)
StrikerAPI also serves the MLS. Pass "league": "mls" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/mls. MLS API coverage.
Spanish La Liga (Primera Division) (La Liga)
StrikerAPI also serves the La Liga. Pass "league": "laliga" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/laliga. La Liga API coverage.
Italian Serie A (Serie A)
StrikerAPI also serves the Serie A. Pass "league": "seriea" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/seriea. Serie A API coverage.
German Bundesliga (Bundesliga)
StrikerAPI also serves the Bundesliga. Pass "league": "bundesliga" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/bundesliga. Bundesliga API coverage.
French Ligue 1 (Ligue 1)
StrikerAPI also serves the Ligue 1. Pass "league": "ligue1" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/ligue1. Ligue 1 API coverage.
UEFA Champions League (Champions League)
StrikerAPI also serves the Champions League. Pass "league": "ucl" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/ucl. Champions League API coverage.
EFL Championship (Championship)
StrikerAPI also serves the Championship. Pass "league": "championship" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/championship. Championship API coverage.
National Women's Soccer League (NWSL)
StrikerAPI also serves the NWSL. Pass "league": "nwsl" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/nwsl. NWSL API coverage.
Mexican Liga MX (Liga MX)
StrikerAPI also serves the Liga MX. Pass "league": "ligamx" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/ligamx. Liga MX API coverage.
UEFA Europa League (Europa League)
StrikerAPI also serves the Europa League. Pass "league": "uel" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/uel. Europa League API coverage.
UEFA Europa Conference League (Conference League)
StrikerAPI also serves the Conference League. Pass "league": "uecl" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/uecl. Conference League API coverage.
Dutch Eredivisie (Eredivisie)
StrikerAPI also serves the Eredivisie. Pass "league": "eredivisie" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/eredivisie. Eredivisie API coverage.
Portuguese Primeira Liga (Primeira Liga)
StrikerAPI also serves the Primeira Liga. Pass "league": "primeira" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/primeira. Primeira Liga API coverage.
Scottish Premiership (Premier League before 2013-14) (Scottish Premiership)
StrikerAPI also serves the Scottish Premiership. Pass "league": "scotland" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/scotland. Scottish Premiership API coverage.
Brazilian Serie A (Campeonato Brasileiro) (Brazil Serie A)
StrikerAPI also serves the Brazil Serie A. Pass "league": "brazil" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/brazil. Brazil Serie A API coverage.
Argentine Liga Profesional de Futbol (Argentina Liga Profesional)
StrikerAPI also serves the Argentina Liga Profesional. Pass "league": "argentina" to any tool that lists it, or connect to https://mcp.strikerapi.com/mcp/argentina. Argentina Liga Profesional API coverage.
| Data | Status | Coverage | Volume |
|---|---|---|---|
Fixtures and results Date, stage, score, extra time and shootout, venue and attendance. | Available | 2001-02 to current | Every match we list |
Lineups and box scores Formations, starting XIs, substitutions with minutes, and each player's goals, assists, shots, fouls, cards and saves; each club's possession, shots, passing, tackles and discipline. Lineups from 2001-02 (MLS 2004). Full box scores from 2001-02 in the Premier League, 2005-06 to 2007-08 in the other European leagues and 2008 in MLS; before that goals, assists and cards are counted from the match events and the rest is null. | Partial | 2001-02 to current | Every player in every squad |
Match events Goals with the scorer and assister, substitutions and, from 2011-12, cards, for every match; from 2012-13 every shot, foul, corner and offside too. Cards from 2011-12. Before 2012-13 only goals, cards and substitutions. | Partial | 2001-02 to current | About 100 events per match from 2012-13 |
Shot locations and xG Each shot's x/y, end point, outcome, body part and our expected goals. Before 2012-13 only goals carry a location (about 1,000 a season), so a shot map of an earlier season shows goals, not shots. | Partial | From 2012-13, complete from 2013-14 | About 25 shots per match |
League tables The published table: official points with deductions, goal difference and qualification notes. | Available | 2002-03 to current | Every season |
Odds Home, draw and away moneylines, goal handicap and total by sportsbook; opening and closing lines from June 2020 (sportsbook odds archive) and from 2024 in the daily feed, the final pre-match line before that. No lines before 2017-18; two books in 2017-18 and 2018-19, six to eight in 2019-20 and 2020-21, one or two since 2024-25 in the daily feed; the sportsbook odds archive adds opening and closing lines from June 2020 for 16 competitions (not the NWSL); player prices are separate (get_player_props). | Partial | 2017-18 to current | About ten books per match 2021-22 to 2023-24, one or two since in the daily feed; opening and closing lines from the sportsbook odds archive since June 2020 |
Player prop prices Each sportsbook's Yes price (and the No price where it posts one) that a player scores, and its shots, shots on target and assists prices from August 2024 (most books post only the over), for the matches the sportsbook odds archive holds, linked to our player id where the name matches the match's squad. The Premier League and MLS from April 2024, Ligue 1 from May 2024, La Liga, Serie A and the Bundesliga from August 2024, the Champions League from March 2025; no other competition. DraftKings and FanDuel (FanDuel from March 2025 outside the Premier League and Ligue 1), then Pinnacle from April 2026 and William Hill from August 2026 on the matches where they posted a price: two books until mid-2026, up to four now. One capture per player and book, so no opening price and no movement. The anytime goalscorer is the only player market. | Partial | April 2024 to current, seven competitions | One price per sportsbook and player, shortly before kick-off |
Ratings Our Elo per competition, before and after every match. | Available | 2001-02 to current | Every club, every match |
Coverage describes the datasets StrikerAPI supports. Freshness and operational health are tracked separately.
Odds snapshot definitions
opening: The first line a sportsbook posted for the match, held from 2024 and, from June 2020 for 16 competitions, in the sportsbook odds archive.
closing: The sportsbook's last line before kick-off.
Odds coverage currently documents the books reported with each match: about ten per match from 2021-22 to 2023-24 (DraftKings, Caesars, BetMGM, Bet365, PointsBet and Unibet among them), then Bet365 with ESPN BET or DraftKings; plus, from June 2020 for 16 competitions, the sportsbook odds archive's William Hill, DraftKings, Pinnacle, Marathonbet, 888sport and FanDuel (Unibet and Betfair Exchange later) in the Premier League. No lines before 2017-18, and the daily feed is one or two books per match since 2024-25; the sportsbook odds archive is the deeper source from June 2020. Before 2024 we hold each sportsbook's final pre-match line, stored as the close: from 2017-18, about ten books per match from 2021-22 to 2023-24, fewer before. From 2024 the daily feed has opening and closing lines from one or two books. Since June 2020 the sportsbook odds archive adds opening and closing lines per book for 16 competitions (every Premier League match, with a median of 6 to 8 books). Daily snapshots before each match from launch.
Response format
REST API
All successful REST responses wrap the result in a data key:
{ "data": { "teams": [...], "count": 20 } }Error responses return:
{ "error": "Insufficient credits", "message": "This tool costs 5 credits, you have 2" }MCP Protocol
MCP responses follow the standard MCP tool result format. The data is returned directly (no data wrapper). Both access methods return identical data, just different envelopes.
Conventions
Seasons: the year the season starts (2025 = 2025-26); MLS, the NWSL, Liga MX, Brazil and Argentina: the calendar year. Example: 2025.
Game IDs: a match id, e.g. 704345 (a match id; find them with list_games). Get them from list_games or get_schedule.
Team abbreviations: Standard codes (ARS, LIV, MNC (or a team id); list_teams has them). Use list_teams if unsure.
Pagination: Endpoints use a limit parameter. No cursor or offset. Narrow your filters to get different slices of data.
Credits: Deducted before the request executes. Automatically refunded on server errors. Monthly credits are used first, then wallet balance.