Basketball a game API
A gameOne game in full: both sides, the score, the venue and the officials.
Ask for it by our id, taken from any other basketball answer. The ids inside the answer each open their own endpoint, so you can follow a record from here to everything it links to.
It needs id. Leave one out and the answer names it, before any data is read.
Try it
Your key stays in this browser and is filled in on every docs page.
{
"data": {
"id": "bb_rknadrqbdk",
"competition": {
"id": "bb_k8jc1gev0h",
"name": "ABA League"
},
"season": {
"id": "bb_2h5t02xerd",
"name": "2026-27"
},
"stage": "regular",
"round": null,
"date": "2026-11-02",
"tip_off": "2026-11-02T12:00:00Z",
"status": "final",
"home": {
"id": "bb_rrb2y5qsj2",
"name": "Partizan Mozzart Bet"
},
"away": {
"id": "bb_6atbhcvk5n",
"name": "U-Bt Cluj-Napoca"
},
"home_score": 97,
"away_score": 77,
"attendance": null,
"venue": null,
"has": {
"boxscore": true,
"playbyplay": true,
"shots": false
},
"periods": null,
"officials": null
},
"meta": {
"sport": "basketball",
"endpoint": "/events/{id}",
"cached": false,
"age_seconds": 0
}
}Parameters
Query values this call takes. Anything else is refused with bad_param and the list it accepts.
| Name | Type | What it does | |
|---|---|---|---|
| id | id | required | The record, by our id, in the path. |
Returns
Each field in data, from a real answer. Every id is ours and opens its own endpoint.
| Field | Type | What it holds |
|---|---|---|
| id | id | Our id for this record |
| competition | object | The competition |
| season | object | The season |
| stage | string | The stage |
| round | null | The round |
| date | date | The day, YYYY-MM-DD |
| tip_off | datetime | Tip off |
| status | string | Its state: scheduled, live, finished or similar |
| home | object | The home side |
| away | object | The away side |
| home_score | integer | Home score |
| away_score | integer | Away score |
| attendance | null | Attendance |
| venue | null | The venue |
| has | object | Has |
| periods | null | Periods |
| officials | null | Officials |
| meta | What it holds |
|---|---|
| sport, endpoint | What you asked |
| count | Rows in this answer |
| page, per_page, total, next_cursor | Where you are in a paged list, when it is paged |
| as_of | When the data was built |
| cached, age_seconds | Whether this is a stored copy, and its age |
| access | On the free key: what it reads, and the plan that opens the rest |
Errors
Codes this call can give. Each is explained in Errors.
| Status | Code | When |
|---|---|---|
| 401 | no_key | No key sent, or not in a form we read |
| 401 | bad_key | A key we do not know |
| 403 | plan | The free key asked for a date other than yesterday |
| 404 | not_found | An id we never issued for basketball |
| 422 | bad_param | A value this call does not take, or a required one missing |
| 429 | rate | Over the calls a minute for your plan |
| 503 | upstream | The data is not answering; retry after Retry-After |
The free key reads yesterday. The Basketball plan opens live, fixtures and every date held, for $49 a month.
Add Basketball