+FanDuel API
FanDuel Sportsbook odds, game lines and player props as JSON, league by league.
The API.SH FanDuel API returns FanDuel Sportsbook's public odds as JSON. List a league's games with moneyline, spread and total in decimal, American and fractional odds, list events with their ids, and open one game to get every market of a tab, such as player points, rebounds, threes or touchdown scorers. It covers the NFL, NBA, NHL, MLB, college football and basketball, soccer leagues, tennis, golf, boxing and UFC.
- 3 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/fanduel/v1/ event
{ "success": true } What you can build with the FanDuel API
Odds comparison and line shopping
Pull a league's moneylines, spreads and totals and compare them with other books to find the best price on each side.
Player prop tools
Open a game and read the props tab, with each selection's line and odds, to power prop projections or a picks page.
Line movement tracking
Poll a league's game lines on a schedule and store them to see how spreads and totals move before kickoff.
Futures and season specials
Add a league's other markets, such as futures and awards, with every selection's price.
FanDuel data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
FanDuel API endpoints and prices
Every FanDuel endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| FanDuel Sportsbook game with all markets of a tab /fanduel/ | $1 · $2 PAYG 1 credit |
| FanDuel Sportsbook events for a league /fanduel/ | $1 · $2 PAYG 1 credit |
| FanDuel Sportsbook game lines for a league /fanduel/ | $1 · $2 PAYG 1 credit |
Call the FanDuel API
FanDuel Sportsbook game with all markets of a tab: GET https://api.api.sh/fanduel/
curl "https://api.api.sh/fanduel/v1/event" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/fanduel/v1/event",
params={},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/fanduel/v1/event");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/fanduel/v1/event")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "FanDuel" and "FanDuel Sportsbook game with all markets of a tab".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for FanDuel data
- Public data only: no FanDuel login, cookies or account needed
- One key and one response shape for FanDuel and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official FanDuel API
FanDuel has no public developer API or developer portal for Sportsbook odds; data is only available through partner deals or third-party odds feeds. API.SH returns FanDuel's public odds as JSON with no partner agreement or account. It reads odds only and cannot place bets.
Instead of running your own FanDuel odds scraper or paying a multi-book odds aggregator when you only need FanDuel, API.SH gives you FanDuel lines and props with one key and a fixed price per call.
FanDuel API questions
What FanDuel data can I get?+
A league's game lines with moneyline, spread and total plus props and futures (/fanduel/v1/odds), a league's event list with ids, teams and start times (/fanduel/v1/events), and one game with every market of a tab such as player props (/fanduel/v1/event).
How much does the FanDuel API cost?+
Every FanDuel endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /fanduel/v1/event at 1 credit each.
Does FanDuel have a public API?+
No. FanDuel does not offer a public odds API, API key or developer documentation. API.SH reads FanDuel Sportsbook's public pages and returns the odds as JSON.
Do I need a FanDuel account?+
No. No endpoint uses a FanDuel login or account. API.SH only reads public odds.
Can I place bets through the FanDuel API?+
No. API.SH is read-only: it returns odds, lines and markets, and never places bets or touches an account.
Which sports and odds formats are covered?+
NFL, college football, NBA, WNBA, college basketball, NHL, MLB, major soccer leagues, tennis, golf, boxing and UFC. Every price comes in decimal, American and fractional odds.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /fanduel/v1/odds with league=nba (or nfl, mlb, nhl). Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.