Matches Statistics
This endpoint allows you to retrieve the statistics from matches.
Types of the statistics: Drop shot, Second serve, First serve return points, Second serve return points, Total won, Forehand, Lob, Receiver points won, Tiebreaks, Total, Return, Max games in a row, First serve points, Break points converted, Backhand, Service games won, Second serve points, First serve, Overhead, Service games played, Overhead stroke, Service points won, Groundstroke, Aces, Volley, Break points saved, Max points in a row, Return games played, Double faults.
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://tennis.sportdevs.com/matches-statistics?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.4
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": 4,
"statistics": [
{
"type": "Aces",
"period": "1ST",
"category": "Service",
"away_team": "1",
"home_team": "1"
},
{
"type": "Aces",
"period": "2ND",
"category": "Service",
"away_team": "1",
"home_team": "0"
},
{
"type": "Aces",
"period": "ALL",
"category": "Service",
"away_team": "2",
"home_team": "1"
},
{
"type": "Break points converted",
"period": "1ST",
"category": "Return",
"away_team": "2",
"home_team": "3"
},
{
"type": "Break points converted",
"period": "2ND",
"category": "Return",
"away_team": "0",
"home_team": "3"
},
{
"type": "Break points converted",
"period": "ALL",
"category": "Return",
"away_team": "2",
"home_team": "6"
},
{
"type": "Break points saved",
"period": "1ST",
"category": "Service",
"away_team": "3/6 (50%)",
"home_team": "0/2 (0%)"
},
{
"type": "Break points saved",
"period": "2ND",
"category": "Service",
"away_team": "1/4 (25%)",
"home_team": "0/0 (0%)"
},
{
"type": "Break points saved",
"period": "ALL",
"category": "Service",
"away_team": "4/10 (40%)",
"home_team": "0/2 (0%)"
},
{
"type": "Double faults",
"period": "1ST",
"category": "Service",
"away_team": "7",
"home_team": "0"
},
{
"type": "Double faults",
"period": "2ND",
"category": "Service",
"away_team": "5",
"home_team": "0"
},
{
"type": "Double faults",
"period": "ALL",
"category": "Service",
"away_team": "12",
"home_team": "0"
},
{
"type": "First serve",
"period": "1ST",
"category": "Service",
"away_team": "17/29 (59%)",
"home_team": "18/22 (82%)"
},
{
"type": "First serve",
"period": "2ND",
"category": "Service",
"away_team": "11/22 (50%)",
"home_team": "8/14 (57%)"
},
{
"type": "First serve",
"period": "ALL",
"category": "Service",
"away_team": "28/51 (55%)",
"home_team": "26/36 (72%)"
},
{
"type": "First serve points",
"period": "1ST",
"category": "Service",
"away_team": "10/17 (59%)",
"home_team": "10/18 (56%)"
},
{
"type": "First serve points",
"period": "2ND",
"category": "Service",
"away_team": "7/11 (64%)",
"home_team": "8/8 (100%)"
},
{
"type": "First serve points",
"period": "ALL",
"category": "Service",
"away_team": "17/28 (61%)",
"home_team": "18/26 (69%)"
},
{
"type": "First serve return points",
"period": "1ST",
"category": "Return",
"away_team": "8/18 (44%)",
"home_team": "7/17 (41%)"
},
{
"type": "First serve return points",
"period": "2ND",
"category": "Return",
"away_team": "0/8 (0%)",
"home_team": "4/11 (36%)"
},
{
"type": "First serve return points",
"period": "ALL",
"category": "Return",
"away_team": "8/26 (30%)",
"home_team": "11/28 (39%)"
},
{
"type": "Max games in a row",
"period": "1ST",
"category": "Games",
"away_team": "2",
"home_team": "2"
},
{
"type": "Max games in a row",
"period": "2ND",
"category": "Games",
"away_team": "1",
"home_team": "6"
},
{
"type": "Max games in a row",
"period": "ALL",
"category": "Games",
"away_team": "2",
"home_team": "6"
},
{
"type": "Max points in a row",
"period": "1ST",
"category": "Points",
"away_team": "4",
"home_team": "8"
},
{
"type": "Max points in a row",
"period": "2ND",
"category": "Points",
"away_team": "4",
"home_team": "9"
},
{
"type": "Max points in a row",
"period": "ALL",
"category": "Points",
"away_team": "4",
"home_team": "9"
},
{
"type": "Receiver points won",
"period": "1ST",
"category": "Points",
"away_team": "9",
"home_team": "17"
},
{
"type": "Receiver points won",
"period": "2ND",
"category": "Points",
"away_team": "2",
"home_team": "13"
},
{
"type": "Receiver points won",
"period": "ALL",
"category": "Points",
"away_team": "11",
"home_team": "30"
},
{
"type": "Return games played",
"period": "1ST",
"category": "Return",
"away_team": "5",
"home_team": "4"
},
{
"type": "Return games played",
"period": "2ND",
"category": "Return",
"away_team": "3",
"home_team": "4"
},
{
"type": "Return games played",
"period": "ALL",
"category": "Return",
"away_team": "8",
"home_team": "8"
},
{
"type": "Second serve",
"period": "1ST",
"category": "Service",
"away_team": "5/12 (42%)",
"home_team": "4/4 (100%)"
},
{
"type": "Second serve",
"period": "2ND",
"category": "Service",
"away_team": "6/11 (55%)",
"home_team": "6/6 (100%)"
},
{
"type": "Second serve",
"period": "ALL",
"category": "Service",
"away_team": "11/23 (48%)",
"home_team": "10/10 (100%)"
},
{
"type": "Second serve points",
"period": "1ST",
"category": "Service",
"away_team": "2/12 (17%)",
"home_team": "3/4 (75%)"
},
{
"type": "Second serve points",
"period": "2ND",
"category": "Service",
"away_team": "2/11 (18%)",
"home_team": "4/6 (67%)"
},
{
"type": "Second serve points",
"period": "ALL",
"category": "Service",
"away_team": "4/23 (17%)",
"home_team": "7/10 (70%)"
},
{
"type": "Second serve return points",
"period": "1ST",
"category": "Return",
"away_team": "1/4 (25%)",
"home_team": "10/12 (83%)"
},
{
"type": "Second serve return points",
"period": "2ND",
"category": "Return",
"away_team": "2/6 (33%)",
"home_team": "9/11 (81%)"
},
{
"type": "Second serve return points",
"period": "ALL",
"category": "Return",
"away_team": "3/10 (30%)",
"home_team": "19/23 (82%)"
},
{
"type": "Service games played",
"period": "1ST",
"category": "Service",
"away_team": "4",
"home_team": "5"
},
{
"type": "Service games played",
"period": "2ND",
"category": "Service",
"away_team": "4",
"home_team": "3"
},
{
"type": "Service games played",
"period": "ALL",
"category": "Service",
"away_team": "8",
"home_team": "8"
},
{
"type": "Service games won",
"period": "ALL",
"category": "Games",
"away_team": "2",
"home_team": "6"
},
{
"type": "Service points won",
"period": "1ST",
"category": "Points",
"away_team": "12",
"home_team": "13"
},
{
"type": "Service points won",
"period": "2ND",
"category": "Points",
"away_team": "9",
"home_team": "12"
},
{
"type": "Service points won",
"period": "ALL",
"category": "Points",
"away_team": "21",
"home_team": "25"
},
{
"type": "Tiebreaks",
"period": "1ST",
"category": "Miscellaneous",
"away_team": "0",
"home_team": "0"
},
{
"type": "Tiebreaks",
"period": "2ND",
"category": "Miscellaneous",
"away_team": "0",
"home_team": "0"
},
{
"type": "Tiebreaks",
"period": "ALL",
"category": "Miscellaneous",
"away_team": "0",
"home_team": "0"
},
{
"type": "Total won",
"period": "ALL",
"category": "Games",
"away_team": "4",
"home_team": "12"
}
]
}
]