Documentation / Matches
FOOTBALL GOALS AND CARDS API
EventsComplimentary key
Every goal and card of a match, in the order it happened, to the minute. On the complimentary key it reads this season's Premier League.
GET
/v1/matches/{match_id}/eventsTRY ITComplimentary
Kept in this browser for every docs page. No key yet? Get a free key
GET https://api.footballapi.org/v1/matches/mt_95kf4jw9a/eventsThe answer appears below, with its status and time.
curl "https://api.footballapi.org/v1/matches/mt_95kf4jw9a/events" \ -H "X-API-Key: your key"
PARAMETERS
match_idrequiredstringA match id from any result, fixture or match list, such as mt_e2hk79mn5. In the path.RETURNS
match_idstringOur id for the match, mt_ and 9 characters, the same in every answer and for goodkickoff_datestringThe day of kickoff in UTC, YYYY-MM-DDcountry_namestringThe country, or World or Europe for a tournamentcompetition_namestringThe competition as people write ithome_club_idstringOur id for the home clubhome_club_namestringThe home clubaway_club_idstringOur id for the away clubaway_club_namestringThe away clubhome_goalsintegerHome goals at full timeaway_goalsintegerAway goals at full timehalf_timeobjectThe score at half timehalf_time.homeintegerThe home sidehalf_time.awayintegerThe away sidestoppage_minutesnull or moreMinutes of added time; null when not recordedhas_eventsbooleanWhether goals and cards are recorded for this matchgoalsintegerGoals in the matchred_cardsintegerRed cardstimelinelistEach goal and card, in the order it happenedtimeline[].typestringWhat happenedtimeline[].minutestringThe minute of the matchtimeline[].club_namestringThe clubEXAMPLE ANSWER
200GET /v1/matches/mt_95kf4jw9a/events, taken 21 Oct 2026, first rows shown
{ "data": { "match_id": "mt_95kf4jw9a", "kickoff_date": "2026-10-19", "country_name": "England", "competition_name": "Premier League", "home_club_id": "cl_4x2bczxvv", "home_club_name": "Tottenham", "away_club_id": "cl_frt0n2e46", "away_club_name": "Coventry", "home_goals": 3, "away_goals": 1, "half_time": { "home": 1, "away": 0 }, "stoppage_minutes": null, "has_events": true, "goals": 4, "red_cards": 0, "timeline": [ { "type": "goal", "minute": "14", "club_name": "Tottenham" }, { "type": "goal", "minute": "49", "club_name": "Coventry" }, { "type": "goal", "minute": "58", "club_name": "Tottenham" } ] }, "meta": { "count": 0, "request_id": "req_b24aa3ae4ad27f98" } }
ERRORS
401unauthorizedNo key, or a key we do not know.400bad_requestA parameter is missing or not in the right form; the message names it.403upgrade_requiredAnything outside this season's Premier League, on the complimentary key.404not_foundAn id or competition we do not have.422unknown_parameterA parameter this endpoint does not take.429quota_exceededThe day's 50 calls are used, on the complimentary key; they reset at 00:00 UTC.