Skip to main content
GET
Get live match timeline
After full-time, use Get match timeline. How to poll during a match: Live matches.

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer YOUR_API_KEY. Get one at https://www.thestatsapi.com/api-keys

Path Parameters

match_id
string
required

Match ID of a live match. Find live matches with GET /football/matches?status=live

Query Parameters

event_type
string

Comma-separated event types to keep (values of type, e.g. goal, yellow_card, substitution). Defaults to all. Unknown values return 400. Penalty goals are penalty_scored, not goal, so use goal,penalty_scored to get every goal; shoot-out kicks are also penalty_scored with period penalties

period
string

Comma-separated periods to keep. Values are first_half, second_half, extra_time_first_half, extra_time_second_half and penalties

team_id
string

Only events for this team

Response

The live timeline.

data
object
required
meta
object
required
Example: