DraftKings odds API · affiliate 19 · REST + WebSocket

DraftKings odds API.
Free game lines, no credit card.

DraftKings game lines, alternates, periods, props, and futures beside FanDuel, BetMGM, and the rest of the 25+ books. A free TheRundown key returns DraftKings pre-match game lines, five minutes delayed.

Free key · 20,000 data points a day · No credit card · Every book and live odds from $69/mo

GET/api/v2/sports/{sport_id}/events/{date}

Request Python 3 · requests

import os
from datetime import datetime, timezone
import requests

key = os.environ["THERUNDOWN_API_KEY"]
api = "https://therundown.io/api/v2"
headers = {"X-TheRundown-Key": key}

# Next game date across the NFL (2), MLB (3, or postseason 31), NBA (4), and NHL (6)
dates = requests.get(
    f"{api}/sports/dates",
    params={
        "sport_ids": "2,3,31,4,6",
        "format": "epoch",
        "exclude_canceled": "true",
    },
    headers=headers,
    timeout=30,
).json()

now = datetime.now(timezone.utc).timestamp()
upcoming = [
    (sport_id, stamp)
    for sport_id, body in dates.items()
    for stamp in body.get("dates") or []
    if stamp > now
]
sport_id, stamp = min(upcoming, key=lambda row: row[1], default=("2", now))
date = datetime.fromtimestamp(stamp, timezone.utc).date().isoformat()

# DraftKings next to FanDuel and BetMGM: moneyline, spread, and total
odds = requests.get(
    f"{api}/sports/{sport_id}/events/{date}",
    params={"market_ids": "1,2,3", "affiliate_ids": "19,23,22", "main_line": "true"},
    headers=headers,
    timeout=30,
)
print(odds.text)

Response 200 · trimmed

{
  "events": [{
    "event_id": "26825c6a95e3710c2e76f9232e305ca2",
    "sport_id": 2,
    "event_date": "2026-10-06T00:15:00Z",
    "markets": [{
      "market_id": 1,
      "name": "moneyline",
      "participants": [{
        "id": 85,
        "type": "TYPE_TEAM",
        "name": "Atlanta Falcons",
        "lines": [{
          "prices": {
            "19": { "price": 100, "updated_at": "2026-10-05T12:46:22Z" },
            "22": { "price": 105, "updated_at": "2026-10-05T15:27:03Z" },
            "23": { "price": -102, "updated_at": "2026-10-05T13:20:03Z" }
          }
        }]
      }]
    }]
  }]
}

Atlanta at New Orleans, October 5, 2026, trimmed to one side of one market. The full response held 1 game for 20 data points.

Free keyThis Python request runs on a Free key: pre-match prices from DraftKings, FanDuel, and BetMGM, five minutes delayed. Between seasons, the next slate can be empty until books post lines.

New to the API? Make your first odds API request with the quickstart.

Markets

DraftKings beyond the main line.

DraftKings prices the NFL, NCAAF, MLB, NHL, WNBA, MLS, the Premier League, and tennis (ATP, WTA). These are the market types it posts, each beside every other book.

109
Markets priced Oct 5–10
9
Leagues
Free
Pre-match game lines
19
Affiliate ID
Market typePlan
  • Game linesMoneyline, spread, and total in every league it prices: the NFL, NCAAF, MLB, NHL, WNBA, MLS, the Premier League, and tennis
    1 · 2 · 3Free
  • Alternate linesAlternate spreads and totals across every league DraftKings prices, including the NFL, MLB, and NHL
    omit main_lineStarter
  • PeriodsNFL and NCAAF halves and quarters; MLB first-five innings; NHL periods; tennis sets
    4–6 · 780 · 791 · 957–958 · 981 · 1011–1019 · 1150–1153Starter
  • Team totalsGame-level team totals
    94Starter
  • Player propsWNBA points, rebounds, threes, and assists; NFL passing, rushing, and receiving yards; MLB hits, RBIs, and pitcher strikeouts
    29 · 35 · 38 · 39 · 51 · 53 · 57 · 58Starter
  • Game propsWinning margin, odd/even, correct score, and both teams to score; tennis total sets and set betting
    9 · 25 · 335 · 342 · 343 · 954 · 1300 · 1310Starter
  • In-gameLive moneyline, spread, and total while DraftKings trades them
    41 · 42 · 43Starter
  • FuturesSuper Bowl, Stanley Cup, World Series, and NBA champion winners; conference and division winners; NFL, MLB, and NHL awards; MLS Cup and EPL winners
    /sports/{id}/futuresUltra

Market IDs DraftKings priced on the NCAAF, NFL, MLB (postseason), NHL, WNBA, MLS, and EPL slates from October 5 to October 10, 2026, plus its alternates, live ATP and WTA in-game lines checked October 5, and its futures. GET /api/v2/markets lists every definition.

For in-game delays by plan and how pulled lines are marked closed, see the live odds API.

Books

25+ books. One schema.

Benchmark DraftKings against 25+ books in the same response.

Books in the API25

Sportsbooks · 20

  • DraftKingsFree19
  • FanDuelFree23
  • BetMGMFree22
  • Caesars Sportsbook35
  • Pinnacle3
  • Circa Sports32
  • BookMaker7
  • BetCRIS9
  • Bovada2
  • theScore Bet24
  • Unibet21
  • HardRock28
  • Bet10533
  • Heritage Sports34
  • BetOnline6
  • SportsBetting4
  • LowVig11
  • Everygame14
  • Matchbook16
  • YouWager18

Prediction markets · 3

  • Kalshi25
  • Polymarket26
  • Polymarket US31

Exchanges · 2

  • ProphetX29
  • Novig30

Live from GET /api/v2/affiliates. DraftKings priced game lines in all nine leagues checked October 5 to October 10, 2026: the NFL, NCAAF, MLB, NHL, WNBA, MLS, the Premier League, ATP, and WTA. Coverage varies by league, game, and market.

Free vs paid

DraftKings is already on the free plan.

Choose TheRundown for odds and scores joined under one event ID, with participant and signed-line identities and explicit price closure signals. Request the books and markets your application uses, then measure X-Datapoints. Paid subscriptions have a fixed fee and included volume; unrequested price rows conserve that volume without reducing the base fee. Odds API quickstart · Sports data API · Metering rules

Free · $0

Free keys return DraftKings pre-match game lines (moneyline, spread, and total), five minutes delayed, next to FanDuel and BetMGM.

Paid · from $69/mo

Alternates, periods, props, live in-game odds, and history from $69 a month. Futures and WebSocket on Ultra.

Free$0/mo5-minute delay · 20,000/day · 200,000/monthPre-match game lines from DraftKings, FanDuel, and BetMGM.
Starter$69/mo60-second delay · 25,000,000/moEligible sources, alternates, periods, props, and 60-second-delayed in-play odds. Internal or personal use.
Pro$249/mo30-second delay · 125,000,000/mo30-second-delayed odds and commercial end-user display.
Ultra$599/moReal-time · 500,000,000/moReal-time REST, WebSocket streaming, and futures.

Compare every plan →

Questions

Before you build.

Plans, markets, books, and IDs for the DraftKings odds API.

Does DraftKings have an API?
TheRundown's odds API returns DraftKings odds (affiliate ID 19) through one REST API: pre-match game lines on a free key, and alternates, player props, in-game odds and futures on paid plans. This is TheRundown's API, not an official DraftKings developer program.
How do I get a DraftKings API key?
Create a free TheRundown account to get an API key, then pass affiliate_ids=19 to get DraftKings prices. One key covers every book on your plan, and Free needs no credit card.
Is DraftKings on the free plan?
Yes. A free TheRundown key returns DraftKings pre-match game lines (moneyline, spread, and total) next to FanDuel and BetMGM, five minutes delayed, up to 20,000 data points a day and 200,000 a month. Free is a $0 plan, not a trial. No credit card.
Which DraftKings markets are available?
Game lines in every league it prices: the NFL, NCAAF, MLB, NHL, WNBA, MLS, the Premier League, and tennis. Alternates, halves and quarters, first-five innings, team totals, player props, game props, and in-game lines start on Starter ($69 a month). Futures start on Ultra ($599 a month).
Can I get DraftKings opening and closing lines?
Yes. Opening and closing lines start on Pro ($249 a month). Line history, with every price change timestamped, starts on Starter.Historical odds API: line history by plan →
What is the DraftKings affiliate ID?
19. Pass affiliate_ids=19 alone, or add other books to compare them in one response. GET /api/v2/affiliates lists the current 25+ books.
Does DraftKings have futures?
Yes. Super Bowl, Stanley Cup, World Series, and NBA champion winners, plus conference and division winners and player awards, are priced on DraftKings. Futures start on Ultra ($599 a month).
How fast are DraftKings prices on each plan?
Five minutes on Free. Starter cuts that to 60 seconds, Pro to 30 seconds, and Ultra is real-time over REST or WebSocket.