Matches Statistics
This endpoint allows you to retrieve the statistics from matches.
Types of the statistics: Tackles won, Goals prevented, Shots outside box, Expected goals, Through balls, Counter attacks, Shots inside box, Dribbles, Offsides, Red cards, Penalty saves, Passes, Timeouts, Counter attack shots, Interceptions, Yellow cards, Big chances, Shots on target, Shots off target, Big saves, Errors lead to a shot, Free kicks, Fouls, Recoveries, Errors lead to a goal, Fouled in final third, High claims, Clearances, Throw-ins, Blocked shots, Crosses, Aerials won, Touches in penalty area, Goal kicks, Hit woodwork, Ball possession, Counter attack goals, Accurate passes, Duels won, Total tackles, Dispossessed, Final third entries, Corner kicks, Goalkeeper saves, Final third phase, Aerial duels, Total shots, Tackles, Punches, Duels, Total saves, Expected assists, Big chances scored, Ground duels, Possession lost, Big chances missed, Long balls.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
langattribute. Example:lang=en.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute. Recommended Calls: Limit calls to 1 every minute.
Use Cases
Get statistics from a specific match_idhttps://football.sportmicro.com/matches-statistics?match_id=eq.{match_id}
Query Parameters
- match_id integer
The id of the match
Example: eq.17 - offset string
Default value:
0Limiting and Pagination
Example: 0 - limit string
Default value:
50Limiting and Pagination
Example: 50 - lang string
Default value:
enMulti-language
Example: en
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- match_id integer
The id of the match
Note: This is a Foreign Key to
injuries.match_id. - statistics jsonb
The statistics of the match
[
{
"match_id": 17,
"statistics": [
{
"type": "Red cards",
"period": "ALL",
"category": "Match overview",
"away_team": "1",
"home_team": "0"
},
{
"type": "Yellow cards",
"period": "ALL",
"category": "Match overview",
"away_team": "8",
"home_team": "1"
}
]
}
]