FanDuel odds API · affiliate 23 · REST + WebSocket

FanDuel odds API.
Free game lines, right out of the box.

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

Free key · 20,000 data points a day · No credit card

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

RequestPython 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()

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

Response200 · trimmed

{
  "events": [{
    "event_id": "a4f3dd8af14513f04135b9370a8bb26c",
    "sport_id": 6,
    "event_date": "2026-10-06T00:00:00Z",
    "markets": [{
      "market_id": 1,
      "name": "moneyline",
      "participants": [{
        "id": 122,
        "type": "TYPE_TEAM",
        "name": "San Jose Sharks",
        "lines": [{
          "prices": {
            "19": { "price": 170, "updated_at": "2026-10-05T14:57:05Z" },
            "22": { "price": 165, "updated_at": "2026-10-05T15:03:09Z" },
            "23": { "price": 168, "updated_at": "2026-10-05T14:56:47Z" }
          }
        }]
      }]
    }]
  }]
}

San Jose at Dallas, October 5, 2026, trimmed to one side of one market. The full response held 7 games for 38 data points.

Free keyRuns 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.

Markets

FanDuel beyond the main line.

FanDuel 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.

162
Markets priced Oct 5–10
9
Leagues
Free
Pre-match game lines
23
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 FanDuel prices, including the NFL, MLB, and EPL
    omit main_lineStarter
  • PeriodsNFL and EPL halves; MLB first-five innings; WNBA quarters; tennis sets
    4–6 · 769 · 991 · 1008–1019 · 1150–1153 · 1448Starter
  • Team totalsGame-level team totals, including NFL team rushing yards
    94 · 1050Starter
  • Player propsWNBA points, rebounds, threes, and assists; NFL passing, rushing, and receiving yards; MLB hits and RBIs
    29 · 35 · 38 · 39 · 51 · 53 · 57 · 58Starter
  • ScorersSoccer anytime, first, and multi-goal scorers, plus shots on target, in MLS and the Premier League
    404 · 405 · 406 · 408 · 410 · 412 · 555 · 562Starter
  • Game propsWinning margin, double chance, correct score, and both teams to score; MLB extra innings; tennis set betting
    9 · 331 · 335 · 384 · 593 · 759 · 954 · 1310Starter
  • In-gameLive moneyline, spread, and total while FanDuel trades them
    41 · 42 · 43Starter
  • FuturesSuper Bowl, Stanley Cup, World Series, and NBA champion winners; NFL and MLB awards; Australian Open and French Open winners; MLS Cup and EPL winners
    /sports/{id}/futuresUltra

Market IDs FanDuel 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.

Books

All 25 books. One schema.

Benchmark FanDuel against 20 sportsbooks, 3 prediction markets, and 2 exchanges in the same response.

25
Books
20
Sportsbooks
3
Prediction markets
2
Exchanges
Books in the API25

Sportsbooks · 20

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

Prediction markets · 3

  • Kalshi25
  • Polymarket26
  • Polymarket US31

Exchanges · 2

  • ProphetX29
  • Novig30

Live from GET /api/v2/affiliates. FanDuel 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

FanDuel is already on the free plan.

Free · $0

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

Paid · from $49/mo

Alternates, periods, props, scorers, live in-game odds, and history from $49 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$49/mo60-second delay · 25,000,000/moEvery book, alternates, periods, props, and live odds. 7-day history. Internal use.
Pro$149/mo30-second delay · 125,000,000/moOpening and closing lines, 30-day history, and commercial display.
Ultra$399/moReal-time · 500,000,000/moWebSocket streaming, futures, and 90-day history.

Compare every plan →

Questions

Before you build.

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

Is FanDuel on the free plan?
Yes. A free TheRundown key returns FanDuel pre-match game lines (moneyline, spread, and total) next to DraftKings and BetMGM, five minutes delayed, up to 20,000 data points a day and 200,000 a month. No credit card.
Which FanDuel markets are available?
Game lines in every league it prices: the NFL, NCAAF, MLB, NHL, WNBA, MLS, the Premier League, and tennis. Alternates, halves, first-five innings, team totals, player props, soccer scorers, game props, and in-game lines start on Starter ($49 a month). Futures start on Ultra ($399 a month).
Can I get FanDuel opening and closing lines?
Yes. Opening and closing lines start on Pro ($149 a month). Line history, with every price change timestamped, starts on Starter.
What is the FanDuel affiliate ID?
23. Pass affiliate_ids=23 alone, or add other books to compare them in one response. GET /api/v2/affiliates lists all 25 books.
Does FanDuel have futures?
Yes. Super Bowl, Stanley Cup, World Series, and NBA champion winners, the Australian Open and French Open, and player awards are priced on FanDuel. Futures start on Ultra ($399 a month).
How fast are FanDuel 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.