Sports Odds API

Pull normalized odds for every major US sport from one endpoint. Game lines, totals, and player props in a single JSON contract, keyed to canonical events.

Overview

The MoneyLine sports odds API covers every major US league — NFL, NBA, MLB, NHL, NCAAF, and NCAAB — with moneyline, spread, total, and player-prop markets returned in a single normalized JSON shape. Instead of wiring up a separate scraper or feed per sport, you call one endpoint and get every league back in the same contract, with prices already converted to American odds across sportsbooks, DFS platforms, and exchanges.

Each event carries a canonical ID and a summary object with no-vig fair odds, the best available price, and the consensus average per outcome. That lets you compare books, detect value, and surface the sharpest line for any sport without building a normalization layer of your own. Game markets differ by sport — a run line in MLB, a puck line in NHL, a spread in football and basketball — but the response shape stays identical, so your client never needs per-league special casing.

Player-prop coverage runs deep on top of the game lines: passing, rushing, and receiving markets in the NFL; points, rebounds, assists, and threes in the NBA; strikeouts and total bases in MLB; shots on goal and anytime goal scorer in the NHL. Because odds, events, and props all share the same canonical eventId, a single league query can fan out into every market a game offers.

Coverage spans major US sportsbooks, DFS pick-em platforms, and allowlisted exchanges, so the same multi-sport call can power a price-comparison screen, an arbitrage scanner, or a model-training pipeline. A free tier covers both personal and commercial use, with every endpoint and every league included.

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 with a league filter

    Pass the key as x-api-key and add a league param to pull live multi-sport odds back in one shape.

  3. 3

    Join odds to events and props

    Use the canonical eventId in each response to pull the matching event and its player props.

Key features

Every major US sport

NFL, NBA, MLB, NHL, NCAAF, and NCAAB from one consistent API — no per-sport integration.

Game + prop markets

Moneyline, spread, total, and a deep set of player-prop markets tailored to each sport.

One normalized shape

Run lines, puck lines, and spreads all arrive in the same JSON contract across every league.

Consensus pricing

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

Source-type filtering

Scope to sportsbook, dfs, exchange, or all with a single query param.

Canonical event IDs

Odds, events, and player props share one eventId so you can join across endpoints.

Supported leagues

NFLNBAMLBNHLNCAAFNCAAB

Supported sportsbooks

DraftKingsFanDuelBetMGMCaesarsESPN BETFanaticsHard Rock BetBetRiversPinnaclebet365 (US)BovadaBetOnline.ag

Example request

GET /v1/odds — filter by league and source type

Request

curl -H "x-api-key: $ML_API_KEY" \
  "https://mlapi.bet/v1/odds?league=nfl&sourceType=sportsbook&market=spread"

Response

{
  "success": true,
  "data": [
    {
      "eventId": "nfl-ev-208841",
      "leagueId": "nfl",
      "bookmakers": [
        {
          "bookmakerId": "fanduel",
          "bookmakerName": "FanDuel",
          "sourceType": "sportsbook",
          "markets": [
            {
              "marketType": "spread",
              "outcomes": [
                { "name": "Kansas City Chiefs", "point": -3.5, "price": -110 },
                { "name": "Buffalo Bills", "point": 3.5, "price": -108 }
              ]
            }
          ]
        }
      ]
    }
  ],
  "meta": { "count": 1, "page": 1 }
}

Markets by sport

SportGame marketsExample player props
NFLMoneyline, spread, totalPass/rush/rec yards, receptions, anytime TD
NBAMoneyline, spread, totalPoints, rebounds, assists, threes, combos
MLBMoneyline, run line, totalStrikeouts, hits, total bases, home runs
NHLMoneyline, puck line, totalShots on goal, points, anytime goal scorer
NCAAF / NCAABMoneyline, spread, totalCore game markets

Use cases

Multi-sport odds feeds

Drive a single odds screen across all major US leagues from one schema.

Value & arbitrage

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

Player-prop coverage

Surface props for every sport from the same call that returns its game lines.

Data pipelines

Ingest a stable JSON contract instead of maintaining scrapers per sportsbook.

Odds widgets

Power embeddable multi-sport odds rails with normalized, paginated responses.

Latency & performance

FAQ

What is a sports odds API?

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

Which leagues are supported?

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

Are the game markets the same for every sport?

The response shape is identical, but the markets reflect each sport — spread in football and basketball, run line in MLB, and puck line in NHL — alongside moneyline and total.

Which sportsbooks are included?

Major US books including DraftKings, FanDuel, BetMGM, Caesars, ESPN BET, and more, plus DFS platforms and allowlisted exchanges.

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.

How do I get odds for one game across sports?

Call /v1/odds with a league filter, then use the canonical eventId in each response to fetch that event and its player props.

Is there a free tier?

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

What is the difference vs the betting odds API page?

Same API — this page frames the multi-sport coverage; the betting odds API page focuses on the odds shape and no-vig fair pricing.

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.