Short answer:Give the assistant an API it can read (an llms.txt or OpenAPI file), a key in an environment variable and one screen to build; for Underdog Fantasy data point it at https://underdogapi.com/llms.txt and ask for a page that lists tonight's lines with both multipliers from /api/v1/projections.

Underdog API on 15 Nov 2026

Underdog API on 15 Nov 2026
MCP server for AI agentsYes, on every plan
Free tier100 credits a month, no card, 5-minute delay, last 24 hours of line history

Get a free API keyAPI reference

Updated November 15, 2026. Our numbers are from the production database at 06:07 UTC on 15 Nov 2026; other providers' facts are paraphrased from their public pages on the date shown.

Prompt that works

"Read https://underdogapi.com/llms.txt. Build a page that lists NBA lines from /api/v1/projections?league=NBA&view=compact with player, stat, line and both multipliers. Read the key from UNDERDOG_API_KEY. Cache for 60 seconds."

Compared with other providers

How do I build a player props app with an AI coding assistant?: comparison
Underdog API (this site)ParlayAPIThe Odds API
MCP server for AI agentsYes, on every planNot stated on its pricing pageNot stated on its pricing page
Free tier100 credits a month, no card, 5-minute delay, last 24 hours of line history1,000 credits a month, no card, up to 48 hours of historical lookbackStarter: 500 credits a month, no historical odds

Read on 15 Nov 2026 unless a cell gives another date. Plans change; confirm on each provider's page. This site is independent and not affiliated with any company named here.

Where this API is worse

  • It covers Underdog Fantasy only. If you need sportsbook odds (moneylines, spreads, sportsbook props) in the same call, a multi-book API fits better.

Try it against the real API

Set UNDERDOG_API_KEY to a free key from sign-up. Every path below is documented in the API reference; costs are on credits.

JavaScript (Node 18+ fetch)
const res = await fetch("https://underdogapi.com/api/v1/projections?league=NBA&view=compact&limit=5", {
  headers: { Authorization: `Bearer ${process.env.UNDERDOG_API_KEY}` },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data, meta } = await res.json();
console.log(data.length, "rows", meta);

Questions

Is there a starter kit?

Yes: /developers/starter-kit.

Underdog API is an independent data service. It is not affiliated with, endorsed by or operated by Underdog Fantasy or any company named on this page.

References