NBA Odds API

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.

Overview

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.

Get started

  1. 1

    Create a free account

    Sign up and grab an API key from the dashboard — no credit card for the free tier.

  2. 2

    Call /v1/odds?league=nba

    Pass the key as x-api-key and request /v1/odds with league=nba to get live basketball lines back.

  3. 3

    Join the eventId to props

    Use the canonical eventId in each NBA response to pull matching player props for that game.

Key features

NBA game lines

Moneyline, spread, and total for every NBA matchup across major US books.

NBA player props

Points, rebounds, assists, threes, and combos with normalized lines and prices.

No-vig fair odds

Each outcome includes fairOdds (no-vig), bestOdds (best available), and avgOdds (consensus).

Hit rates

L5 / L10 / L25 / season hit rates for NBA props joined to active markets.

Canonical event IDs

NBA games, odds, and props share one eventId so you can join across endpoints.

Line movement

Opening-to-current consensus snapshots per NBA market via odds-history.

Supported leagues

NBA

Supported sportsbooks

DraftKingsFanDuelBetMGMCaesarsESPN BETFanaticsHard Rock BetBetRiversPinnaclebet365 (US)BovadaBetOnline.ag

Example request

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 }
}

NBA markets

Market typeMarkets
Game linesMoneyline, spread, total
Player propsPoints, rebounds, assists, threes, combos

Use cases

NBA betting tools

Power NBA odds screens, prop pages, and best-line tables from one feed.

Prop research

Combine player props with L5/L10/L25 hit rates for over/under analysis.

Price comparison

Show the best available NBA line per outcome across every book in one view.

Models

Feed no-vig NBA fair odds into win-probability and edge models.

Latency & performance

FAQ

What is an NBA odds API?

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.

Which NBA markets are available?

Game markets (moneyline, spread, total) and player props such as points, rebounds, assists, threes, and combinations.

Which sportsbooks are included?

Major US books including DraftKings, FanDuel, BetMGM, Caesars, ESPN BET, and more, all normalized to American odds in one schema.

Do you provide NBA player-prop hit rates?

Yes — L5, L10, L25, and season hit rates are computed from game logs and joined to active props for in-window NBA events.

What are no-vig fair odds?

Fair odds remove the sportsbook margin (vig) from a market so you can compare the true implied probability of each NBA outcome across books.

How do I get props for one NBA game?

Call /v1/odds?league=nba, then use the canonical eventId from each response to fetch that game and its player props.

How fresh are NBA odds?

Odds update continuously; the line-history cadence tightens to roughly every 20 minutes inside three hours of tip-off.

Related

Pricing

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

View full pricing →

Start building in minutes

Free tier to start, one API key, normalized responses across every league and sportsbook.