Soccer Data API
Soccer Data API as documented publicly: 13 operations. Contract generated from the documentation by API Evangelist (2026-11-13); not the provider's own document.
Soccer Data API as documented publicly: 13 operations. Contract generated from the documentation by API Evangelist (2026-11-13); not the provider's own document.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/soccer-data-co:soccer-data-co-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Soccer Data API
version: '2026-11-13'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-13: 13 operation(s) read from 7 public documentation page(s) (each operation
names its page in x-source). This is not the provider''s published contract; Soccer Data has published no machine-readable contract that the
pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 7
documentation: 6
pages-with-code: 7
pages-read: 7
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-11-13'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://soccer-data.co/docs/reference
- https://soccer-data.co/docs/reference/health
- https://soccer-data.co/docs/reference/odds/live
- https://soccer-data.co/docs/reference/teams/list
- https://soccer-data.co/docs/reference/teams/show
- https://soccer-data.co/docs/reference/teams/stats
- https://soccer-data.co/docs/reference/matches/list
servers:
- url: https://api.soccer-data.co
paths:
/health:
get:
operationId: get_health
tags:
- Health
summary: Check API status
x-source: https://soccer-data.co/docs/reference/health
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetHealthResponse'
x-evidence:
kind: documentation
/matches:
get:
operationId: get_matches
tags:
- Matches
summary: List matches
description: Search fixtures and results across every competition we cover. Filter by competition, season, team, date range or status to
build fixture lists, results pages or a live scoreboard.
x-source: https://soccer-data.co/docs/reference/matches/list
parameters:
- name: competition_id
in: query
required: false
schema:
type: string
description: 'Only return matches from this competition.'', "schema": { "type": "string" } },'
- name: season_id
in: query
required: false
schema:
type: string
description: 'Only return matches from this season. If you also send competition_id, the season has to belong to it.'', "schema": { "type":
"string" } },'
- name: team_id
in: query
required: false
schema:
type: string
description: 'Only return matches this team plays in, at home or away.'', "schema": { "type": "string" } },'
- name: date_from
in: query
required: false
schema:
type: string
description: 'Earliest kickoff day to include, as YYYY-MM-DD. The day is read in the utc_offset time zone.'', "schema": { "type": "string",
"format": "date" } },'
- name: date_to
in: query
required: false
schema:
type: string
description: 'Last kickoff day to include, as YYYY-MM-DD, up to the end of that day. It can''t be before date_from.'', "schema": { "type":
"string", "format": "date" } },'
- name: utc_offset
in: query
required: false
schema:
type: string
description: 'Time zone for date_from and date_to, as +HH:MM or -HH:MM (up to 14 hours). Default +00:00.'', "schema": { "type": "string",
"default": "+00:00" } },'
- name: status
in: query
required: false
schema:
type: string
description: 'Only return matches in this state. Use live for matches being played now.'', "schema": { "type": "string", "enum": ["scheduled","live","finished","postponed","cancelled"]
} },'
- name: matchday
in: query
required: false
schema:
type: string
description: 'League round number, from 1. Handy for showing one gameweek.'', "schema": { "type": "integer" } },'
- name: stage
in: query
required: false
schema:
type: string
description: 'regular covers league and group games. playoff covers knockout rounds, cup ties and promotion or relegation play‑offs. all
returns both.'', "schema": { "type": "string", "default": "all", "enum": ["regular","playoff","all"] } },'
- name: group
in: query
required: false
schema:
type: string
description: 'Only return matches from this tournament group. Needs competition_id.'', "schema": { "type": "string", "enum": ["A","B","C","D","E","F","G","H","I","J","K","L"]
} },'
- name: sort
in: query
required: false
schema:
type: string
description: '-utc_date puts the latest kickoff first, utc_date puts the soonest first.'', "schema": { "type": "string", "default": "-utc_date",
"enum": ["-utc_date","utc_date"] } },'
- name: page
in: query
required: false
schema:
type: string
description: 'Page number, starting at 1.'', "schema": { "type": "integer", "default": 1 } },'
- name: per_page
in: query
required: false
schema:
type: string
description: 'How many matches per page, from 1 to 100.'', "schema": { "type": "integer", "default": 20 } }'
- name: base_url
in: query
required: false
schema:
type: string
description: Base URL of the API as stated on the page.
- name: X-Api-Key
in: header
required: true
schema:
type: string
description: Your API key.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetMatchesResponse'
x-evidence:
kind: documentation
/matches/{matchId}/odds/live:
get:
operationId: get_matches_matchId_odds_live
tags:
- Matches
summary: Live odds
x-source: https://soccer-data.co/docs/reference/odds/live
parameters:
- name: matchId
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetMatchesMatchidOddsLiveResponse'
x-evidence:
kind: documentation
/teams:
get:
operationId: get_teams
tags:
- Teams
summary: Search teams
description: Returns clubs and national teams, 20 per page by default. Search by name, or narrow it to one competition or season to get
every team taking part.
x-source: https://soccer-data.co/docs/reference/teams/list
parameters:
- name: search
in: query
required: false
schema:
type: string
description: Part of the team name, case-insensitive. With sort=relevance the closest match comes first.
- name: competition_id
in: query
required: false
schema:
type: string
description: Only teams in this competition. Without season_id, the latest season that has a table is used.
- name: season_id
in: query
required: false
schema:
type: string
description: Only teams in this season. Send it with competition_id; a season from another competition returns 400 SEASON_COMPETITION_MISMATCH.
- name: country
in: query
required: false
schema:
type: string
description: The team's country, case-insensitive, for example England.
- name: is_mens_team
in: query
required: false
schema:
type: boolean
description: true keeps men's teams only, false keeps women's teams only. Leave it out to get both.
- name: sort
in: query
required: false
schema:
type: string
description: relevance puts the best matches for search first; name orders results A to Z. Without search, both give A to Z.
- name: page
in: query
required: false
schema:
type: integer
description: Which page to return, starting at 1. meta.total_pages tells you how many there are.
- name: per_page
in: query
required: false
schema:
type: integer
description: How many results per page, from 1 to 100.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetTeamsResponse'
x-evidence:
kind: documentation
/teams/{teamId}:
get:
operationId: get_teams_teamId
tags:
- Teams
summary: Team details
description: Returns one team with its country, main competition and home stadium. Use it to show a team's profile once you have its id.
x-source: https://soccer-data.co/docs/reference/teams/show
parameters:
- name: teamId
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetTeamsTeamidResponse'
x-evidence:
kind: documentation
/teams/{teamId}/stats:
get:
operationId: get_teams_teamId_stats
tags:
- Teams
summary: Team season record
description: Returns a team's results, goals, table position, recent form and expected goals for one season.
x-source: https://soccer-data.co/docs/reference/teams/stats
parameters:
- name: teamId
in: path
required: true
schema:
type: string
- name: season_id
in: query
required: true
schema:
type: string
description: The season you want numbers for.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetTeamsTeamidStatsResponse'
x-evidence:
kind: documentation
/v1/competitions:
get:
operationId: get_v1_competitions
tags:
- Competitions
summary: GET /v1/competitions
x-source: https://soccer-data.co/docs/reference
parameters:
- name: search
in: query
required: false
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: "curl \"https://api.soccer-data.co/v1/competitions?search=Premier\" -H \"X-Api-Key: YOUR_API_KEY\"\n const res = await fetch(\"\
https://api.soccer-data.co/v1/competitions?search=Premier\", {\n headers: { \"X-Api-Key\": process.env.SOCCER_DATA_KEY },\n});\nconst\
\ { data, meta } = await res.json();\n import os, requests\nres = requests.get(\n \"https://api.soccer-data.co/v1/competitions\",\n\
\ params={\"search\": \"Premier\""
/v1/health:
get:
operationId: get_v1_health
tags:
- Health
summary: GET /v1/health
x-source: https://soccer-data.co/docs/reference/health
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: "curl \"https://api.soccer-data.co/v1/health\" -H \"X-Api-Key: $SOCCER_DATA_KEY\"\n Previous Overview Next Search competitions"
/v1/matches:
get:
operationId: get_v1_matches
tags:
- Matches
summary: GET /v1/matches
x-source: https://soccer-data.co/docs/reference/matches/list
parameters:
- name: status
in: query
required: false
schema:
type: string
responses:
'200':
description: Success (shape read from the example response on the page)
content:
application/json:
schema:
$ref: '#/components/schemas/GetV1MatchesResponse'
x-evidence:
kind: code-example
language: curl
snippet: "curl \"https://api.soccer-data.co/v1/matches?status=live\" -H \"X-Api-Key: $SOCCER_DATA_KEY\" \n const res = await fetch(\"\
https://api.soccer-data.co/v1/matches?status=live\", {\n headers: { \"X-Api-Key\": process.env.SOCCER_DATA_KEY },\n});\nconst {data}\
\ = await res.json(); \n import os, requests\nres = requests.get(\n \"https://api.soccer-data.co/v1/matches\",\n params={\"status\"\
: \"live\"},\n headers={\"X-Api-Key\": "
/v1/matches/{matchId}/odds/live:
get:
operationId: get_v1_matches_matchId_odds_live
tags:
- Matches
summary: Live odds
x-source: https://soccer-data.co/docs/reference/odds/live
parameters:
- name: matchId
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetV1MatchesMatchidOddsLiveResponse'
x-evidence:
kind: documentation
/v1/teams:
get:
operationId: get_v1_teams
tags:
- Teams
summary: GET /v1/teams
x-source: https://soccer-data.co/docs/reference/teams/list
parameters:
- name: search
in: query
required: false
schema:
type: string
responses:
'200':
description: Success (shape read from the example response on the page)
content:
application/json:
schema:
$ref: '#/components/schemas/GetV1TeamsResponse'
x-evidence:
kind: code-example
language: curl
snippet: "curl \"https://api.soccer-data.co/v1/teams?search=Arsenal\" -H \"X-Api-Key: $SOCCER_DATA_KEY\" \n const res = await fetch(\"\
https://api.soccer-data.co/v1/teams?search=Arsenal\", {\n headers: { \"X-Api-Key\": process.env.SOCCER_DATA_KEY },\n});\nconst {data}\
\ = await res.json(); \n import os, requests\nres = requests.get(\n \"https://api.soccer-data.co/v1/teams\",\n params={\"search\": \"\
Arsenal\"},\n headers={\"X-Api-Key"
/v1/teams/{teamId}:
get:
operationId: get_v1_teams_teamId
tags:
- Teams
summary: Team details
description: Returns one team with its country, main competition and home stadium. Use it to show a team's profile once you have its id.
x-source: https://soccer-data.co/docs/reference/teams/show
parameters:
- name: teamId
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetV1TeamsTeamidResponse'
x-evidence:
kind: documentation
/v1/teams/{teamId}/stats:
get:
operationId: get_v1_teams_teamId_stats
tags:
- Teams
summary: Team season record
description: Returns a team's results, goals, table position, recent form and expected goals for one season.
x-source: https://soccer-data.co/docs/reference/teams/stats
parameters:
- name: teamId
in: path
required: true
schema:
type: string
- name: season_id
in: query
required: true
schema:
type: string
description: The season you want numbers for.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetV1TeamsTeamidStatsResponse'
x-evidence:
kind: documentation
components:
schemas:
GetHealthResponse:
type: object
properties:
status:
type: string
description: healthy when the API is answering normally.
timestamp:
type: string
description: The server's clock at the moment it answered, as an ISO 8601 date-time.
GetMatchesResponse:
type: object
properties:
data:
type: array
description: List of match objects.
meta:
type: object
description: Pagination metadata.
GetMatchesMatchidOddsLiveResponse:
type: object
properties:
data.match_id:
type: string
description: The match these prices are for.
data.bookmakers[]:
type: array
description: One entry per bookmaker quoting in‑play prices right now.
data.bookmakers[].bookmaker:
type: string
description: 'Bookmaker name: Bet365, Paddy Power, BetMGM UK or Betfair Exchange.'
data.bookmakers[].markets:
type: object
description: Markets this bookmaker is quoting now, keyed by market name.
data.bookmakers[].markets.{market}.{home|draw|away}:
type: object
description: 'Three‑way result markets: match_odds, first_half_result and second_half_result.'
data.bookmakers[].markets.{market}.{home|away}:
type: object
description: 'Two‑way markets: draw_no_bet and to_qualify.'
data.bookmakers[].markets.double_chance.{home_draw|home_away|draw_away}:
type: object
description: Double chance.
data.bookmakers[].markets.{market}.{yes|no}:
type: object
description: 'Both teams to score markets: btts, btts_first_half and btts_second_half.'
data.bookmakers[].markets.first_team_to_score.{home|away|none}:
type: object
description: Which side scores first. none means no goals.
data.bookmakers[].markets.{market}.{line}.{over|under}:
type: object
description: Match over/under markets, keyed by line such as "2.5".
data.bookmakers[].markets.{market}.{home|away}.{line}.{over|under}:
type: object
description: Team over/under markets, split by side and then keyed by line.
data.bookmakers[].markets.asian_handicap.{home|away}.{line}:
type: object
description: Asian handicap price for each side, keyed by that side's handicap.
data.bookmakers[].markets.handicap_result.{line}.{home|draw|away}:
type: object
description: Three‑way handicap, keyed by the home team's handicap.
data.bookmakers[].markets.correct_score.{score}:
type: object
description: Exact score, keyed as home‑away such as "2-1".
'{price}.live':
type: string
description: The current decimal price.
'{price}.available_to_back[]':
type: array
description: 'Betfair Exchange only: up to 3 price levels you can back at, best first.'
'{price}.available_to_back[].price':
type: number
description: Decimal price at this level.
'{price}.available_to_back[].size':
type: number
description: Money available at this price.
'{price}.available_to_lay[]':
type: array
description: 'Betfair Exchange only: up to 3 price levels you can lay at, best first.'
'{price}.available_to_lay[].price':
type: number
description: Decimal price at this level.
'{price}.available_to_lay[].size':
type: number
description: Money available at this price.
GetTeamsResponse:
type: object
properties:
data:
type: array
description: Array of team objects.
data[].id:
type: string
description: The team's id. Pass it as team_id to other endpoints.
data[].name:
type: string
description: The team's full name.
data[].short_name:
type: string
description: A shorter name for tight spaces.
data[].country:
type: string
description: The team's country.
data[].is_mens_team:
type: boolean
description: true for a men's team, false for a women's team, null when unknown.
data[].primary_competition:
type: object
description: The main competition the team plays in. Can be null.
data[].primary_competition.id:
type: string
description: That competition's id.
data[].primary_competition.name:
type: string
description: That competition's name.
meta.page:
type: integer
description: The page you're on.
meta.per_page:
type: integer
description: Results per page.
meta.total:
type: integer
description: Matching teams across all pages.
meta.total_pages:
type: integer
description: How many pages there are.
GetTeamsTeamidResponse:
type: object
properties:
data.id:
type: string
description: The team's id.
data.name:
type: string
description: The team's full name.
data.short_name:
type: string
description: A shorter name for tight spaces.
data.country:
type: string
description: The team's country.
data.is_mens_team:
type: boolean
description: true for a men's team, false for a women's team, null when unknown.
data.primary_competition:
type: object
description: The main competition the team plays in. Can be null.
data.primary_competition.id:
type: string
description: That competition's id.
data.primary_competition.name:
type: string
description: That competition's name.
data.stadium:
type: object
description: The team's home ground.
data.stadium.name:
type: string
description: Stadium name.
data.stadium.capacity:
type: integer
description: How many people it holds.
data.stadium.city:
type: string
description: The city it's in.
GetTeamsTeamidStatsResponse:
type: object
properties:
data.team_id:
type: string
description: The team's id.
data.season_id:
type: string
description: The season the numbers cover.
data.competition_id:
type: string
description: The competition that season belongs to.
data.matches_played:
type: integer
description: Matches played.
data.wins:
type: integer
description: Matches won.
data.draws:
type: integer
description: Matches drawn.
data.losses:
type: integer
description: Matches lost.
data.points:
type: integer
description: Points earned.
data.position:
type: integer
description: Place in the table.
data.goals_for:
type: integer
description: Goals scored.
data.goals_against:
type: integer
description: Goals conceded.
data.goal_difference:
type: integer
description: goals_for minus goals_against.
data.form:
type: string
description: 'Results of the latest finished matches that season, up to five letters: W, D or L.'
data.expected_goals_for:
type: number
description: xG created, summed over the matches in xg_matches. Null when none of them has xG, for example in a competition without
xG coverage.
data.expected_goals_against:
type: number
description: xG conceded, summed over the matches in xg_matches. Null when none of them has xG.
data.xg_matches:
type: integer
description: How many matches the xG totals are based on.
GetV1MatchesResponse:
type: object
properties:
id:
type: string
competition_id:
type: string
season_id:
type: string
matchday:
type: integer
stage:
type: string
stage_name:
type:
- string
- 'null'
group_label:
type:
- string
- 'null'
status:
type: string
utc_date:
type: string
format: date-time
home_team:
type: object
properties:
id:
type: string
name:
type: string
away_team:
type: object
properties:
id:
type: string
name:
type: string
score:
type: object
properties:
home:
type: integer
away:
type: integer
final_score:
type:
- string
- 'null'
regulation:
type: object
properties:
home:
type: integer
away:
type: integer
after_extra_time:
type:
- string
- 'null'
penalty_shootout:
type:
- string
- 'null'
went_to_extra_time:
type: boolean
went_to_penalties:
type: boolean
winner:
type: string
is_neutral:
type: boolean
live:
type:
- string
- 'null'
home_manager:
type: object
properties:
id:
type: string
name:
type: string
away_manager:
type: object
properties:
id:
type: string
name:
type: string
odds_available:
type: boolean
live_odds_available:
type: boolean
xg_available:
type: boolean
shotmap_available:
type: boolean
xg_quality:
type: string
GetV1MatchesMatchidOddsLiveResponse:
type: object
properties:
data.match_id:
type: string
description: The match these prices are for.
data.bookmakers[]:
type: array
description: One entry per bookmaker quoting in‑play prices right now.
GetV1TeamsResponse:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
short_name:
type: string
country:
type: string
is_mens_team:
type: boolean
primary_competition:
type: object
properties:
id:
type: string
name:
type: string
meta:
type: object
properties:
page:
type: integer
per_page:
type: integer
total:
type: integer
total_pages:
type: integer
GetV1TeamsTeamidResponse:
type: object
properties:
data.id:
type: string
description: The team's id.
data.name:
type: string
description: The team's full name.
data.short_name:
type: string
description: A shorter name for tight spaces.
data.country:
type: string
description: The team's country.
data.is_mens_team:
type: boolean
description: true for a men's team, false for a women's team, null when unknown.
data.primary_competition:
type: object
description: The main competition the team plays in. Can be null.
data.primary_competition.id:
type: string
description: That competition's id.
data.primary_competition.name:
type: string
description: That competition's name.
data.stadium:
type: object
description: The team's home ground.
data.stadium.name:
type: string
description: Stadium name.
data.stadium.capacity:
type: integer
description: How many people it holds.
data.stadium.city:
type: string
description: The city it's in.
GetV1TeamsTeamidStatsResponse:
type: object
properties:
data.team_id:
type: string
description: The team's id.
data.season_id:
type: string
description: The season the numbers cover.
data.competition_id:
type: string
description: The competition that season belongs to.
data.matches_played:
type: integer
description: Matches played.
data.wins:
type: integer
description: Matches won.
data.draws:
type: integer
description: Matches drawn.
data.losses:
type: integer
description: Matches lost.
data.points:
type: integer
description: Points earned.
data.position:
type: integer
description: Place in the table.
data.goals_for:
type: integer
description: Goals scored.
data.goals_against:
type: integer
description: Goals conceded.
data.goal_difference:
type: integer
description: goals_for minus goals_against.
data.form:
type: string
description: 'Results of the latest finished matches that season, up to five letters: W, D or L.'
data.expected_goals_for:
type: number
description: xG created, summed over the matches in xg_matches. Null when none of them has xG, for example in a competition without
xG coverage.
data.expected_goals_against:
type: number
description: xG conceded, summed over the matches in xg_matches. Null when none of them has xG.
data.xg_matches:
type: integer
description: How many matches the xG totals are based on.
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-Api-Key
security:
- apiKey: []
tags:
- name: Competitions
- name: Health
- name: Matches
- name: Teams