FanDuel API
Các kèo cược người chơi, tỷ lệ và giá của FanDuel Sportsbook dưới dạng JSON gọn gàng, kèm lịch sử mọi lần thay đổi tỷ lệ và giá. Công cụ: list_props, line_move, prop_history, recent_changes, list_events. Nhận khóa API miễn phí tại fanduelapi.com. Dịch vụ độc lập, không liên kết với FanDuel.
Máy chủ MCP được lưu trữ
npx add-mcp 'https://fanduelapi.com/api/mcp'Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác
Tài liệu
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.