Uptime target
Monthly availability target for production API endpoints.
Access FanDuel pre-match moneylines, point spreads, totals and player props from $50/month, with REST and streaming included.
{
"event_id": "110183177",
"as_of_ts_ms": 1792365866059,
"items": [
{
"bookmaker": "fanduel",
"bet_type": "player prop",
"metric": "player passing yards",
"period_str": "full time",
"side": null,
"line": "over 274.5",
"selection_name": "Dak Prescott 275+ Yards",
"odds": 1.909,
"american_display_odds": "-110"
}
],
"resume": "1792365868144-0"
}
A 99.8% uptime target, lightning-fast odds updates and 100+ market types through one API.
Monthly availability target for production API endpoints.
On supported sportsbook streams. Scheduled sources refresh adaptively.
Market types spanning moneylines, point spreads, totals, team totals and player props.
Copy a request for your app or give the prompt to your AI agent.
X-API-Keyfanduel/v1/events/{event_id}/odds/snapshot?bookmakers=fanduel
Build a FanDuel NFL odds board with https://api.odds-api.net/v1. Keep ODDS_API_KEY server-side and send it in the X-API-Key header.
Find an upcoming game at /events?league=NFL¬_started_only=true&limit=50 that lists fanduel. Use its event_id to fetch /events/{event_id}/odds/snapshot?bookmakers=fanduel.
Show teams, start times, markets, players, periods, lines and prices. Convert decimal prices to American odds for display, and handle empty results.const apiKey = process.env.ODDS_API_KEY;
const baseUrl = "https://api.odds-api.net/v1";
const headers = { "X-API-Key": apiKey };
if (!apiKey) throw new Error("Set ODDS_API_KEY before running this file.");
async function getJson(path) {
const response = await fetch(`${baseUrl}${path}`, { headers });
if (!response.ok) throw new Error(await response.text());
return response.json();
}
const events = await getJson("/events?league=NFL¬_started_only=true&limit=50");
const event = events.items.find(({ bookmakers }) =>
Array.isArray(bookmakers)
? bookmakers.includes("fanduel")
: Object.hasOwn(bookmakers ?? {}, "fanduel")
);
if (!event) throw new Error("No current FanDuel event found.");
const snapshot = await getJson(
`/events/${encodeURIComponent(event.event_id)}/odds/snapshot?bookmakers=fanduel`
);
console.log(JSON.stringify(snapshot, null, 2));
import os
import requests
base_url = "https://api.odds-api.net/v1"
headers = {"X-API-Key": os.environ["ODDS_API_KEY"]}
events_response = requests.get(
f"{base_url}/events",
headers=headers,
params={"limit": 50, "league": "NFL", "not_started_only": True},
timeout=20,
)
events_response.raise_for_status()
events = events_response.json()["items"]
event = next(
(item for item in events if "fanduel" in item.get("bookmakers", [])),
None,
)
if event is None:
raise RuntimeError("No current FanDuel event found.")
response = requests.get(
f"{base_url}/events/{event['event_id']}/odds/snapshot",
headers=headers,
params={"bookmakers": "fanduel"},
timeout=20,
)
response.raise_for_status()
print(response.json())
export ODDS_API_KEY="your_api_key"
# Find an upcoming NFL game listing fanduel.
curl -sS \
-H "X-API-Key: $ODDS_API_KEY" \
"https://api.odds-api.net/v1/events?league=NFL¬_started_only=true&limit=50"
# Use that game's event_id below.
export EVENT_ID="replace_with_event_id"
curl -sS \
-H "X-API-Key: $ODDS_API_KEY" \
"https://api.odds-api.net/v1/events/$EVENT_ID/odds/snapshot?bookmakers=fanduel"
Don't worry, there are 236 market variations available. These are just a few.
Straight-up winner prices for full games and covered periods.
moneylineFavorite and underdog spread prices with the line kept alongside each selection.
handicapGame and period totals with separate over and under selections.
totalOver/under prices for one team's points, runs or goals.
team totalPassing, rushing and receiving yards, plus receptions and touchdowns.
player propPoints, rebounds and assists, matched by player and line.
player propHits, home runs, total bases and pitcher strikeouts.
player propPlayer goals and shots on goal, matched by player and line.
player propYes/no prices on whether both soccer teams score.
both teams to scoreTools for events, odds, line movement, streams, and paid-plan positive EV or arbitrage feeds.
Agent-ready instructions.
TypeScript, Python, Postman and example builds.
Sports and racing odds coverage for agent workflows.
Lightweight streaming updates for dashboards and alerts.
Bidirectional streams for richer pre-match products.
Start with the FanDuel event snapshot, keep each line attached to its selection, and add supported pre-match streams only after the initial state is loaded.
Request GET /v1/bookmakers and use the exact fanduel key returned for your account.
Load a bounded event slate and select a game that includes FanDuel in its available bookmaker coverage.
Request bookmakers=fanduel and store the period, side, line, selection, price, and freshness fields together.
Open the matching stream, process supported deltas, and use the resume token when reconnecting.
Choose a monthly plan based on request volume, rate limits, and support.
Enterprise grade
Custom projects, scoped with your team.
Access, API keys, comparisons and coverage.
No. odds-api.net is an independent odds provider, not affiliated with or endorsed by FanDuel. It supplies odds data, without accessing FanDuel customer accounts or placing bets.
Create an odds-api.net account and copy your key from the account page. Access follows your active plan. Use bookmakers=fanduel to select FanDuel odds; no FanDuel login is needed.
Yes. Request fanduel,draftkings together and compare the same event, player, market, period and line. Keep each price with its feed timestamp so you can check freshness.
Use familiar American prices such as +120 and -110 in your US product while keeping FanDuel markets in the same normalized format used across every covered sportsbook.
No. Player props and alternate lines vary by sport, league, event, market, and time. Read the current event snapshot instead of assuming a fixed prop catalog.
Use one normalized contract, then narrow requests with the canonical bookmaker key for each covered source.
Explore the full US sportsbook APIChoose a plan and build a FanDuel line board through the normalized US sportsbook contract.