Sports coverage

NBA Odds API: live lines, one call.

Last updated 2026-07-04

Live NBA h2h (moneyline), spreads, and totals from multiple sportsbooks, normalized into one JSON response. Sport key: basketball_nba.

NBA is one of the two free-tier sports: moneylines on free, spreads and totals on Professional, and the full intelligence layer including 8 player prop markets on Business.

What's covered

Marketsh2h (moneyline), spreads, and totals
PlansFree (moneylines) and every paid plan
Player propsServed via /props/ (Business)
Historical archiveSnapshots via /historical/odds (Business)
IntelligencePinnacle-anchored edges + fair odds (Business)
BooksUS retail plus UK, EU, and AU books where the sport is quoted; filter with regions= and bookmakers=

First call

curl "https://api.theoddsapi.com/odds/?sport_key=basketball_nba" \
  -H "x-api-key: YOUR_API_KEY"

Returns upcoming and in-play NBA events with every tracked book's current prices. Free key in minutes, no credit card. Full parameters in the API reference.

Questions

How do I get NBA odds from an API?

Request https://api.theoddsapi.com/odds/?sport_key=basketball_nba with your key in the x-api-key header. The response contains every tracked bookmaker's current h2h (moneyline), spreads, and totals prices for each upcoming NBA event, normalized into one JSON shape.

Which plan do I need for NBA?

NBA core odds are available on: Free (moneylines) and every paid plan. Player props, edge detection, fair odds, and the historical archive require Business.

All sports: coverage hub · Definitions: glossary · Do the math: calculators