/soccer/matches/{id}Get soccer match by ID
Returns a single soccer match by its match ID, or by its static_id. The detail adds timeline: the events normalised (minute, extra_minute, team home/away, team_id, kind goal, penalty, own_goal, missed_penalty, yellow, second_yellow, red, substitution or var, player, assist, player_in/player_out, detail: card reason, "injury" or the VAR outcome, on_field_decision) from the commentary summary (top leagues) or else the livescore events (minute null when the feed gave none; no header, body part or per-shot xG: not in the feeds); and referee_stats: the referee's season in this league (see /soccer/referees).
Parameters
idinteger · pathrequiredMatch ID
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjectadded_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 |
|---|---|---|
| 400 | INVALID_PARAM | A parameter is missing or wrong, and the message names it. Fix the request; do not retry it. |
| 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. |
| 404 | NOT_FOUND | No record with that id. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON