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

Basketball line-ups API

Line-ups
Free key reads yesterdayMCP tool: match_detailKept 30 minutes

Starters, substitutes and formations for both sides.

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/events/{id}/lineups

Try it

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

GET
200 OK1246 ms1 recordReal answer from 2026-11-03, trimmed
{
    "data": {
        "game": {
            "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
            }
        },
        "home": {
            "team": {
                "id": "bb_rrb2y5qsj2",
                "name": "Partizan Mozzart Bet"
            },
            "coach": null,
            "totals": {
                "points": 97,
                "two_made": 18,
                "two_attempted": 27,
                "three_made": 14,
                "three_attempted": 33,
                "free_throws_made": 19,
                "free_throws_attempted": 27,
                "offensive_rebounds": 10,
                "defensive_rebounds": 22,
                "rebounds": 32,
                "assists": 21,
                "steals": 5,
                "turnovers": 11,
                "blocks": 6,
                "blocks_received": 2,
                "fouls": 19,
                "fouls_drawn": 24,
                "performance_index": 117,
                "field_goals_made": 32,
                "field_goals_attempted": 60
            },
            "matches_final": true,
            "sheet_note": null,
            "players": [
                {
                    "player": {
                        "id": "bb_wyghh3rtx0",
                        "name": "Antonio Dudley Reeves"
                    },
                    "number": "12",
                    "starter": true,
                    "played": true,
                    "minutes": "22:19",
                    "seconds": 1339,
                    "points": 11,
                    "two_made": 0,
                    "two_attempted": 0,
                    "three_made": 3,
                    "three_attempted": 4,
                    "free_throws_made": 2,
                    "free_throws_attempted": 2,
                    "offensive_rebounds": 1,
                    "defensive_rebounds": 2,
                    "rebounds": 3,
                    "assists": 3,
                    "steals": 1,
                    "turnovers": 2,
                    "blocks": 0,
                    "blocks_received": 0,
                    "fouls": 1,
                    "fouls_drawn": 2,
                    "performance_index": 16,
                    "field_goals_made": 3,
                    "field_goals_attempted": 4,
                    "plus_minus": 12
                },
                {
                    "player": {
                        "id": "bb_5m1ffm119c",
                        "name": "Carlik Jones"
                    },
                    "number": "1",
                    "starter": true,
                    "played": true,
                    "minutes": "21:08",
                    "seconds": 1268,
                    "points": 16,
                    "two_made": 6,
                    "two_attempted": 10,
                    "three_made": 1,
                    "three_attempted": 3,
                    "free_throws_made": 1,
                    "free_throws_attempted": 1,
                    "offensive_rebounds": 1,
                    "defensive_rebounds": 3,
                    "rebounds": 4,
                    "assists": 4,
                    "steals": 0,
                    "turnovers": 1,
                    "blocks": 0,
                    "blocks_received": 1,
                    "fouls": 1,
                    "fouls_drawn": 4,
                    "performance_index": 19,
                    "field_goals_made": 7,
                    "field_goals_attempted": 13,
                    "plus_minus": 5
                },
                {
                    "player": {
                        "id": "bb_ajtyg7dcnf",
                        "name": "Arijan Lakic"
                    },
                    "number": "19",
                    "starter": true,
                    "played": true,
                    "minutes": "19:17",
                    "seconds": 1157,
                    "points": 0,
                    "two_made": 0,
                    "two_attempted": 0,
                    "three_made": 0,
                    "three_attempted": 2,
                    "free_throws_made": 0,
                    "free_throws_attempted": 0,
                    "offensive_rebounds": 0,
                    "defensive_rebounds": 2,
                    "rebounds": 2,
                    "assists": 1,
                    "steals": 1,
                    "turnovers": 0,
                    "blocks": 0,
                    "blocks_received": 0,
                    "fouls": 1,
                    "fouls_drawn": 1,
                    "performance_index": 2,
                    "field_goals_made": 0,
                    "field_goals_attempted": 2,
                    "plus_minus": 2
                }
            ]
        },
        "away": {
            "team": {
                "id": "bb_6atbhcvk5n",
                "name": "U-Bt Cluj-Napoca"
            },
            "coach": null,
            "totals": {
                "points": 77,
                "two_made": 20,
                "two_attempted": 45,
                "three_made": 11,
                "three_attempted": 26,
                "free_throws_made": 4,
                "free_throws_attempted": 12,
                "offensive_rebounds": 10,
                "defensive_rebounds": 19,
                "rebounds": 29,
                "assists": 17,
                "steals": 11,
                "turnovers": 11,
                "blocks": 2,
                "blocks_received": 6,
                "fouls": 24,
                "fouls_drawn": 19,
                "performance_index": 66,
                "field_goals_made": 31,
                "field_goals_attempted": 71
            },
            "matches_final": true,
            "sheet_note": null,
            "players": [
                {
                    "player": {
                        "id": "bb_w6c41cr3jy",
                        "name": "Javonte Smart"
                    },
                    "number": "1",
                    "starter": true,
                    "played": true,
                    "minutes": "27:47",
                    "seconds": 1667,
                    "points": 15,
                    "two_made": 3,
                    "two_attempted": 5,
                    "three_made": 3,
                    "three_attempted": 7,
                    "free_throws_made": 0,
                    "free_throws_attempted": 0,
                    "offensive_rebounds": 2,
                    "defensive_rebounds": 3,
                    "rebounds": 5,
                    "assists": 4,
                    "steals": 1,
                    "turnovers": 1,
                    "blocks": 0,
                    "blocks_received": 0,
                    "fouls": 4,
                    "fouls_drawn": 2,
                    "performance_index": 16,
                    "field_goals_made": 6,
                    "field_goals_attempted": 12,
                    "plus_minus": -7
                },
                {
                    "player": {
                        "id": "bb_9mterkyr7s",
                        "name": "Uros Plavsic"
                    },
                    "number": "22",
                    "starter": true,
                    "played": true,
                    "minutes": "27:30",
                    "seconds": 1650,
                    "points": 13,
                    "two_made": 6,
                    "two_attempted": 11,
                    "three_made": 0,
                    "three_attempted": 0,
                    "free_throws_made": 1,
                    "free_throws_attempted": 6,
                    "offensive_rebounds": 4,
                    "defensive_rebounds": 2,
                    "rebounds": 6,
                    "assists": 3,
                    "steals": 2,
                    "turnovers": 1,
                    "blocks": 1,
                    "blocks_received": 1,
                    "fouls": 4,
                    "fouls_drawn": 10,
                    "performance_index": 19,
                    "field_goals_made": 6,
                    "field_goals_attempted": 11,
                    "plus_minus": -23
                },
                {
                    "player": {
                        "id": "bb_54ke0p2b66",
                        "name": "Otis Antoine Livingston Jr"
                    },
                    "number": "0",
                    "starter": true,
                    "played": true,
                    "minutes": "26:39",
                    "seconds": 1599,
                    "points": 14,
                    "two_made": 1,
                    "two_attempted": 4,
                    "three_made": 4,
                    "three_attempted": 8,
                    "free_throws_made": 0,
                    "free_throws_attempted": 0,
                    "offensive_rebounds": 0,
                    "defensive_rebounds": 2,
                    "rebounds": 2,
                    "assists": 7,
                    "steals": 4,
                    "turnovers": 4,
                    "blocks": 0,
                    "blocks_received": 0,
                    "fouls": 2,
                    "fouls_drawn": 1,
                    "performance_index": 15,
                    "field_goals_made": 5,
                    "field_goals_attempted": 12,
                    "plus_minus": -10
                }
            ]
        }
    },
    "meta": {
        "sport": "basketball",
        "endpoint": "/events/{id}/lineups",
        "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
gameobjectGame
homeobjectThe home side
awayobjectThe away side
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