We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with NBA, or any of its subsidiaries or its affiliates. The names NBA as well as related names, marks, emblems and images are registered trademarks of their respective owners.
This endpoint retrieves all players from all seasons.
GET https://klqn0hf9bk.execute-api.us-east-1.amazonaws.com/prod/v1/players
Parameter | Default | Description |
---|---|---|
page | 1 | The page number used for pagination |
limit | 20 | the number of results returned per call, used for pagination. Max 100 |
search | Used to filter players based on their name. For example, ?search=davis will return players that have 'davis' in their first or last name. |
This endpoint let´s you post a new player (for example to upload a new draft class) - You need a special API-KEY to do this.
POST https://klqn0hf9bk.execute-api.us-east-1.amazonaws.com/prod/v1/players
x-api-key: secretValue
This endpoint let's you delete a player (for example a player retires) - You need a special API-KEY to do this.
DELETE https://klqn0hf9bk.execute-api.us-east-1.amazonaws.com/prod/v1/players/<ID>
Parameter | Description |
---|---|
ID | ID of the player to Delete |
x-api-key: secretValue
This endpoint retrieves all teams for the current season.
GET https://klqn0hf9bk.execute-api.us-east-1.amazonaws.com/prod/v1/teams
GET https://klqn0hf9bk.execute-api.us-east-1.amazonaws.com/prod/v1/teams/<ID>
Parameter | Description |
---|---|
ID | ID of the team to retrieve |