# Underdog optimizer

> Pick legs from the live Underdog board with their real Higher and Lower multipliers, add your win probabilities, and rank Standard and Flex entries by EV. 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/tools/underdog-optimizer

## 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

## 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

Free optimizer



The Underdog optimizer ranks every Standard and Flex entry you can build from the legs you choose. Each leg carries its observed Higher or Lower payout multiplier from the current board. You set a win probability for each leg; the optimizer weights every win-loss outcome by those probabilities, pays it from the published base table times the winning legs’ multipliers, and sorts the entries by expected return.

Step 1

## Pick legs from the live board

Current Underdog lines with each side’s multiplier

Loading the current board…

The 40 most-picked current lines per league, from the public board endpoint. Need every line? [The projections endpoint](https://underdogapi.com/docs#projections) returns the full board.

Step 2

## Set your probabilities

Each leg starts at its multiplier-implied probability, 1 ÷ (√3.5 × multiplier). Replace it with your own estimate. Up to 12 legs.

Add at least two legs from the board.

Entry types Standard Flex Entry sizes 2 3 4 5 6 7 8 Max picks per team Max picks per game

Step 3

## Best entries on your numbers

Rankings appear once you have two or more legs.

## How the optimizer ranks entries

1. Load a league and add Higher or Lower sides from the current board. Each side brings its own observed payout multiplier; sides that are not offered stay disabled.
2. Set a win probability for each leg. The default is the multiplier-implied probability; your own estimate is what makes the ranking useful.
3. Choose Standard, Flex or both, the entry sizes, and caps per team and per game. The optimizer tries every combination that fits and keeps the ten with the highest modeled return.

Every result is computed in your browser from the published base table. Board rows come from the same cached public endpoint as the [line explorer](https://underdogapi.com/tools/line-explorer); nothing you type is sent anywhere.

## The base payout table it uses

Total return multipliers for 1.0x picks. Each winning pick’s multiplier scales the payout; a losing pick’s multiplier drops out.

| Entry | Paid outcomes |
| --- | --- |
| 2-pick Standard | 2/2: 3.5x |
| 3-pick Standard | 3/3: 6.5x |
| 4-pick Standard | 4/4: 12x |
| 5-pick Standard | 5/5: 20x |
| 6-pick Standard | 6/6: 35x |
| 7-pick Standard | 7/7: 65x |
| 8-pick Standard | 8/8: 120x |
| 3-pick Flex | 3/3: 3.25x · 2/3: 1.09x |
| 4-pick Flex | 4/4: 6x · 3/4: 1.4x |
| 5-pick Flex | 5/5: 10x · 4/5: 2.5x |
| 6-pick Flex | 6/6: 25x · 5/6: 2.6x · 4/6: 0.25x |
| 7-pick Flex | 7/7: 40x · 6/7: 2.75x · 5/7: 0.5x |
| 8-pick Flex | 8/8: 80x · 7/8: 3x · 6/8: 1x |

Source: [published Standard and Flex payouts](https://help.underdogsports.com/en/articles/13780101-pick-em-standard-flex-entry-payouts), checked 2026-11-06. To check one entry by hand, use the [payout calculator](https://underdogapi.com/tools/underdog-payout-calculator) or the [break-even and EV calculator](https://underdogapi.com/tools/underdog-break-even-calculator).

## The formula

Expected return = Σ over every win/loss outcome of P(outcome) × base table multiplier for the hits × product of the winning legs’ multipliers, capped at 5,000x. P(outcome) = product of p for winning legs × (1 − p) for losing legs. Modeled EV = expected return − 1 per unit of entry fee.

## Worked example

Three 1.0x legs you rate at 55% each in a 3-pick Standard entry: 0.55³ × 6.5 = 1.0814, an 8.14% modeled ROI. Swap one leg for a 1.25x boosted side you rate at 47%: 0.55² × 0.47 × 6.5 × 1.25 = 1.1552, a 15.52% modeled ROI, if your probabilities are right.

## Questions

Where do the multipliers come from?

From the current Underdog board as recorded by underdogapi.com, read through the same cached public endpoint as the line explorer. Each side shows its own multiplier and availability; a side that is not offered cannot be added.

Where do the default probabilities come from?

Each leg starts at its multiplier-implied probability on the two-pick table scale, 1 ÷ (√3.5 × multiplier), the same equivalence the multiplier-to-odds converter uses. At those defaults most entries rank near or below break-even. Replace them with your own estimates: the ranking reflects only the probabilities you enter.

Does the optimizer model same-game correlation?

No. Legs are treated as independent. Underdog can adjust the quote for correlated picks, so the app’s entry quote can differ. Use the per-game cap to limit legs from one game.

Why is an entry I could build missing from the ranking?

The list shows the top entries only, one pick per player, within your team and game caps and the entry sizes you selected. Standard uses 2 to 8 picks and Flex 3 to 8, as the published base table lists them.

Is this a pick recommendation?

No. It is arithmetic on the board’s multipliers and the probabilities you supply. A ranking built on wrong probabilities is wrong.

Do I need an account or an API key?

No. The calculator runs in your browser and sends nothing to a server. Copy the link to save or share a calculation. An API key is only for applications that read Underdog lines and multipliers from the API.

## Build on the live board

The Underdog API returns every current Higher and Lower line with each side’s payout multiplier, recorded line history and a change feed. Run this math across the whole board in your own code. Free key with 100 credits a month.

[Get a free API key](https://underdogapi.com/sign-up) [Projections endpoint](https://underdogapi.com/docs#projections)

Last reviewed November 13, 2026. Educational calculations, not picks, betting advice or a promise of profit. Prices move and house rules settle every entry and bet, so check the slip before you play. Independent data service, not affiliated with, endorsed by or sponsored by Underdog Fantasy or Underdog Sports. [Responsible gambling resources](https://www.ncpgambling.org/).

## More free tools

## 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
