stats, events, and ball fields of the live snapshot give you a detailed picture of everything happening in a match. This page documents their structure and the values you can expect to encounter.
Statistics
Thestats field is a map of stat key → per-side integers:
Common soccer stat keys
| Key | Description |
|---|---|
shots_on_target | Shots on target |
shots_off_target | Shots off target |
attacks | Total attacks |
dangerous_attacks | Dangerous attacks |
possession | Ball possession (percentage) |
corners | Corner kicks |
yellow_cards | Yellow cards |
red_cards | Red cards |
Example
Events
Theevents field is an array of timeline incidents recorded during the match. It may be null if no events have occurred yet.
Event fields
The match minute at which the event occurred, e.g.
"60" or "90+2".The event type. See the table below.
Which team the event is associated with:
"home", "away", or an empty string.Human-readable description of the event.
The score at the time of the event, e.g.
"1-0". Present for goal events; optional otherwise.Extra detail about the event (optional).
Event types
type | Description |
|---|---|
goal | A goal was scored |
corner | A corner kick was awarded |
yellow_card | A yellow card was shown |
red_card | A red card was shown |
penalty | A penalty was awarded |
substitution | A player substitution |
event | A generic or uncategorized incident |
Example events array
The
events array in a full_time result snapshot includes the complete match timeline from kick-off to the final whistle.Ball position
Theball field contains the last event-anchored position of the ball on the pitch. It is updated whenever a notable event is recorded and reflects where that event took place.
Ball position fields
Normalized x position, from
0 to 1, where 1 is the attacking end of the pitch.Normalized y position, from
0 to 1.The type of event associated with this position (optional), e.g.
"goal".The match minute at which the position was recorded (optional).
Extra detail about the event at this position (optional).