GET /cricket/matches/live
Get live cricket matches
Returns the cricket matches in play, including multi-day matches between days (Stumps)
In preview, not in plans yet Pay per call without a key: $0.002 in USDC
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of object
attributionstring
Matches from Cricsheet's history (before the provider's feeds): the
notice its licence (ODC-BY) asks for.
away_teamobject
idinteger
inningsarray of object
namestring
scorestring
end_datestring
formatstring
Test, First-class, ODI, T20...
home_teamobject
idinteger
inningsarray of object
namestring
scorestring
idinteger
league_idinteger
league_namestring
match_idinteger
match_numstring
resultstring
seasonstring
sportstring
start_datestring
start_timestring
statusstring
tossstring
toss_winner_idinteger
venuestring
winner_idinteger
errorobject
codestring
messagestring
metaobject
attributionstring
Attribution a data source's licence asks for (Cricsheet's history).
limitinteger
offsetinteger
totalinteger
successboolean
Errors
Status Code When
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.
403 FORBIDDENThe sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features).
500 INTERNAL_ERROROur side. Try again after a few seconds and check the status page.
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/cricket/matches/live" \
-H "Authorization: Bearer $SPORTSTATS_KEY"
const res = await fetch(
"https://api.sportstatsapi.com/api/v1/cricket/matches/live" ,
{ headers: { Authorization: `Bearer ${process.env.SPORTSTATS_KEY}` } }
);
const { data } = await res.json();
import os, requests
res = requests.get(
"https://api.sportstatsapi.com/api/v1/cricket/matches/live" ,
headers={"Authorization" : f"Bearer {os.environ['SPORTSTATS_KEY']}" },
)
data = res.json()["data" ]
$ch = curl_init ("https://api.sportstatsapi.com/api/v1/cricket/matches/live" );
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" : [
{
"attribution" : "string" ,
"away_team" : {
"id" : 1 ,
"innings" : [
{}
],
"name" : "string" ,
"score" : "string"
},
"end_date" : "2026-10-14T18:00:00Z" ,
"format" : "string" ,
"home_team" : {
"id" : 1 ,
"innings" : [
{}
],
"name" : "string" ,
"score" : "string"
},
"id" : 1 ,
"league_id" : 1 ,
"league_name" : "string" ,
"match_id" : 1 ,
"match_num" : "string" ,
"result" : "string" ,
"season" : "string" ,
"sport" : "string" ,
"start_date" : "2026-10-14T18:00:00Z" ,
"start_time" : "2026-10-14T18:00:00Z" ,
"status" : "string" ,
"toss" : "string" ,
"toss_winner_id" : 1 ,
"venue" : "string" ,
"winner_id" : 1
}
],
"meta" : {
"attribution" : "string" ,
"limit" : 0 ,
"offset" : 0 ,
"total" : 0
},
"success" : false
}