FanDuel API
FanDuel Sportsbook oyuncu bahisleri, oranları ve fiyatları; her oran ve fiyat değişikliğinin geçmişiyle birlikte temiz JSON biçiminde. Araçlar: list_props, line_move, prop_history, recent_changes, list_events. fanduelapi.com adresinden ücretsiz API anahtarı alın. Bağımsız hizmettir, FanDuel ile bağlantısı yoktur.
Barındırılan MCP Sunucusu
npx add-mcp 'https://fanduelapi.com/api/mcp'Claude Code, Codex, Cursor ve daha fazlasına kurulur
Dokümantasyon
Docs
FanDuel Sportsbook odds API for developers. Real-time player props, moneylines, spreads, totals, alternates, futures, soccer and DFS salaries in one JSON feed, with the history of every line move. REST, webhooks and MCP. Free tier, no card.
Authentication
Create a key in your dashboard and send it on every request.
Authorization: Bearer fd_...
SDKs
Open-source clients for Python and JavaScript, and a stdio MCP server, all MIT licensed. Examples are on the SDKs page.
pip install fanduelapi npm install fanduelapi npx -y fanduelapi-mcp
- Python client: PyPI, source on GitHub
- JavaScript and TypeScript client: npm, source on GitHub
- MCP server (stdio): npm, source on GitHub
Source for all three: github.com/fanduelapi. MCP Registry: com.fanduelapi/server.
MCP
Point any MCP client at the server below. Setup steps for agents are in the agent guide.
https://fanduelapi.com/api/mcp
Watches
A player prop you track, with the line or price move that should alert you.
GET https://fanduelapi.com/api/v1/watches POST https://fanduelapi.com/api/v1/watches GET https://fanduelapi.com/api/v1/watches/{id} PATCH https://fanduelapi.com/api/v1/watches/{id} DELETE https://fanduelapi.com/api/v1/watches/{id}
| Field | Type | Required | Description |
|---|---|---|---|
| player | text | Yes | Player name as FanDuel lists it |
| stat | points, rebounds, assists, threes, pra, other | Yes | Which prop market |
| line | number | No | Line you want to be told about |
| note | text | No | Why you are watching it |
Errors and limits
Errors return a JSON body with an error code and message. 401 means the key is invalid, 402 means a plan record limit, 422 means invalid fields, and 429 means a rate or monthly limit.
The machine-readable reference is at /openapi.json, and /llms-full.txt has the whole reference as text.