FanDuel API, explained

Does FanDuel have an API?

Short answer: no public one. Here is what actually moves FanDuel odds, what you can and can't get, and the three routes developers use instead.

The short answer

FanDuel does not offer a public odds API. There is no developer portal, no self-serve API key, and no documented odds endpoint you can sign up for. If you have searched for "FanDuel API" or "FanDuel API key", the official answer is a dead end — the same wall every independent developer hits.

That does not mean FanDuel odds are unobtainable. It means the data moves through channels that are not self-serve, and you pick one of the routes below.

What actually exists, three ways

1. The private feed the app uses

The FanDuel Sportsbook app and site read their odds from an AWS AppSync GraphQL backend. It is not documented, not stable, and not licensed for third-party use — but it is the same source dedicated feeds subscribe to, which is why pushed, tick-level FanDuel data exists at all.

2. Enterprise data deals

Sportsbooks license data downmarket through commercial agreements. Access runs through sales conversations and revenue commitments, not a signup form. This is the route for trading firms — and priced accordingly.

3. Third-party odds feeds

Independent providers subscribe to or license the source feed, normalize it, and resell access with an API key. This is the only route with a signup form and a free tier. FanLine Wire is one; several multi-book aggregators also carry FanDuel among many books.

Why there is no public API

Odds are a sportsbook's inventory, not a public utility. A public odds API would hand competitors, arbitrage desks and scrapers a structured firehose of the book's own prices. So books sell that data on commercial terms instead — and what the public gets is the app, the website, and marketing pages.

Scraping the site or app fills the gap badly: the markup is not an API, every redesign breaks it, automation violates the terms of service, and nothing tells you when a price you cached went stale. The push-vs-poll comparison covers that failure mode in detail.

The route with a signup form

FanLine Wire is a dedicated FanDuel odds feed: live & in-play and pre-match moneyline, spread and totals markets over a push WebSocket (the same AppSync transport the book itself uses), plus REST market discovery. American and decimal odds on every price, OPEN ↔ SUSPENDED status pushed live, US state-scoped regions.

Prove it to yourself before believing any of this — the public demo snapshot needs no key:

import json, urllib.request

snap = json.load(urllib.request.urlopen("https://fanlinewire.com/odds.json"))
print(snap["generated_at"], "|", snap["live"]["total"], "live markets")

Run it as-is: that exact snippet returns the live snapshot (1.6 ms server build time at last check). Full field reference in the docs.

Every route, side by side

FanLine WireMulti-book aggregatorsEnterprise data dealScrape it yourself
SignupSelf-serve, free tierSelf-serve, free tierSales processNone — and no permission
DeliveryPush WebSocket + RESTUsually REST polling (at last check)Contract-specificYour parser, your problem
FanDuel depthDedicated — the whole productFanDuel is 1 of many booksFull, priced accordinglyWhatever survives markup
MaintenanceOursTheirsTheirsYours, forever
Best forFanDuel-only models & alertsMulti-book comparisonsTrading firmsNothing, long-term

Compared against FanLine Wire for a FanDuel-only use case. When many books matter, an aggregator is the better shape — see FanLine Wire vs The Odds API.

Questions people ask

Does FanDuel have a public API?

No. FanDuel does not offer a public sportsbook odds API, developer portal or API key program. Odds access runs through the private feed the app itself uses, enterprise data agreements, or third-party feeds.

Can I get a FanDuel API key?

Not from FanDuel. Keys exist from third-party providers — FanLine Wire issues free keys covering the full board, and multi-book aggregators issue keys that include FanDuel among many books.

What API does the FanDuel app use?

An AWS AppSync GraphQL backend. It is private and undocumented, but its transport (GraphQL subscriptions over WebSocket) is what push-based FanDuel feeds subscribe to.

Is it legal to scrape FanDuel odds?

Scraping violates FanDuel's terms of service, and odds pages change without notice, so a scraper is fragile by design. This is not legal advice — but operationally, a licensed feed solves both problems at once.

What is the best FanDuel odds API alternative?

For FanDuel-only price streams and models: a dedicated feed like FanLine Wire. For many books at once: a multi-book aggregator. Both routes are compared on the compare page.

Does FanDuel offer historical odds?

No public historical odds product exists. If you need history, store what a live feed delivers — FanLine Wire's snapshot carries timestamps on every tick, and the WebSocket page shows the subscription shape.