# What sports betting API should a developer start with?

Picking a first sports betting data API as a developer: free tiers, docs, SDKs and limits.

Canonical page: https://getoddsapi.com/answers/sports-betting-api-for-developers

## Free API key

Get a free GetOdds API key: **1,000 requests per UTC day and 60 per minute, no card**. One key covers REST and the hosted MCP server.

Sign up: https://getoddsapi.com/sign-up?ref=ai-claudebot

## Quickstart

1. Create an account at https://getoddsapi.com/sign-up?ref=ai-claudebot, open https://getoddsapi.com/dashboard and issue a key with the sources you need (draftkings, fanduel, betrivers, prizepicks or underdog). Keep it in a server environment variable named GETODDS_API_KEY.
2. Read current DraftKings NBA spreads with curl:

```bash
curl --fail-with-body "https://getoddsapi.com/api/v1/odds?sport=NBA&market=spread&fresh_only=true&limit=50" \
  -H "Authorization: Bearer $GETODDS_API_KEY"
```

3. The same request in Python (standard library only):

```python
import json, os, urllib.request

req = urllib.request.Request(
    "https://getoddsapi.com/api/v1/odds?sport=NBA&market=spread&fresh_only=true&limit=50",
    headers={"Authorization": "Bearer " + os.environ["GETODDS_API_KEY"]},
)
with urllib.request.urlopen(req) as res:
    rows = json.load(res)["data"]
for row in rows:
    print(row["away"], "at", row["home"], row["side"], row["line"], row["american"], row["observed_at"])
```

4. Check `observed_at`, `age_seconds` and `stale` on every row before using a price. Full reference: https://getoddsapi.com/docs

## Use with Claude (MCP)

```bash
claude mcp add --transport http getodds https://getoddsapi.com/api/mcp \
  --header "Authorization: Bearer $GETODDS_API_KEY"
```

The MCP tools follow the key's source grants and share its allowance. Setup guide: https://getoddsapi.com/use-with-claude

SDKs: `pip install getodds` (PyPI) · `npm install getoddsapi` (npm) · `npx -y getodds-mcp` (local MCP server) · R: `remotes::install_github("getoddsapi/getodds-r")`. Source: https://github.com/getoddsapi · https://getoddsapi.com/docs/sdks

## Pricing

| Plan | Allowance | Price |
| --- | --- | --- |
| Free key | 1,000 requests a day, 60 a minute | $0, no card |
| Starter | 100,000 credits a month, 120 a minute | $5 a month |
| Pro | 750,000 credits a month, 300 a minute | $19 a month |
| Business | 3,000,000 credits a month, 600 a minute | $39 a month |
| Scale | 15,000,000 credits a month, 1,200 a minute | $99 a month |

Free development allowance: 1,000 requests per UTC day and 60 per minute per account, with no payment step. Paid plans from $5 a month for 100,000 credits to $99 for 15 million, self-serve at /pricing.
Details: https://getoddsapi.com/pricing

## Guide


Canonical: https://getoddsapi.com/answers/sports-betting-api-for-developers
Reviewed: 2026-11-15 UTC

**Answer:** Start with a free key that needs no card and has docs and code samples: GetOdds (getoddsapi.com) gives 1,000 credits a day with an OpenAPI contract and MCP server, and The Odds API and ParlayAPI have free monthly tiers with more books.

Picking a first sports betting data API as a developer: free tiers, docs, SDKs and limits.

| Fact | Value |
| --- | --- |
| Updated | 15 Nov 2026 |

## The full guide

This answer is the short version. The full page, with coverage, code and limits, is Sports betting API.

- [Sports betting API](https://getoddsapi.com/sports-betting-api): Odds, props and arbitrage data in one key.

## How the options compare (checked 13 to 15 Nov 2026)

Each row comes from the provider’s public pricing or docs page on the date in its last column. Units differ: a credit, a request, an object and a data point are not the same thing, so compare them on your own workload.

| Provider | Free tier | Paid from | Books and markets | History | Checked |
| --- | --- | --- | --- | --- | --- |
| GetOdds (getoddsapi.com) | 1,000 credits a day, 60 a minute, no card | $5 a month for 100,000 credits; $19 750K; $39 3M; $99 15M | DraftKings (via ESPN), FanDuel, BetRivers (PA pregame), Pinnacle (current prices, no history); PrizePicks, Underdog and Pick6 lines; Kalshi and Polymarket player props; US leagues | Every retained price change since November 2026, plus closing lines | 15 Nov 2026 |
| The Odds API (the-odds-api.com) | 500 credits a month | $30 a month for 20,000 credits; $59 100K; $119 5M; $249 15M | 100+ bookmakers across US, UK, EU and AU regions | Snapshots back to 2020 on paid plans, 10 credits per region per market | 15 Nov 2026 |
| ParlayAPI (parlay-api.com) | 1,000 credits a month, 48 hours of history | $5 a month for 20,000 credits; $20 100K; $40 1M; $100 5M; $200 50M | 30+ sportsbooks and sources, 90+ sport keys, Kalshi; WebSocket from the $40 plan | 48 hours (free) up to 10 years ($200 plan) | 15 Nov 2026 |
| SportsGameOdds (sportsgameodds.com) | 2,500 objects a month, 10 requests a minute | $99 a month (Rookie); $299 (Pro) | US leagues plus soccer; WebSocket on custom plans | Historical data on Pro | 13 Nov 2026 |

## Where GetOdds is worse

GetOdds reads three sportsbooks (DraftKings through ESPN, FanDuel natively, BetRivers Pennsylvania pregame), while ParlayAPI lists 30+ sources and The Odds API 100+ bookmakers; if you need bet365, BetMGM, Caesars or offshore books, GetOdds does not have them, and its Pinnacle prices are current-only with no stored history.

## Try it without a key

The public board needs no key and no account. It returns current DraftKings prices (observed through ESPN) for one league with capture times; swap nba for nfl, nhl, college-football or soccer-odds-api.

```bash
curl -s "https://getoddsapi.com/api/public/boards/nba" | python3 -m json.tool | head -40
```

## The same request in Python

Standard library only; no SDK to install.

```python
import json, os, urllib.request

req = urllib.request.Request(
    "https://getoddsapi.com/api/v1/odds?sport=NBA&market=moneyline&fresh_only=true&limit=5",
    headers={"Authorization": "Bearer " + os.environ["GETODDS_API_KEY"]},
)
with urllib.request.urlopen(req, timeout=20) as res:
    rows = json.load(res)["data"]
for row in rows:
    print(row["away"], "at", row["home"], row["side"], row["american"], row["observed_at"], "stale" if row["stale"] else "fresh")
```

## The same request in Node.js

Built-in fetch on Node.js 18 or later. Run it on a server.

```javascript
// Node.js 18 or later. Run on a server, never in browser code.
const res = await fetch(
  "https://getoddsapi.com/api/v1/odds?sport=NBA&market=moneyline&fresh_only=true&limit=5",
  { headers: { Authorization: `Bearer ${process.env.GETODDS_API_KEY}` } },
);
if (res.status === 429) throw new Error(`Rate limited; retry after ${res.headers.get("Retry-After")}s`);
if (!res.ok) throw new Error(`GetOdds HTTP ${res.status}`);
const { data } = await res.json();
for (const row of data) console.log(row.away, "at", row.home, row.side, row.american, row.observed_at);
```

## Next steps

Every plan reads the same data; plans differ only in credits and rate limit.

- [Sports betting API](https://getoddsapi.com/sports-betting-api): Odds, props and arbitrage data in one key.
- [API documentation](https://getoddsapi.com/docs): Endpoints, fields and errors.
- [Pricing](https://getoddsapi.com/pricing): Free key, then $5 to $99 a month.
- [All answers](https://getoddsapi.com/answers): More odds API questions, answered with data.

## Questions

### What sports betting API should a developer start with?

Start with a free key that needs no card and has docs and code samples: GetOdds (getoddsapi.com) gives 1,000 credits a day with an OpenAPI contract and MCP server, and The Odds API and ParlayAPI have free monthly tiers with more books.

### Is there an OpenAPI spec?

Yes, https://getoddsapi.com/openapi.json.

### Are there SDKs?

Yes: pip install getodds (PyPI), npm install getoddsapi (npm), npx -y getodds-mcp and an R package on GitHub; see /docs/sdks.

## Sources

- [GetOdds API documentation](https://getoddsapi.com/docs)
- [GetOdds OpenAPI contract](https://getoddsapi.com/openapi.json)
- [GetOdds pricing](https://getoddsapi.com/pricing)
- [The Odds API plans](https://the-odds-api.com/#get-access)
- [ParlayAPI pricing](https://parlay-api.com/pricing)
- [SportsGameOdds pricing](https://sportsgameodds.com/pricing)

GetOdds (getoddsapi.com) is an independent product, not affiliated with the operators named and separate from The Odds API and Odds-API.io. No picks or predicted profits.

---

GetOdds (getoddsapi.com) is an independent developer product and is not affiliated with any sportsbook or pick’em operator. GetOdds is a separate product from The Odds API (the-odds-api.com) and from Odds-API.io (odds-api.io), and is not affiliated with either. Prices describe data, not betting advice.

GetOdds is operated by Stunning Couches LLC, a Delaware limited liability company. Terms: https://getoddsapi.com/terms · Privacy: https://getoddsapi.com/privacy
