NBA data API

NBA odds, betting splits & injury API

Get NBA lines, public betting splits, and the latest injury report for every game, plus teams and matchup history, from one API.

Get a free API keyRead the docs

NBA endpoints

Betting splits

Public bet % and money % on the spread, moneyline, and total for every game on the slate, with the current line.

GET https://api.playbook-api.com/v1/splits?league=NBA&api_key=YOUR_API_KEY

Game lines

Current spread, moneyline, and total for every upcoming game, with spread and over/under prices.

GET https://api.playbook-api.com/v1/lines?league=NBA&api_key=YOUR_API_KEY

Odds and game IDs

Upcoming games with Playbook game IDs, teams, and start times across sportsbooks.

GET https://api.playbook-api.com/v1/odds-games?league=NBA&api_key=YOUR_API_KEY

Player props

Main-line player props for one game, up to 5 markets per request: line plus over and under prices. Starter plan and up.

GET https://api.playbook-api.com/v1/player-props?league=NBA&gameId=GAME_ID&markets=points&api_key=YOUR_API_KEY

Injury report

The latest injury report grouped by team: player, status, and injury.

GET https://api.playbook-api.com/v1/injuries?league=NBA&api_key=YOUR_API_KEY

Historical splits

Past betting splits for backtesting and model training.

GET https://api.playbook-api.com/v1/splits-history?league=NBA&api_key=YOUR_API_KEY

Head-to-head

Recent meetings between two teams.

GET https://api.playbook-api.com/v1/head-to-head?league=NBA&teamA=BOS&teamB=NYK&api_key=YOUR_API_KEY

Recent form

Each team's last games with results and scores.

GET https://api.playbook-api.com/v1/recent-form?league=NBA&api_key=YOUR_API_KEY

Teams

Team metadata: names, abbreviations, and IDs used across the API.

GET https://api.playbook-api.com/v1/teams?league=NBA&api_key=YOUR_API_KEY

Games

Scheduled and completed games with scores and start times.

GET https://api.playbook-api.com/v1/games?league=NBA&api_key=YOUR_API_KEY

NBA widgets

Embed NBA content with one script tag: Game header, Score strip, Score ticker, Last 5 form, Win probability, Player props, Injury report.

Build a NBA widget

Pricing

Start free with 500 API requests and 1,000 widget loads a month, no credit card required. Paid plans start at $39.99 a month. Compare plans.

Questions

Can I get injuries for a past date?
Yes. Pass reportDate=YYYY-MM-DD to /v1/injuries for archived NBA reports.