Fixture events

Fixture events

GET /v1/fixtures/{id}/events

The chronological match timeline: goals, corners, yellow and red cards, substitutions, missed penalties, and half-time / full-time period scores — corners included, which most football APIs leave out.

Parameters

id required Fixture id.

Example

GET /v1/fixtures/{id}/events
curl https://api.5dollarfootballapi.com/v1/fixtures/{id}/events
  -H "Authorization: Bearer fb_live_your_key"
{
  "success": 1,
  "data": {
    "fixture_id": 197590518,
    "events": [
      { "type": "corner", "minute": 3, "team": "home", "count": 1 },
      { "type": "goal", "minute": 4, "team": "home", "count": 1 },
      { "type": "yellow_card", "minute": 27, "team": "away", "count": 1 },
      { "type": "period_score", "minute": null, "team": null, "period": "first_half", "score": { "home": 1, "away": 0 } },
      { "type": "missed_penalty", "minute": 49, "team": "away" },
      { "type": "substitution", "minute": 60, "team": "home", "player_in": "R. Lewis", "player_out": "J. Cole" },
      { "type": "red_card", "minute": 78, "team": "away" },
      { "type": "period_score", "minute": null, "team": null, "period": "second_half", "score": { "home": 2, "away": 1 } }
    ]
  }
}

Need a key? Create a free account — a working key is issued instantly, no card required.