How do I build a player props app with an AI coding assistant?
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
| MCP server for AI agents | Yes, on every plan |
|---|---|
| Free tier | 100 credits a month, no card, 5-minute delay, last 24 hours of line history |
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
| Underdog API (this site) | ParlayAPI | The Odds API | |
|---|---|---|---|
| MCP server for AI agents | Yes, on every plan | Not stated on its pricing page | Not stated on its pricing page |
| Free tier | 100 credits a month, no card, 5-minute delay, last 24 hours of line history | 1,000 credits a month, no card, up to 48 hours of historical lookback | Starter: 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.
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.