Matches Statistics
This endpoint allows you to retrieve the statistics from matches.
Types of the statistics: Highest checkout, Checkouts over 100, Thrown over 100, Checkouts accuracy, Thrown over 140, Thrown 180.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. 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://darts.sportdevs.com/matches-statistics?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.8
The id of the match
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 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
matches-live.id
. - statistics jsonb
The statistics of the match
[
{
"match_id": 8,
"statistics": [
{
"type": "Checkouts accuracy",
"period": "ALL",
"category": "Attacking",
"away_team": "4/11 (36%)",
"home_team": "2/6 (33%)"
},
{
"type": "Checkouts over 100",
"period": "ALL",
"category": "Attacking",
"away_team": "1",
"home_team": "0"
},
{
"type": "Highest checkout",
"period": "ALL",
"category": "Attacking",
"away_team": "105",
"home_team": "81"
},
{
"type": "Thrown 180",
"period": "ALL",
"category": "Attacking",
"away_team": "1",
"home_team": "3"
},
{
"type": "Thrown over 100",
"period": "ALL",
"category": "Attacking",
"away_team": "7",
"home_team": "3"
},
{
"type": "Thrown over 140",
"period": "ALL",
"category": "Attacking",
"away_team": "3",
"home_team": "3"
}
]
}
]