League key basketball_nba
NBA odds API
Pre-match and live NBA odds from bookmakers, with a margin-adjusted fair price on every market, in one consistent JSON format.
- 5Competitions
- 340+Bookmakers to choose from
- Pre-match + liveOver REST and WebSocket
- Fair oddsOn every market
NBA competitions in the catalog
These NBA competitions come from the bookmakers' own public listings. Each one has its own league key.
| Competition | League key |
|---|---|
| NBA | basketball_nba |
| NBA Cup | basketball_nba_cup |
| NBA Preseason | basketball_nba_preseason |
| NBA All Stars | basketball_nba_all_stars |
| NBA Summer League | basketball_nba_summer_league |
NBA markets
You get every market the bookmakers offer for each event. The most common ones:
- Moneyline
- Point spread
- Total points
- Quarter and half markets
- Team totals
- Player points, rebounds and assists
- Player three-pointers
- Double-double and triple-double
Bookmakers you can pick for NBA
A few well-known names from the bookmaker catalog. Which NBA competitions each bookmaker lists varies, and your plan sets how many bookmakers you choose.
Example request
One request returns the bookmaker price and the fair price for every outcome. Sport and league keys are being added to the API; the request shows the format.
Example fixture: Boston Celtics against Los Angeles Lakers. The teams are real; the odds and the time are made up.
GET https://api.valueoddsapi.com/v1/odds?sport=basketball&league=basketball_nba&phase=prematch
Authorization: Bearer YOUR_API_KEY{
"example": true,
"data": [
{
"event_id": "example-001",
"sport": "basketball",
"league": "basketball_nba",
"home_team": "Boston Celtics",
"away_team": "Los Angeles Lakers",
"phase": "prematch",
"bookmaker": "example-book",
"observed_at": "2026-11-03T12:00:00Z",
"data_age_seconds": 0.25,
"market": {
"id": "match_winner",
"period": "full_time",
"line": null,
"status": "open",
"method": "proportional_v1",
"fair_status": "available",
"overround": 0.0434,
"outcomes": [
{
"id": "home",
"bookmaker_odds": 1.8,
"fair_odds": 1.88,
"fair_probability": 0.5325
},
{
"id": "away",
"bookmaker_odds": 2.05,
"fair_odds": 2.14,
"fair_probability": 0.4675
}
]
}
}
]
}
Example data, not live prices. Fair odds use proportional margin removal. Read the integration guide
What you can build with NBA odds
Value betting tools
Compare each bookmaker's NBA price with the margin-free fair price and flag the outcomes priced above it.
Arbitrage scanners
Line up the bookmakers' prices on the same NBA market and spot when the best prices add up to less than 100%.
Odds comparison sites
Show the best NBA price for each outcome across the bookmakers you pick, all in one format.
Betting models and CLV tracking
Use fair probabilities as input for your NBA model and measure closing-line value: the price you took against the last price before the start.
Trading tools and bots
Stream NBA price changes over WebSocket and act on them in your own logic.
Live alerts and apps
Notify your users when NBA odds move, before and during the match.
Which plan fits
basketball_nba is included on every plan, along with every other league in every sport. The other NBA competitions in the table have their own keys and are included too.
Your plan sets how many bookmakers you choose, not how many leagues: NBA and every other basketball competition are always included.
Questions about NBA odds
Which NBA competitions does the API cover?
The catalog lists 5 NBA competitions, taken from bookmakers' own public listings: NBA, NBA Cup, NBA Preseason, NBA All Stars, NBA Summer League. Each has its own league key.
Do you have live NBA odds?
Yes. Pro and higher plans stream pre-match and live odds in real time over WebSocket and REST. Solo covers pre-match odds.
Are NBA player props included?
Yes, when the bookmakers you pick list them for the game. Player markets come with the bookmaker price and a margin-adjusted fair price side by side, like every other market; which player markets are listed varies per bookmaker.
How do I request NBA odds, and is it included in my plan?
Use the sport key basketball and the league key basketball_nba. NBA is included on every plan, and so are the other NBA competitions with their own keys.
Related pages
Other basketball competitions
Get NBA odds into your product
Bookmaker odds and fair odds in one format, from pre-match to live.