/soccer/matchesList soccer matches
Returns a paginated list of soccer matches with optional filtering
Parameters
limitinteger · queryMaximum results (1-100)
Default:50offsetinteger · queryResults to skip
Default:0datestring · queryFilter by date (YYYY-MM-DD)
date_fromstring · queryMatches on or after this date (YYYY-MM-DD)
date_tostring · queryMatches on or before this date (YYYY-MM-DD)
statusstring · queryFilter by status (FT, 1H, HT, 2H, NS, Unknown)
league_idinteger · queryFilter by league ID
team_idinteger · queryOnly matches of this team (home or away, every competition)
orderstring · querydesc for latest first (default: by start time ascending)
One of:asc,descleague_namestring · queryFilter by exact league name: one division of a league the data provider files under one id (see divisions in /soccer/leagues)
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of objectadded_timeobjectcommentaries feed (top leagues)
first_halfintegersecond_halfintegerattendanceintegercommentaries feed (top leagues) or an official source
away_teamobjectidintegernamestringscoreintegereventsarray of objectextra_time_scorestringfixture_idintegerseason fixtures feed id
full_time_scorestring90 minutes
half_time_scorestringhighlightsstringHighlights video (YouTube) once posted, and the TV channels showing the match, by country (TheSportsDB). Every sport's match answers carry them (middleware.MatchMedia); listed here for the API docs.
home_teamobjectidintegernamestringscoreintegeridintegerleague_gidintegerleague_idintegerleague_namestringmatch_idintegerpenalty_scorestringshoot-out
refereestringcommentaries feed (top leagues) or an official source
referee_statsobjectRefereeStats: the referee's season in this league (match detail only; absent without a referee or computed statistics).
countrystringfirst_match_datestringgamesintegerlast_match_datestringleague_idintegerleague_matches_playedintegerleague_matches_with_refereeintegerleague_matches_with_statsintegerleague_namestringnamestringpenaltiesintegerpenalties_per_gamenumberred_cardsintegerred_per_gamenumberseasonstringsecond_yellowsintegerslugstringupdated_atstringyellow_cardsintegeryellow_per_gamenumberroundstringseasonstringsourcesobjectSources names the official source of fields it supplied (e.g. {"result": "dfb", "events": "dfb"}); absent when all data is the provider's.
sportstringstart_datestringstart_timestringstatic_idintegerthe data provider id shared by livescore and season feeds; the stable key
statusstringtimelinearray of objectTimeline: the events normalised (kind goal, penalty, own_goal, missed_penalty, yellow, second_yellow, red, substitution, var), from the commentary summary (top leagues) or else the events above. Match detail only; absent when no event is known.
assistobjectdetailstringDetail: a card's reason, "injury" for an injury substitution, a VAR review's outcome ("Goal cancelled").
extra_minuteintegerkindstringminuteintegernull: the feed gave no minute
on_field_decisionstringVAR: the referee's decision reviewed
playerobjectplayer_inobjectplayer_outobjectteamstringhome or away
team_idintegertvarray of objectchannelstringcountrystring
Errors
| Status | Code | When |
|---|---|---|
| 401 | UNAUTHORIZED | The key is missing, mistyped or was rotated. |
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
| 403 | FORBIDDEN | The sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features). |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests (QUOTA_EXCEEDED for the daily limit). Wait for Retry-After. |
| 500 | INTERNAL_ERROR | Our side. Try again after a few seconds and check the status page. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON