api-nba

api-nba

3.9

The `api-nba` MCP server provides comprehensive access to various NBA-related data and statistics.

seasons

All `seasons` can be used in other endpoints as filters. Seasons are only **4-digit keys** like `YYYY`. > This endpoint does not require any parameters.

Try it

    Result:

    leagues

    Get the list of available leagues. All `leagues` can be used in other endpoints as filters. **Available leagues** * Africa * Orlando * Sacramento * Standard * Utah * Vegas > This endpoint does not require any parameters.

    Try it

      Result:

      games

      Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

      Try it

      Default: 0

        Date (yyyy-mm-dd)

          Default: 0

          Default: 0

              Result:

              games_between_two_teams

              Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

              Try it

              Default: 0

                Date (yyyy-mm-dd)

                  Default: 0

                  Default: 0

                      Result:

                      games_in_live

                      Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

                      Try it

                      Default: 0

                        Date (yyyy-mm-dd)

                          Default: 0

                          Default: 0

                              Result:

                              games_per_season

                              Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

                              Try it

                              Default: 0

                                Date (yyyy-mm-dd)

                                  Default: 2021

                                  Default: 0

                                      Result:

                                      games_per_date

                                      Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

                                      Try it

                                      Default: 0

                                        Date (yyyy-mm-dd)

                                          Default: 0

                                          Default: 0

                                              Result:

                                              games_per_team_and_season

                                              Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

                                              Try it

                                              Default: 0

                                                Date (yyyy-mm-dd)

                                                  Default: 2021

                                                  Default: 1

                                                      Result:

                                                      games_per_id

                                                      Get the list of games according to the parameters. **Available status** * 1 : Not Started * 2 : live * 3 : Finished > This endpoint requires at least one parameter.

                                                      Try it

                                                      Default: 8899

                                                        Date (yyyy-mm-dd)

                                                          Default: 0

                                                          Default: 0

                                                              Result:

                                                              teams

                                                              Get data about teams. The team `id` are **unique** in the API and teams keep it among all seasons. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest

                                                              Try it

                                                              Default: 0

                                                                            Result:

                                                                            teams_per_conference

                                                                            Get data about teams. The team `id` are **unique** in the API and teams keep it among all seasons. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest

                                                                            Try it

                                                                            Default: 0

                                                                                          Result:

                                                                                          teams_per_division

                                                                                          Get data about teams. The team `id` are **unique** in the API and teams keep it among all seasons. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest

                                                                                          Try it

                                                                                          Default: 0

                                                                                                        Result:

                                                                                                        teams_per_code

                                                                                                        Get data about teams. The team `id` are **unique** in the API and teams keep it among all seasons. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest

                                                                                                        Try it

                                                                                                        Default: 0

                                                                                                                      Result:

                                                                                                                      teams_per_id

                                                                                                                      Get data about teams. The team `id` are **unique** in the API and teams keep it among all seasons. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest

                                                                                                                      Try it

                                                                                                                      Default: 1

                                                                                                                                    Result:

                                                                                                                                    players

                                                                                                                                    Get data about players. The player `id` are **unique** in the API and players keep it among all seasons. > This endpoint requires at least one parameter.

                                                                                                                                    Try it

                                                                                                                                    Default: 0

                                                                                                                                      Default: 1

                                                                                                                                      Default: 2021

                                                                                                                                            Result:

                                                                                                                                            players_per_team_and_season

                                                                                                                                            Get data about players. The player `id` are **unique** in the API and players keep it among all seasons. > This endpoint requires at least one parameter.

                                                                                                                                            Try it

                                                                                                                                            Default: 0

                                                                                                                                              Default: 1

                                                                                                                                              Default: 2021

                                                                                                                                                    Result:

                                                                                                                                                    players_per_id

                                                                                                                                                    Get data about players. The player `id` are **unique** in the API and players keep it among all seasons. > This endpoint requires at least one parameter.

                                                                                                                                                    Try it

                                                                                                                                                    Default: 1

                                                                                                                                                      Default: 0

                                                                                                                                                      Default: 0

                                                                                                                                                            Result:

                                                                                                                                                            players_per_country

                                                                                                                                                            Get data about players. The player `id` are **unique** in the API and players keep it among all seasons. > This endpoint requires at least one parameter.

                                                                                                                                                            Try it

                                                                                                                                                            Default: 0

                                                                                                                                                              Default: 0

                                                                                                                                                              Default: 0

                                                                                                                                                                    Result:

                                                                                                                                                                    standings

                                                                                                                                                                    Get the standings for a league & season. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest > Parameters `league` & `season` are required.

                                                                                                                                                                    Try it

                                                                                                                                                                      Default: 2021

                                                                                                                                                                      Default: 0

                                                                                                                                                                            Result:

                                                                                                                                                                            standings_per_conference_and_season

                                                                                                                                                                            Get the standings for a league & season. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest > Parameters `league` & `season` are required.

                                                                                                                                                                            Try it

                                                                                                                                                                              Default: 2021

                                                                                                                                                                              Default: 0

                                                                                                                                                                                    Result:

                                                                                                                                                                                    standings_per_division_and_season

                                                                                                                                                                                    Get the standings for a league & season. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest > Parameters `league` & `season` are required.

                                                                                                                                                                                    Try it

                                                                                                                                                                                      Default: 2021

                                                                                                                                                                                      Default: 0

                                                                                                                                                                                            Result:

                                                                                                                                                                                            standings_per_team_and_season

                                                                                                                                                                                            Get the standings for a league & season. **Available conferences** * East * West **Available divisions** * Atlantic * Central * Northwest * Pacific * Southeast * Southwest > Parameters `league` & `season` are required.

                                                                                                                                                                                            Try it

                                                                                                                                                                                              Default: 2021

                                                                                                                                                                                              Default: 1

                                                                                                                                                                                                    Result:

                                                                                                                                                                                                    games_statistics

                                                                                                                                                                                                    Get the statistics of the teams that played a game.

                                                                                                                                                                                                    Try it

                                                                                                                                                                                                    Default: 10403

                                                                                                                                                                                                        Result:

                                                                                                                                                                                                        teams_statistics

                                                                                                                                                                                                        Get the overall statistics of a team for a given `season`.

                                                                                                                                                                                                        Try it

                                                                                                                                                                                                        Default: 1

                                                                                                                                                                                                          Default: 2020

                                                                                                                                                                                                              Result:

                                                                                                                                                                                                              players_statistics_per_player_and_season

                                                                                                                                                                                                              Get statistics from one or more players. > This endpoint requires at least one parameter.

                                                                                                                                                                                                              Try it

                                                                                                                                                                                                              Default: 236

                                                                                                                                                                                                              Default: 0

                                                                                                                                                                                                              Default: 0

                                                                                                                                                                                                              Default: 2020

                                                                                                                                                                                                                Result:

                                                                                                                                                                                                                players_statistics_per_team_and_season

                                                                                                                                                                                                                Get statistics from one or more players. > This endpoint requires at least one parameter.

                                                                                                                                                                                                                Try it

                                                                                                                                                                                                                Default: 0

                                                                                                                                                                                                                Default: 0

                                                                                                                                                                                                                Default: 1

                                                                                                                                                                                                                Default: 2020

                                                                                                                                                                                                                  Result:

                                                                                                                                                                                                                  players_statistics_per_game_id

                                                                                                                                                                                                                  Get statistics from one or more players. > This endpoint requires at least one parameter.

                                                                                                                                                                                                                  Try it

                                                                                                                                                                                                                  Default: 0

                                                                                                                                                                                                                  Default: 8133

                                                                                                                                                                                                                  Default: 0

                                                                                                                                                                                                                  Default: 0

                                                                                                                                                                                                                    Result:

                                                                                                                                                                                                                    search_teams

                                                                                                                                                                                                                    Search team by name.

                                                                                                                                                                                                                    Try it

                                                                                                                                                                                                                    Default: 0

                                                                                                                                                                                                                                  Result:

                                                                                                                                                                                                                                  search_players

                                                                                                                                                                                                                                  Search a player by lastname.

                                                                                                                                                                                                                                  Try it

                                                                                                                                                                                                                                  Default: 0

                                                                                                                                                                                                                                    Default: 0

                                                                                                                                                                                                                                    Default: 0

                                                                                                                                                                                                                                          Result: