Guides
Guides for building on FanDuel odds
Start with a language, a question or an agent. Each guide runs against the real API, with code you can copy, and ends at something working.
FanDuel API is an independent data service operated by FF API Inc. It is not affiliated with, endorsed by or sponsored by FanDuel.
Languages
- PythonWorking Python code for FanDuel Sportsbook player props: authenticate with a key, list props, read a prop's move history and poll for changes.
requests - JavaScript and TypeScriptFetch with a key, page the board, read a prop's history, follow the change feed and consume the stream from Node.
fetch - A player prop model in PythonPull graded props, build line move features, fit a baseline and measure it against the closing line.
pandas
Working with the data
- Line movementWhere a FanDuel player prop opened, every line and price move since, and when it last moved, from the history endpoint, with a sample move tape.
- Player propsEvery FanDuel Sportsbook player prop as one JSON record: player, stat, line, over and under in American and decimal odds, filters and move history.
- Odds and fair pricesFanDuel Sportsbook over and under prices in American and decimal odds, with implied probability and hold worked out from a sample slate.
- NBA propsFanDuel NBA player props for points, rebounds, assists, threes and combos as JSON, with a sample slate and the request that returns it.
- Request quotasWhat counts as a request, the allowance on each plan, and how to poll inside it.
- Alternatives comparedFive odds APIs compared for FanDuel data: player props, line history, free tier delay, push delivery, MCP and published prices, with sources.
- ArticlesIntegration notes on errors, webhook signatures, exports, freshness and pagination, each sourced from the API reference.
Agents and AI tools
- ClaudeConnect Claude Code or Claude to FanDuel player props through MCP: one command with your key, or a keyless connector to evaluate first.
- ChatGPTRead FanDuel player props in ChatGPT with a custom GPT Action from the ChatGPT OpenAPI file, or a keyless connector for docs and a sample.
- GeminiAdd the FanDuel API MCP server to Gemini CLI settings with the key read from your environment, then ask for props in plain words.
- CursorAdd the FanDuel API MCP server to Cursor with url and headers in mcp.json, reading the key from your environment.
- CodexAdd the FanDuel API MCP server to Codex with one command or a config.toml block that reads the bearer token from your environment.
- LovableCall FanDuel API from a Lovable app through a backend function that keeps the key as a secret, never in the browser.
- GrokGive Grok the FanDuel API MCP server as a remote MCP tool in the xAI API, with your key passed as the authorization value.
- MCP serverOne URL and a key give any MCP client the props, moves and changes tools.
- Connect an agentLet an agent read a delayed sample and start a signup for you, with no key.
Questions answered
- Is there a fanduel api?A direct answer, with real data where it helps.
- Is there a free fanduel api?A direct answer, with real data where it helps.
- How to get a fanduel api key?A direct answer, with real data where it helps.
- Fanduel player props in pythonA direct answer, with real data where it helps.
- Fanduel odds as jsonA direct answer, with real data where it helps.
- Historical fanduel prop linesA direct answer, with real data where it helps.
- How to track fanduel line movement?A direct answer, with real data where it helps.
- Is fanduel api data real time?A direct answer, with real data where it helps.
- Which sports does the fanduel api cover?A direct answer, with real data where it helps.
Related
Make your first call in a few minutes
Sign up, create a key in the dashboard, and send it as a Bearer token. The free plan needs no card and reads the same data five minutes behind.
Get a free API key