FanDuel API

FanDuel Sportsbook 球员投注选项、盘口和赔率,以整洁的 JSON 格式呈现,并记录每次盘口和赔率变动。工具:list_props、line_move、prop_history、recent_changes、list_events。可在 fanduelapi.com 免费获取 API 密钥。独立服务,与 FanDuel 无关联。

托管 MCP 服务器

npx add-mcp 'https://fanduelapi.com/api/mcp'

可安装到 Claude Code、Codex、Cursor 等客户端

文档

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

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}

FieldTypeRequiredDescription
playertextYesPlayer name as FanDuel lists it
statpoints, rebounds, assists, threes, pra, otherYesWhich prop market
linenumberNoLine you want to be told about
notetextNoWhy 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.