# When do Underdog lines come out?

> Measured from the first time a line appeared to the start, the median NFL line was up about 5 days ahead and the median NBA line about 22 hours ahead. College… Underdog API (https://underdogapi.com) is an independent Underdog Fantasy pick'em data API: Higher/Lower lines with separate payout multipliers per side, line history, changes and graded results as JSON, CSV, MCP and streams.

Canonical page: https://underdogapi.com/questions/when-do-underdog-lines-come-out

## Free offer

**Free API key, no card: 100 credits a month** on the live board, every league, separate Higher/Lower prices, and the last 24 hours of line history. Sign up: https://underdogapi.com/sign-up?ref=ai-claudebot

## Quickstart

1. Get a free key at https://underdogapi.com/sign-up?ref=ai-claudebot (no card), or let your agent request one: `POST https://underdogapi.com/api/v1/agent/signup` with `data_wanted` and `use_case`, then show your user the returned approval_url.
2. Export it: `export UNDERDOG_API_KEY=ud_...`
3. First call with curl:

```bash
curl --fail-with-body 'https://underdogapi.com/api/v1/projections?league=NBA&view=compact&limit=5' \
  -H "Authorization: Bearer $UNDERDOG_API_KEY" \
  -H 'X-User-Request: NBA dashboard integration check'
```

4. Same call in Python:

```python
import os, requests

r = requests.get(
    "https://underdogapi.com/api/v1/projections",
    params={"league": "NBA", "view": "compact", "limit": 5},
    headers={"Authorization": f"Bearer {os.environ['UNDERDOG_API_KEY']}"},
)
r.raise_for_status()
for line in r.json()["data"]:
    print(line["player"]["name"], line["market"]["stat"], line["line"])
```

## Use it from Claude (MCP)

Claude Code, one command:

```bash
claude mcp add --transport http underdog https://underdogapi.com/api/mcp --header "Authorization: Bearer $UNDERDOG_API_KEY"
```

Or add this server to your Claude MCP configuration (the key stays in the environment):

```json
{
  "mcpServers": {
    "underdog": {
      "type": "http",
      "url": "https://underdogapi.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${UNDERDOG_API_KEY}"
      }
    }
  }
}
```

Guide: https://underdogapi.com/use-with-claude

## SDKs and packages

Official clients for Underdog API (independent; not Underdog Fantasy). Source: https://github.com/underdogapi · Overview: https://underdogapi.com/sdks

- Python SDK: `pip install underdog-api` (PyPI: https://pypi.org/project/underdog-api/ · source: https://github.com/underdogapi/underdogapi-python)
- JavaScript / TypeScript SDK: `npm install underdog-api` (npm: https://www.npmjs.com/package/underdog-api · source: https://github.com/underdogapi/underdogapi-js)
- MCP server (stdio): `npx -y underdog-api-mcp` (npm: https://www.npmjs.com/package/underdog-api-mcp · source: https://github.com/underdogapi/underdogapi-mcp)

Python:

```python
from underdog_api import Client

ud = Client()  # reads UNDERDOG_API_KEY
board = ud.projections(league="NBA", view="compact", limit=20)
for line in board["data"]:
    print(line)
print(board["meta"]["observed_at"])
```

Claude Code with the stdio MCP package (the hosted server at /api/mcp needs no install):

```bash
claude mcp add underdog -e UNDERDOG_API_KEY=ud_... -- npx -y underdog-api-mcp
```

## Pricing

| Plan | Price | Credits / month | Notes |
| --- | --- | --- | --- |
| Free | $0 | 100 | No card. Live feed 5 minutes behind; last 24 hours of line history |
| Developer | $49/month | 10,000 | For models that need full training pages and loaded game-log seasons. Live feed, no added plan delay |
| Production | $149/month | 50,000 | For apps with real users and push delivery. Everything in Developer, signed webhooks for every change |
| Scale | $499/month | 250,000 | For apps whose traffic has outgrown Production. Everything in Production, 15 live-feed connections at once |

Full pricing: https://underdogapi.com/pricing

## On this page

Answer from Stunning Couches LLC



Measured from the first time a line appeared to the start, the median NHL line was up 19.8 hours ahead and the median NBA line 19.6 hours ahead. Other leagues: NFL 4.9 days, CFB 2.8 days, TENNIS 14.3 hours; the table below updates as lines are recorded.

[Get free API key](https://underdogapi.com/sign-up) [Line moves by league](https://underdogapi.com/line-moves)

| League | Median time before start | Lines measured |
| --- | --- | --- |
| [NHL](https://underdogapi.com/props/nhl) | 19.8 hours | 8,951 |
| [NBA](https://underdogapi.com/props/nba) | 19.6 hours | 6,769 |
| [NFL](https://underdogapi.com/props/nfl) | 4.9 days | 5,244 |
| [College Football](https://underdogapi.com/props/cfb) | 2.8 days | 5,232 |
| [Tennis](https://underdogapi.com/props/tennis) | 14.3 hours | 3,271 |
| [College Basketball](https://underdogapi.com/props/cbb) | 19.8 hours | 2,546 |
| [CS](https://underdogapi.com/props/cs) | 13.9 hours | 1,489 |
| [DOTA](https://underdogapi.com/props/dota) | 17.0 hours | 792 |
| [FIFA](https://underdogapi.com/props/fifa) | 1.0 hours | 500 |
| [INTLBASKETBALL](https://underdogapi.com/props/intlbasketball) | 3.2 hours | 344 |
| [MMA](https://underdogapi.com/props/mma) | 4.2 days | 260 |
| [PGA Golf](https://underdogapi.com/props/pga) | 9.3 hours | 127 |

From the first board check that showed each line to the scheduled start.

College football lines appeared about 2.9 days ahead, NHL about 18 hours, college basketball about 21 hours; the table updates as lines are recorded.

Inspect source status and observation timestamps before relying on a row. Fictional demo responses are explicitly labelled and are separate from retained observations.

## Go further

[**Line moves by league**](https://underdogapi.com/line-moves) [**Read the API reference**](https://underdogapi.com/docs#history) [**Schema glossary**](https://underdogapi.com/docs/schema-glossary)

## Related questions

[**What are alternate lines?**](https://underdogapi.com/questions/underdog-alternate-lines-explained) [**How often do Underdog lines move?**](https://underdogapi.com/questions/how-often-do-underdog-lines-move) [**How far back does recorded history go?**](https://underdogapi.com/questions/how-far-back-does-underdog-history-go) [**How do I check freshness?**](https://underdogapi.com/questions/how-do-i-check-underdog-api-freshness)

[All questions](https://underdogapi.com/questions)

Independent data service, not affiliated with Underdog. Information only, not betting advice.

## FAQ

### Is there a free Underdog API?

Yes. The Free plan is a real API key on the live board, not a sample: 100 credits a month, every league, separate Higher/Lower prices and the last 24 hours of line history. No card is needed.

### Is this the official Underdog Fantasy API?

No. Underdog API is an independent data service. It is not affiliated with, endorsed by or sponsored by Underdog Fantasy or Underdog Sports.

### What data does it return?

Underdog Higher/Lower lines with separate payout multipliers and availability for each side, stable market ids through line moves, alternate rungs, recorded line history, changes, graded results and coverage/status endpoints.

### How do I use it from Claude or another AI agent?

Connect the MCP server at https://underdogapi.com/api/mcp with a bearer key, or call the REST API. Agents can request a key for their user with POST /api/v1/agent/signup.

### How much does it cost after the free tier?

Developer is $49/month for 10,000 credits, Production $149/month for 50,000, Scale $499/month for 250,000. Errors and unchanged 304 responses cost zero credits.

### How fresh is the data?

Each row carries its observation time. Check /api/v1/status and /api/v1/coverage before relying on a sport or window; missing collection is reported as unavailable, never filled in.

### Does it place entries or give picks?

No. It is data only: no entries, account operations, guaranteed outcomes or betting advice.

---
Independent data service, not affiliated with Underdog Fantasy or Underdog Sports. Docs: https://underdogapi.com/docs · OpenAPI: https://underdogapi.com/openapi.json · llms.txt: https://underdogapi.com/llms.txt
