BallDontLie
communityFree API for NBA stats with players, teams, games, and historical season data.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.balldontlie.io/v1/playersSearch NBA players
Parameters
cursorpagination (integeroptionalsearchplayer name (stringoptionalper_pageresults (integeroptionalReturns
data[] with id, first_name, last_name, position, height, weight, team.full_name, team.conference, team.divisionGET
https://api.balldontlie.io/v1/gamesGet NBA games
Parameters
dates[]YYYY-MM-DD (stringoptionalper_pageresults (integeroptionalseasons[]year (integeroptionalteam_ids[]team IDs (integeroptionalReturns
data[] with id, date, home_team, visitor_team, home_team_score, visitor_team_score, status, period, timeGET
https://api.balldontlie.io/v1/statsGet player game stats
Parameters
per_pageresults (integeroptionalgame_ids[]game IDs (integeroptionalplayer_ids[]player IDs (integeroptionalReturns
data[] with player, game, team, pts, reb, ast, stl, blk, min, fgm, fga, fg_pct, fg3m, ftm