FanDuel odds API

FanDuel odds API for real-time FanDuel odds: moneylines, spreads, totals and more, next to 35 other sources with stable event ids.

FanDuel is one of the sportsbooks nearly every US bettor has on their phone, which makes its prices the ones everyone else gets compared against. If you are building an odds screen, a player props tool, an affiliate page or a betting model that needs to know what the mainstream regulated market is charging, FanDuel is usually the first column you need. This page covers the FanDuel odds API in PreciseAPI: what FanDuel odds data it delivers, how it is structured, and how developers put FanDuel prices to work, with most of the attention on player props, where FanDuel's menu is deep and its prices are most often checked.

Does FanDuel have a public API?

No. FanDuel doesn't offer a public odds API for developers. There is no developer portal, no self-serve key and no documented endpoint that third parties can use to pull its lines. When people search for a "FanDuel API" or a "FanDuel odds API," what they almost always want is FanDuel's current prices in a machine-readable form they can query and stream.

That is what PreciseAPI provides. We collect FanDuel's posted odds, normalize them into the same event, market and outcome ids we use for every other source, and serve them over REST and WebSocket. It is an independent feed, not an official or partner product.

For context: FanDuel started in daily fantasy sports and launched its online sportsbook in 2018, and it is part of Flutter Entertainment. Its sportsbook is licensed state by state, so availability varies by jurisdiction, and the markets it posts can differ slightly from one state to the next.

What FanDuel data is included

The FanDuel odds feed covers every market group in our schema. Each market arrives with a stable id, a market key, a period, the line, and an outcomes array with a side, point and price for each selection.

Market groupKeysNotes
Main linesmoneyline, spread, totalEvery period the league supports: full game, halves, quarters, first period (NHL) and first five innings (MLB)
Alternate linesalternate_spread, alternate_totalThe full ladder around the main line, with a price on every rung
Team totalsteam_totalHome and away, by period
Player propsplayer_points, player_pass_yds, player_strikeouts and moreNFL, NBA, WNBA, MLB and NHL
FuturesoutrightChampionship, conference, division and award boards

Prices default to American odds. Add format=decimal or format=probability to any request to get decimal odds or implied probability instead; lines and points stay the same.

FanDuel player props API

Props are where FanDuel data gets the most use. The /v1/props endpoint returns FanDuel's lines for points, rebounds, assists, threes and points-rebounds-assists in basketball; passing, rushing and receiving yards, passing touchdowns and receptions in football; pitcher strikeouts, batter hits and total bases in baseball; and points and shots on goal in hockey.

Every player carries a stable id built from the name (stephen_curry). Stephen Curry has the same id in FanDuel's market as he does at DraftKings, Pinnacle or a DFS pick'em app, so comparing one player's line across books takes no fuzzy name matching. After tip-off, a prop stays on the feed for as long as FanDuel keeps posting it, with in-play prices on Syndicate.

FanDuel odds by league

PreciseAPI currently collects FanDuel lines for 12 leagues. A few notes on what each one is good for:

Using FanDuel data: comparing a prop across books

The most common reason developers want FanDuel props is to show them next to other books. A popular US book's prices reflect its risk position and customer base as well as its estimate of the probability, so FanDuel's number on a prop can differ noticeably from a lower-margin book's, or from another regulated book's, on the same player and line.

Here is the arithmetic on an illustrative NBA prop:

Convert each price to implied probability so the two books can be compared directly:

The books share the same line but price it differently: the over is about 4.7 percentage points cheaper at FanDuel, and the under is about 5.3 points cheaper at Pinnacle. Each book also carries its own margin, slightly wider at FanDuel on this prop. Lines move, so a comparison like this is a snapshot of posted prices at one moment. The odds formats guide runs these conversions for any price.

For main lines, you don't have to do this by hand. /v1/best-lines returns the best available price per outcome, which books offer it and how many books are quoting the market, and /v1/history shows how FanDuel's full-game lines moved from open to now.

FanDuel lines vs other regulated books

The second common use is line shopping. Two regulated books hanging -110 on the same spread can still differ on the number itself, on the alternate ladder, or on the price of a prop. Pull FanDuel alongside DraftKings, BetMGM and Caesars in one call and show users the best number. The best lines reference shows the response shape for that.

How to use the FanDuel odds API

Every request uses your key in the Authorization header. This one pulls FanDuel and Pinnacle main lines for NFL games:

curl -s "https://api.preciseapi.com/v1/odds?league=nfl&books=fanduel,pinnacle&markets=moneyline,spread,total" \
  -H "Authorization: Bearer $PRECISEAPI_KEY"

For props, swap the endpoint and markets (full parameters are in the props reference). Setting include_dfs=false keeps pick'em apps out of the response:

curl -s "https://api.preciseapi.com/v1/props?league=nba&books=fanduel,pinnacle&markets=player_points&include_dfs=false" \
  -H "Authorization: Bearer $PRECISEAPI_KEY"

A trimmed FanDuel market from that response looks like this:

{
  "id": "fanduel",
  "name": "FanDuel",
  "type": "sportsbook",
  "markets": [
    {
      "id": "mkt_2dce1xt3iwc",
      "key": "player_points",
      "period": "full_game",
      "line": 24.5,
      "player": { "id": "stephen_curry", "name": "Stephen Curry", "team": "GSW", "position": "G" },
      "outcomes": [
        { "id": "sel_1n86iha21fa", "name": "Over", "side": "over", "point": 24.5, "price": 105 },
        { "id": "sel_0o2eze4rzdp", "name": "Under", "side": "under", "point": 24.5, "price": -130 }
      ],
      "suspended": false,
      "updated_at": "2026-10-14T14:22:54.382Z"
    }
  ]
}

And a short Python loop that prints each FanDuel over price next to the same player's line at other books:

import os, requests

resp = requests.get(
    "https://api.preciseapi.com/v1/props",
    params={"league": "nba", "books": "fanduel,pinnacle", "markets": "player_points", "include_dfs": "false"},
    headers={"Authorization": f"Bearer {os.environ['PRECISEAPI_KEY']}"},
)
for event in resp.json()["data"]:
    for book in event["bookmakers"]:
        for m in book["markets"]:
            over = next(o for o in m["outcomes"] if o["side"] == "over")
            print(event["id"], m["player"]["name"], book["id"], m["line"], over["price"])

Polling works for screens that refresh every few seconds. If you need every change as it happens, the WebSocket stream on Syndicate (10 concurrent sockets) sends a snapshot and then deltas containing only the markets that changed. Subscribe with books: ["fanduel"] and add player_* market keys to stream props.

You can check FanDuel lines for free in the Sandbox chat before picking a plan on the pricing page; your free key works on the API too, for pre-game lines.

Stale prices are handled for you. If we stop receiving updates for a FanDuel market, it is marked suspended: true and left out of responses unless you pass include_suspended=true. That keeps an old number from showing up as a "best price" in your screen.

Why not scrape FanDuel?

Teams that try to scrape FanDuel odds usually find the scraper is the easy part. The ongoing cost is everything around it:

A FanDuel odds scraper leaves all five with your team. A normalized FanDuel odds feed solves them once, for every customer, so your team can spend its time on the product. The post on odds scraping vs odds API compares the two approaches.

FanDuel is a trademark of its owner. It is used on this page for identification only, and PreciseAPI is not affiliated with or endorsed by FanDuel.

Frequently asked questions

Does FanDuel have an API?

FanDuel doesn't offer a public odds API for developers. PreciseAPI collects FanDuel's posted prices and serves them, normalized, alongside the other sources we cover through one REST and WebSocket API.

Does the FanDuel odds API include player props?

Yes. The /v1/props endpoint returns FanDuel player props for the NFL, NBA, WNBA, MLB and NHL, with stable player ids so the same player can be matched across every book and DFS app.

How fast do FanDuel odds update?

In-play prices refresh in under 500 ms and pre-match prices every 1–2 seconds. On Syndicate, which adds in-play odds, the WebSocket stream pushes only the markets that changed.

Can I compare FanDuel lines with other sportsbooks in one request?

Yes. Pass several source ids in the books parameter, for example books=fanduel,draftkings,pinnacle, or call /v1/best-lines to get the best price per outcome across every source and which books offer it.

Is there a free trial?

Yes. Every account starts with 50 free credits for the Sandbox chat in your dashboard, with no card required, so you can ask about FanDuel's pre-game lines in plain English before choosing a plan on the pricing page. The same credits work on the API with your free key, at 20 requests a minute.

Can I get historical FanDuel lines?

Yes. Line history for main full-game markets is available through /v1/history, and it is included on every paid plan. It returns the opening price, the current price and every timestamped change in between.