Real-time NBA moneyline, spread, total, and player-prop odds from every major US sportsbook — normalized to American odds and keyed to canonical game IDs.
The MoneyLine NBA odds API returns basketball game lines and player props in one normalized JSON shape. Instead of scraping each sportsbook for basketball lines, you call one endpoint with league=nba and get moneyline, spread, and total markets back — or scope to player props like points, rebounds, assists, and threes — with every price already converted to American odds across every source.
Every NBA game maps to a canonical eventId and exposes a summary with no-vig fair odds, the best available price, and the consensus average per outcome. That means you can compare books, surface the sharpest line, and spot value in a single request rather than building a normalization layer of your own.
Coverage spans major US sportsbooks — DraftKings, FanDuel, BetMGM, Caesars, ESPN BET, and more — so the same call can power a price-comparison screen, an over/under research tool, or a model-training pipeline. NBA player props share the same canonical event IDs as the game lines, so joining a points prop to its matchup is a single lookup rather than a fuzzy name match.
NBA props are further enriched with L5, L10, L25, and season hit rates computed from game logs and joined to active markets, plus opening-to-current line movement per market via odds-history — giving you both the current market and how it got there in one feed.
Sign up and grab an API key from the dashboard — no credit card for the free tier.
Pass the key as x-api-key and request /v1/odds with league=nba to get live basketball lines back.
Use the canonical eventId in each NBA response to pull matching player props for that game.
Moneyline, spread, and total for every NBA matchup across major US books.
Points, rebounds, assists, threes, and combos with normalized lines and prices.
Each outcome includes fairOdds (no-vig), bestOdds (best available), and avgOdds (consensus).
L5 / L10 / L25 / season hit rates for NBA props joined to active markets.
NBA games, odds, and props share one eventId so you can join across endpoints.
Opening-to-current consensus snapshots per NBA market via odds-history.
GET /v1/odds — NBA moneyline
Request
curl -H "x-api-key: $ML_API_KEY" \
"https://mlapi.bet/v1/odds?league=nba&market=moneyline"Response
{
"success": true,
"data": [
{
"eventId": "nba-ev-311286",
"leagueId": "nba",
"sport": "basketball",
"bookmakers": [
{
"bookmakerId": "draftkings",
"bookmakerName": "DraftKings",
"sourceType": "sportsbook",
"markets": [
{
"marketType": "moneyline",
"outcomes": [
{ "name": "Boston Celtics", "price": -180 },
{ "name": "Los Angeles Lakers", "price": 155 }
]
}
]
}
]
}
],
"meta": { "count": 1, "page": 1 }
}| Market type | Markets |
|---|---|
| Game lines | Moneyline, spread, total |
| Player props | Points, rebounds, assists, threes, combos |
Power NBA odds screens, prop pages, and best-line tables from one feed.
Combine player props with L5/L10/L25 hit rates for over/under analysis.
Show the best available NBA line per outcome across every book in one view.
Feed no-vig NBA fair odds into win-probability and edge models.
An NBA odds API delivers basketball betting lines — moneyline, spread, total, and player props — as structured JSON your app can consume, instead of scraping each sportsbook yourself.
Game markets (moneyline, spread, total) and player props such as points, rebounds, assists, threes, and combinations.
Major US books including DraftKings, FanDuel, BetMGM, Caesars, ESPN BET, and more, all normalized to American odds in one schema.
Yes — L5, L10, L25, and season hit rates are computed from game logs and joined to active props for in-window NBA events.
Fair odds remove the sportsbook margin (vig) from a market so you can compare the true implied probability of each NBA outcome across books.
Call /v1/odds?league=nba, then use the canonical eventId from each response to fetch that game and its player props.
Odds update continuously; the line-history cadence tightens to roughly every 20 minutes inside three hours of tip-off.
Free
$0/mo
1K credits/mo
Starter
$29/mo
150K credits/mo
Pro
$149/mo
1.5M credits/mo
Business
$299/mo
5M credits/mo
Enterprise
Custom
Unlimited credits/mo
Free tier to start, one API key, normalized responses across every league and sportsbook.