Betting Odds API

One REST endpoint for moneyline, spread, and total odds across every major US sportsbook — normalized into a single consistent JSON shape so you stop writing per-book parsers.

Overview

The MoneyLine betting odds API returns game-level odds (moneyline, spread, total) and player props from major US sportsbooks in one normalized format. Every price is converted to American odds and grouped under a canonical event ID, so a Celtics–Lakers game is the same eventId no matter which book it came from. That removes the per-book parsing layer most teams end up rebuilding from scratch.

You query by league, market, bookmaker, and source type. Omit the market parameter and you get game-level markets only; pass one and you scope the response to exactly that market. Each event also exposes a summary object with no-vig fair odds, the best available price, and the cross-book average per outcome, so value detection and best-line lookups are precomputed rather than something you assemble client-side.

Coverage spans NFL, NBA, MLB, NHL, NCAAF, and NCAAB, with prices drawn from major US books including DraftKings, FanDuel, BetMGM, and Caesars, plus DFS platforms and allowlisted exchanges exposed on separate source types. The bookmaker filter accepts canonical keys and aliases, so scoping to a single book is a one-parameter change rather than a lookup table you maintain.

A free tier covers both personal and commercial use with every endpoint included, so you can build an odds-comparison screen, a bet tracker, or a pricing model against the same normalized contract. Paid plans add throughput, not extra fields, which keeps your integration stable as you scale.

Get started

  1. 1

    Create a free API key

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

  2. 2

    Call /v1/odds

    Pass the key as x-api-key and request /v1/odds with a league and optional market filter to get live lines back.

  3. 3

    Read the price fields

    Per outcome, use fairOdds for no-vig pricing, bestOdds for the sharpest available line, and avgOdds for consensus.

Key features

Normalized across books

DraftKings, FanDuel, BetMGM, Caesars and more arrive in one shape — no per-sportsbook adapters to maintain.

No-vig fair odds

Every event summary includes fairOdds (no-vig), bestOdds (best available), and avgOdds (consensus) per outcome.

Game + player markets

Moneyline, spread, and total at the game level; points, yards, goals and more at the player level.

Canonical event IDs

Odds, events, and props share one eventId, so a game lines up across endpoints no matter which book priced it.

Source-type filtering

Scope to sportsbook, dfs, or exchange with a single query param, or pull every source at once.

Free tier, every endpoint

Start free for personal and commercial use; paid plans add throughput, not features.

Supported leagues

NFLNBAMLBNHLNCAAFNCAAB

Supported sportsbooks

DraftKingsFanDuelBetMGMCaesarsESPN BETFanaticsHard Rock BetBetRiversPinnaclebet365 (US)BovadaBetOnline.ag

Example request

GET /v1/odds — game odds by league

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",
      "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 types

MarketWhat it covers
MoneylineStraight-up winner priced as American odds across books
Spread / run line / puck lineHandicap markets with a point and a price per side
Total (over/under)Combined-score line with over and under prices
Player propsPer-player markets with normalized lines and prices

Use cases

Odds comparison sites

Render best-line tables across books from a single response with bestOdds already computed.

Bet trackers

Resolve any bet to a canonical event and store consistent IDs regardless of the originating book.

Models & dashboards

Feed no-vig fair odds into pricing models without scraping or normalizing yourself.

Value & arbitrage scanners

Compare each book against consensus fair odds to flag mispriced lines and arb opportunities.

Embeddable odds widgets

Drive odds screens and rails with normalized, paginated responses keyed to canonical events.

Latency & performance

FAQ

What is a betting odds API?

A betting odds API delivers sportsbook betting lines — moneyline, spread, total, and player props — as structured JSON your app can consume, instead of scraping each sportsbook yourself.

Which sportsbooks are covered?

Major US books including DraftKings, FanDuel, BetMGM, Caesars, ESPN BET, Fanatics, Hard Rock Bet, BetRivers, Pinnacle, and more, plus DFS and exchange venues on separate source types.

Which sports and leagues are covered?

NFL, NBA, MLB, NHL, NCAAF, and NCAAB, each with game lines and player-prop markets.

Are odds in American format?

Yes. All prices are normalized to American odds, including DFS prices which are exposed as indicative American odds for side-by-side comparison.

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 outcome across books.

How do I get the best line across books?

Request event odds and read the summary.bestOdds field per outcome, or compare the per-book outcomes directly.

Can I filter by sportsbook or source type?

Yes. Use the bookmaker param to scope to one book (aliases accepted) and sourceType to scope to sportsbook, dfs, or exchange.

Is there a free tier?

Yes — the free tier covers both personal and commercial use with every endpoint included. Paid plans add throughput.

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.