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 · Every book and live odds from $69/mo
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()
# 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)Response 200 · 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.
New to the API? Make your first odds API request with the quickstart.
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.
- 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.
For in-game delays by plan and how pulled lines are marked closed, see the live odds API.
Books
25+ books. One schema.
Benchmark FanDuel against 25+ books in the same response.
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. 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.
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 keys return FanDuel pre-match game lines (moneyline, spread, and total), five minutes delayed, next to DraftKings and BetMGM.
Alternates, periods, props, scorers, live in-game odds, and history from $69 a month. Futures and WebSocket on Ultra.
Questions
Before you build.
Plans, markets, books, and IDs for the FanDuel odds API.
- Does FanDuel have an API?
- TheRundown's odds API returns FanDuel odds (affiliate ID 23) 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 FanDuel developer program.
- How do I get a FanDuel API key?
- Create a free TheRundown account to get an API key, then pass affiliate_ids=23 to get FanDuel prices. One key covers every book on your plan, and Free needs no credit card.
- 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. Free is a $0 plan, not a trial. 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 ($69 a month). Futures start on Ultra ($599 a month).
- Can I get FanDuel 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 FanDuel affiliate ID?
- 23. Pass affiliate_ids=23 alone, or add other books to compare them in one response. GET /api/v2/affiliates lists the current 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 ($599 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.