# Sports odds API use cases

Sports odds API use cases with working code: Discord and Telegram alert bots, a player props app, DFS salaries, Excel and a bet tracker.

Canonical page: https://getoddsapi.com/uses

## Free API key

Get a free GetOdds API key: **100 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 | 100 requests a day, 60 a minute | $0, no card |
| Starter | 100,000 credits a month, 120 a minute | $49 a month |
| Pro | 750,000 credits a month, 300 a minute | $113 a month |
| Business | 3,000,000 credits a month, 600 a minute | $219 a month |
| Scale | 15,000,000 credits a month, 1,200 a minute | $279 a month |

Each plan is priced just under the matching odds-api.io tier (Solo £49, about $65; Starter £99, about $131; Growth £179, about $236; Pro £229, about $302 a month, checked 2026-11-17), and every GetOdds plan reads every source.

Free evaluation allowance: 100 requests per UTC day and 60 per minute per account, with no payment step. Paid plans $49 to $279 a month for 100K to 15M credits, self-serve at /pricing.
Paid plans keep running past their monthly credits: extra credits are billed at $0.1 per 1,000 on Starter, $0.05 per 1,000 on Pro, $0.025 per 1,000 on Business, $0.012 per 1,000 on Scale, invoiced with the subscription, up to a default monthly cap ($10 on Starter, $38 on Pro, $78 on Business, $198 on Scale) that you can change or set to $0 to turn overage off.
Details: https://getoddsapi.com/pricing

## Guide


Canonical: https://getoddsapi.com/uses
Reviewed: 2026-11-22 UTC

**Answer:** These sports odds API use cases show working code for the jobs developers build most: alert bots, prop apps, DFS tools, spreadsheets and bet trackers, each on one free GetOdds key.

Sports odds API use cases with working code: Discord and Telegram alert bots, a player props app, DFS salaries, Excel and a bet tracker.

| Fact | Value |
| --- | --- |
| Use cases | 6 |
| Free key | 100 requests a day, no card |
| Code | Python, Node.js, Power Query, curl |

## Bots and alerts

Post line moves where your group already talks.

- [Odds alert Discord bot](https://getoddsapi.com/uses/odds-alert-discord-bot): Line drops posted to a Discord channel in Python.
- [Telegram odds bot](https://getoddsapi.com/uses/telegram-odds-bot): Live odds on a /odds command.

## Apps and tools

Products built on every book’s prices.

- [Player props app](https://getoddsapi.com/uses/player-props-app): A prop board from every book in one call.
- [DFS salaries API](https://getoddsapi.com/dfs-salaries-api): DraftKings and FanDuel salaries as JSON.
- [Bet tracker app](https://getoddsapi.com/uses/bet-tracker-app): Log prices, grade bets, track CLV.

## Spreadsheets and guides

No app needed.

- [Live sports odds in Excel](https://getoddsapi.com/uses/odds-in-excel): Power Query with your key in a header.
- [Odds in Google Sheets](https://getoddsapi.com/odds-api-google-sheets): Apps Script, copy and paste.
- [Build a betting app](https://getoddsapi.com/guides/build-betting-app): The longer guide.
- [Python arbitrage guide](https://getoddsapi.com/guides/python-arbitrage): Find two-way price gaps.

## Questions

### Do these use cases need a paid plan?

No. Each runs on the free key (100 requests a day); a faster poll or more leagues may need a paid plan.

### Which languages are covered?

Python with the standard library, Node.js with built-in fetch, Excel Power Query and curl.

### Can I build these with an AI agent?

Yes. The GetOdds MCP server lets Claude, Cursor and other clients read the same data while they write the code.

## Sources

- [GetOdds API documentation](https://getoddsapi.com/docs)
- [GetOdds OpenAPI contract](https://getoddsapi.com/openapi.json)
- [GetOdds MCP setup](https://getoddsapi.com/mcp)

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
