Starter kit
Start with five rows
Four files that each make one small, real request first: five NBA props. Download one, set FANDUEL_API_KEY, run it, and build from there.
FanDuel API is an independent data service operated by FF API Inc. It is not affiliated with, endorsed by or sponsored by FanDuel.
Downloads
- Postman collectionEight requests, from five props to coverage. Set the apiKey variable to your key.
fanduel-api.postman_collection.json - Python clientOne file with requests: a GET helper that waits out 429s, and a change feed generator.
fanduel_api.py - Node.js clientOne file for Node 18 or later, no dependencies: the same helper with fetch.
fanduel-api.mjs - MCP configPaste into any MCP client's config; it reads the key from FANDUEL_API_KEY.
mcp.json
Run it
pip install requests
export FANDUEL_API_KEY=fd_...
python fanduel_api.pyexport FANDUEL_API_KEY=fd_...
node fanduel-api.mjsNo key yet: sign up free and create one under Keys. An agent can use the MCP server at https://fanduelapi.com/api/mcp, and read a delayed sample there with no key at all.
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