# Line shopping API: compare books programmatically

FanDuel API (https://fanduelapi.com) is an independent API for FanDuel Sportsbook data: every player prop and game market FanDuel lists in NBA, NFL, NHL, MLB, college basketball and college football, and soccer (the Premier League, La Liga, Serie A, the Bundesliga, Ligue 1, the Champions League, MLS and international matches), with every match market and yes-only player markets such as anytime goalscorer, shots, shots on target, assists and goalkeeper saves, normalized per player and stat with over and under prices in American and decimal odds, plus every line and price move with its timestamp, over REST, webhooks and MCP with one key. FanDuel API is an independent data service operated by Stunning Couches LLC. It is not affiliated with, endorsed by or sponsored by FanDuel.

Source page: https://fanduelapi.com/answers/line-shopping-api (this is its markdown version, https://fanduelapi.com/answers/line-shopping-api.md).

## Free offer

- Free plan: 100 credits a month, data delayed 5 minutes, no card. REST and MCP on every plan.
- Real-time data starts at Developer, $49 a month for 10,000 credits.
- Get a free key: https://fanduelapi.com/sign-up?ref=ai-claudebot

## Quickstart

1. Create a free account at https://fanduelapi.com/sign-up?ref=ai-claudebot and create an API key in the dashboard (https://fanduelapi.com/dashboard/keys). Keys start with `fd_`. Store it as `FANDUEL_API_KEY`.
2. Make a first call with curl:

```bash
curl "https://fanduelapi.com/api/v1/props?sport=nba&stat=points&limit=5" \
  -H "Authorization: Bearer $FANDUEL_API_KEY"
```

3. Or with Python (`pip install requests`):

```python
import os
import time
from datetime import datetime, timezone

import requests

BASE = "https://fanduelapi.com/api/v1"
SESSION = requests.Session()
SESSION.headers["Authorization"] = f"Bearer {os.environ['FANDUEL_API_KEY']}"


def get(path, **params):
    """GET one endpoint and return its data list, waiting out rate limits."""
    while True:
        r = SESSION.get(f"{BASE}{path}", params=params, timeout=10)
        if r.status_code == 429:
            time.sleep(int(r.headers.get("Retry-After", "5")))
            continue
        r.raise_for_status()
        return r.json()["data"]


def price(odds):
    """American odds as text. A suspended market can come back with no price."""
    return "off" if odds is None else f"{odds:+d}"

props = get("/props", sport="nba", stat="points")
for p in props:
    print(f"{p['player']:<26} {str(p['line']):>5}  over {price(p['over_american']):>5}  under {price(p['under_american']):>5}")
```

4. Or use a client: `pip install fanduelapi` (https://pypi.org/project/fanduelapi/) or `npm install fanduelapi` (https://www.npmjs.com/package/fanduelapi); source at https://github.com/fanduelapi, examples at https://fanduelapi.com/sdks.
5. Stay current with `GET /api/v1/changes?since=<cursor>` instead of re-reading every prop. Full reference: https://fanduelapi.com/openapi.json and https://fanduelapi.com/llms-full.txt.

## Use it from Claude (MCP)

Claude Code, with your key read from the shell:

```bash
claude mcp add --transport http --scope user fanduelapi https://fanduelapi.com/api/mcp \
  --header "Authorization: Bearer $FANDUEL_API_KEY"
```

Claude on the web or desktop: Settings, Connectors, Add custom connector, then paste https://fanduelapi.com/api/mcp. Without a key it gives the keyless tools (search_docs, fetch_doc, get_sample_props). Clients that only run local stdio servers: `npx -y fanduelapi-mcp` (https://www.npmjs.com/package/fanduelapi-mcp). Setup for other agents: https://fanduelapi.com/mcp.

## Pricing

| Plan | Price | Credits a month | Calls a minute | Includes |
| --- | --- | --- | --- | --- |
| Free | Free | 100 | 20 | REST and MCP access, Data delayed 5 minutes, Last 24 hours of line move history |
| Developer | $49/month | 10,000 | 60 | Real-time data, Line move history, Graded results and hit rates, Game logs, Exports and training set, Change stream |
| Production | $149/month | 50,000 | 120 | Real-time data, Line move history, Graded results and hit rates, Webhooks, Priority support |
| Scale | $499/month | 250,000 | 180 | Real-time data, Full line move history, Graded results and hit rates, Webhooks, Bulk export, Priority support |

Cancel paid plans any time from the billing page in your dashboard, or through the API (an agent can do it with your reason). Details: https://fanduelapi.com/pricing

## This page

[FanDuel API](https://fanduelapi.com/)/[Answers](https://fanduelapi.com/answers)/ Is there an API for line shopping across sportsbooks?

Answer

# Is there an API for line shopping across sportsbooks?

Short answerFor line shopping across many books, a multi-book API is the right tool (Odds-API.io 2 to 15 books by plan, The Odds API 100+, OddsPapi 300+); FanDuel API compares FanDuel with only Novig, DraftKings and PrizePicks.

[Get a free API key](https://fanduelapi.com/sign-up)[Agent guide](https://fanduelapi.com/agents.md)

FanDuel API is an independent data service operated by Stunning Couches LLC. It is not affiliated with, endorsed by or sponsored by FanDuel.

Updated 15 November 2026. Rival facts are read from each provider's own pages on the date shown; prices and plans change, so check the source before you buy. Written by the operator of this service.

## Compared

Books per provider Checked 15 November 2026, 11 November 2026, 13 November 2026; not sample data

| Provider                   | Books                                                                                                                           | Cheapest paid plan                                                                            |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| Odds-API.io                | 2 to 15 of 450+ bookmakers by plan, 34 sports                                                                                   | Solo $65/mo, 2 bookmakers, 5,000 requests/hour                                                |
| The Odds API               | 100+ bookmakers across US, UK, EU, AU and CA regions; FanDuel is listed under US bookmakers                                     | 20K plan $30/mo (20,000 credits); 100K $59, 5M $119, 15M $249                                 |
| OddsPapi                   | 300+ bookmakers and exchanges worldwide; FanDuel is in its bookmaker list                                                       | Configurator pricing by bookmakers, sports and requests; in-play odds on the paid custom plan |
| SharpAPI                   | Up to 25 of 43 books on self-serve plans, all on Enterprise; FanDuel on every plan, including free                              | Hobby $79/mo, 5 books                                                                         |
| FanDuel API (this service) | FanDuel Sportsbook only, in depth; the compare endpoint adds the Novig fair price, the DraftKings price and the PrizePicks line | Developer $49/mo, 10,000 credits                                                              |

- **Odds-API.io** (checked 15 November 2026): better when you want live odds from a handful of books you choose, with a WebSocket, and pay per bookmaker rather than per call. Sources: [Pricing](https://odds-api.io/pricing)
- **The Odds API** (checked 15 November 2026): better when you need many bookmakers, game lines across many sports, or years of 5-minute snapshots for a backtest, at a low entry price. Sources: [Plans](https://the-odds-api.com/#get-access) , [Historical](https://the-odds-api.com/historical-odds-data/) , [Markets](https://the-odds-api.com/sports-odds-data/betting-markets.html) , [Update intervals](https://the-odds-api.com/sports-odds-data/update-intervals.html)
- **OddsPapi** (checked 11 November 2026): better when you want FanDuel next to hundreds of other books and exchanges in one schema, with historical odds on a free key, and a 250-request month is enough to start. Sources: [Home](https://oddspapi.io/us) , [Pricing](https://oddspapi.io/en/pricing) , [WebSocket and free plan](https://oddspapi.io/blog/websocket-odds-api-real-time-betting-data/)
- **SharpAPI** (checked 13 November 2026): better when you want ready-made expected value, arbitrage and middle scans across several books, not one book's raw props and history. Sources: [Pricing](https://docs.sharpapi.io/en/pricing/) , [FanDuel page](https://sharpapi.io/sportsbooks/fanduel-odds-api) , [MCP](https://docs.sharpapi.io/en/sdks/mcp/)
- **FanDuel API**: better when FanDuel player props are what you model, alert on or show, and you want each prop's full move history and graded results from one book in depth. Sources: [Pricing](https://fanduelapi.com/pricing) , [Credits](https://fanduelapi.com/credits) , [History coverage](https://fanduelapi.com/history-coverage)

## In more detail

The value of shopping comes from the best price, so count books that actually post the market you bet, not books in the catalogue.

## Where this API is the weaker choice

- One sportsbook: FanDuel API collects FanDuel only. For line shopping across many books a multi-book API is the better fit; our compare endpoint adds only the Novig fair price, the DraftKings price and the PrizePicks line.

## Try it

FanDuel against three other venues

```
curl "https://fanduelapi.com/api/v1/compare?view=books&league=nfl&limit=50" \
  -H "Authorization: Bearer $FANDUEL_API_KEY"
```

Get a free key at [sign up](https://fanduelapi.com/sign-up), then read the [docs](https://fanduelapi.com/docs), the [pricing](https://fanduelapi.com/pricing) and what each call costs in [credits](https://fanduelapi.com/credits).

## Questions

### Is FanDuel usually the best price?

It varies by market; compare shows where FanDuel is above or below the Novig fair price and the DraftKings price on each line.

## Read next

- [Single-book or multi-book?](https://fanduelapi.com/answers/single-book-or-multi-book-odds-api)
- [Pricing](https://fanduelapi.com/pricing)
- [Docs](https://fanduelapi.com/docs)
- [All answers](https://fanduelapi.com/answers)

## FAQ

### Is there a free plan?

Yes. Free includes the current board over REST and MCP with data delayed 5 minutes, the change feed and the last 24 hours of line-move history. Graded results, hit rates, game logs, older history, exports and the training set come with Developer and up.

### Is this affiliated with FanDuel?

No. This is an independent data service operated by Stunning Couches LLC and is not affiliated with or endorsed by FanDuel.

### Which sports are covered?

NBA, NFL, NHL, MLB and college sports with player props, and soccer (Premier League, La Liga, Serie A, Bundesliga, Ligue 1, Champions League, MLS and internationals) with every match market and goalscorer and shots markets, as FanDuel lists them.

### How does the price compare with other odds APIs?

Checked 15 November 2026: real time here is $49 a month for FanDuel only, with every prop and every line move kept. ParlayAPI starts at $5 a month and The Odds API at $30, for many sportsbooks, and their free plans give 1,000 and 500 credits against 100 here. The side-by-side table with sources is at /fanduel-odds-api-comparison, and general questions are answered at /answers.

### How do I cancel?

From the billing page in your dashboard, or through the API, at any time. We ask why you are leaving, and the plan runs to the end of the paid period.

### How do I get a free key?

Sign up at https://fanduelapi.com/sign-up?ref=ai-claudebot. Free plan: 100 credits a month, data delayed 5 minutes, no card. REST and MCP on every plan.

### Can an AI agent sign up for me?

Yes. The agent sends POST https://fanduelapi.com/api/v1/agent/signup with your email and what you are building (add "ref": "ai-claudebot"), you approve the emailed link, and the agent collects the key. Details: https://fanduelapi.com/connect.
