GET /tennis/matches/{id}
Get tennis match by ID
Returns a single tennis match by its match ID
In the plans that cover this sport Pay per call without a key: $0.005 in USDC
Parameters
idinteger · path required
Match ID
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobject
category_idinteger
category_namestring
competitor1object
game_scorestring
idinteger
member_idsarray of integer
namestring
servingboolean
sets_woninteger
winnerboolean
competitor2object
game_scorestring
idinteger
member_idsarray of integer
namestring
servingboolean
sets_woninteger
winnerboolean
disciplinestring
idinteger
match_idinteger
set_scoresobject
s1object
s2object
s3object
s4object
s5object
sportstring
stagestring
start_datestring
start_timestring
statusstring
surfacestring
tiebreakboolean
tourstring
errorobject
codestring
messagestring
metaobject
attributionstring
Attribution a data source's licence asks for (Cricsheet's history).
limitinteger
offsetinteger
totalinteger
successboolean
Errors
Status Code When
400 INVALID_PARAMA parameter is missing or wrong, and the message names it. Fix the request; do not retry it.
401 UNAUTHORIZEDThe key is missing, mistyped or was rotated.
402 x402 offersNo key and no valid payment: the body lists what to pay. Only a 200 answer is charged.
404 NOT_FOUNDNo record with that id.
All errors have the shape described in Errors and limits .
Generated from the OpenAPI file, version 1.0. See it as JSON
Was this page helpful? Yes No
curl JavaScript Python PHP
Copy
curl "https://api.sportstatsapi.com/api/v1/tennis/matches/1" \
-H "Authorization: Bearer $SPORTSTATS_KEY"
const res = await fetch(
"https://api.sportstatsapi.com/api/v1/tennis/matches/1" ,
{ headers: { Authorization: `Bearer ${process.env.SPORTSTATS_KEY}` } }
);
const { data } = await res.json();
import os, requests
res = requests.get(
"https://api.sportstatsapi.com/api/v1/tennis/matches/1" ,
headers={"Authorization" : f"Bearer {os.environ['SPORTSTATS_KEY']}" },
)
data = res.json()["data" ]
$ch = curl_init ("https://api.sportstatsapi.com/api/v1/tennis/matches/1" );
curl_setopt ($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer " . getenv("SPORTSTATS_KEY" )]);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true );
$data = json_decode (curl_exec ($ch), true )["data" ];
200 OKExample response
{
"data" : {
"category_id" : 1 ,
"category_name" : "string" ,
"competitor1" : {
"game_score" : "string" ,
"id" : 1 ,
"member_ids" : [
0
],
"name" : "string" ,
"serving" : false ,
"sets_won" : 0 ,
"winner" : false
},
"competitor2" : {
"game_score" : "string" ,
"id" : 1 ,
"member_ids" : [
0
],
"name" : "string" ,
"serving" : false ,
"sets_won" : 0 ,
"winner" : false
},
"discipline" : "string" ,
"id" : 1 ,
"match_id" : 1 ,
"set_scores" : {
"s1" : {
"competitor1" : "string" ,
"competitor2" : "string"
},
"s2" : {
"competitor1" : "string" ,
"competitor2" : "string"
},
"s3" : {
"competitor1" : "string" ,
"competitor2" : "string"
},
"s4" : {
"competitor1" : "string" ,
"competitor2" : "string"
},
"s5" : {
"competitor1" : "string" ,
"competitor2" : "string"
}
},
"sport" : "string" ,
"stage" : "string" ,
"start_date" : "2026-10-14T18:00:00Z" ,
"start_time" : "2026-10-14T18:00:00Z" ,
"status" : "string" ,
"surface" : "string" ,
"tiebreak" : false ,
"tour" : "string"
},
"meta" : {
"attribution" : "string" ,
"limit" : 0 ,
"offset" : 0 ,
"total" : 0
},
"success" : false
}