API reference / Basketball
GET
/basketball/matches/liveGet live basketball matches
Returns all currently live basketball matches
In the plans that cover this sportPay 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 objectaway_teamobjectidintegernamestringscoreintegerfile_groupstringhome_teamobjectidintegernamestringscoreintegeridintegerleague_gidintegerleague_idintegerleague_namestringmatch_idintegerquarter_scoresobjectotobjectq1objectq2objectq3objectq4objectsportstringstart_datestringstart_timestringstatusstringtimerstringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 401 | UNAUTHORIZED | The key is missing, mistyped or was rotated. |
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
| 403 | FORBIDDEN | The sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features). |
| 500 | INTERNAL_ERROR | Our 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?