DataSportAPI
Docs
Your first call in one line

The free key reads yesterday for every sport, 50 calls a day. No card.

Get a free key
Basketball: Search
Search/v1/basketball/search
Every sport, one key

Complete reads all sixteen sports for $249 a month.

Take Complete
Ask in plain words

"Who won at Kempton yesterday?" Your assistant picks the tool and answers from your plan.

Connect in two minutes
Showing
Documentation / Basketball / Teams and players

Basketball a team API

A team
Free key reads yesterdayMCP tool: teamKept 30 minutes

A team and its record.

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.

GET/v1/basketball/teams/{id}

Try it

Your key stays in this browser and is filled in on every docs page.

GET
200 OK1247 ms1 recordReal answer from 2026-11-03, trimmed
{
    "data": {
        "id": "bb_kpbnq1y4fb",
        "name": "Dallas Mavericks",
        "country": "US",
        "city": "Dallas",
        "arena": "American Airlines Center",
        "arena_capacity": 19200,
        "founded": 1980,
        "coaches": [
            {
                "name": "Jason Kidd",
                "from": 2021,
                "to": null
            }
        ],
        "competitions": [
            {
                "id": "bb_w24r12xjgq",
                "name": "NBA",
                "seasons": [
                    {
                        "id": "bb_s1cp0p7mh3",
                        "name": "2026-27",
                        "games": 8
                    },
                    {
                        "id": "bb_vnw8fffhth",
                        "name": "2025-26",
                        "games": 82
                    },
                    {
                        "id": "bb_bqkb5pe5n0",
                        "name": "2024-25",
                        "games": 84
                    }
                ]
            }
        ]
    },
    "meta": {
        "sport": "basketball",
        "endpoint": "/teams/{id}",
        "cached": false,
        "age_seconds": 0
    }
}
No key yet? Get a free key: it reads yesterday for every sport and is filled in here once made.

Parameters

Query values this call takes. Anything else is refused with bad_param and the list it accepts.

NameTypeWhat it does
ididrequiredThe 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.

FieldTypeWhat it holds
ididOur id for this record
namestringIts name
countrystringThe country
citystringThe city
arenastringArena
arena_capacityintegerArena capacity
foundedintegerFounded
coacheslistCoaches
competitionslistCompetitions
metaWhat it holds
sport, endpointWhat you asked
countRows in this answer
page, per_page, total, next_cursorWhere you are in a paged list, when it is paged
as_ofWhen the data was built
cached, age_secondsWhether this is a stored copy, and its age
accessOn the free key: what it reads, and the plan that opens the rest

Errors

Codes this call can give. Each is explained in Errors.

StatusCodeWhen
401no_keyNo key sent, or not in a form we read
401bad_keyA key we do not know
403planThe free key asked for a date other than yesterday
404not_foundAn id we never issued for basketball
422bad_paramA value this call does not take, or a required one missing
429rateOver the calls a minute for your plan
503upstreamThe 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