get_alt_lines
Alternate spreads and totals by sportsbook: every point on each book's ladder, opening and closing, NBA, WNBA and men's college from 2023-24
Use it when you are pricing or backtesting alternate spreads and totals: every point on each book's ladder for a game with its price. NBA, WNBA and men's college from 2023-24.
Parameters
game_idstringrequired- Game id, e.g. 401585183 (from list_games or get_schedule).
leagueenum: nba | wnba | ncaam | ncaaw | nbloptional- League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw, nbl.
marketenum: alternate_spreads | alternate_totalsoptional- One market (default both).
bookmakerstringoptional- One bookmaker key, e.g. draftkings, fanduel.
snapshot_typeenum: opening | closingoptional- Closing (default) or opening ladder.
Notes
- Over MCP, ask for it in plain English and the client calls
get_alt_linesitself. Point any MCP client athttps://mcp.dunkapi.com/mcp?key=YOUR_API_KEY. - Each call costs 10 credits, taken before it runs and refunded if the server errors.
- Not the call you need? Find the right call by what you are trying to answer.
Request
curl -X POST https://mcp.dunkapi.com/v1/get_alt_lines \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401808177",
"league": "ncaam",
"market": "alternate_spreads"
}'Response
{
"game_id": "401808177",
"league": "ncaam",
"snapshot_type": "closing",
"lines": [
{
"bookmaker": "betmgm",
"market": "alternate_spreads",
"side": "away",
"point": 10.5,
"price": 135,
"captured_at": "2026-01-17T22:30:52.000Z",
"source": "archive"
},
{
"bookmaker": "betmgm",
"market": "alternate_spreads",
"side": "away",
"point": 11.5,
"price": 118,
"captured_at": "2026-01-17T22:30:52.000Z",
"source": "archive"
},
{
"bookmaker": "betmgm",
"market": "alternate_spreads",
"side": "away",
"point": 12.5,
"price": 100,
"captured_at": "2026-01-17T22:30:52.000Z",
"source": "archive"
}
],
"count": 140
}Response fields
game_idstringleaguestringsnapshot_typestringlines[]array- List of objects
lines[].bookmakerstringlines[].marketstringlines[].sidestringlines[].pointnumberlines[].pricenumberlines[].captured_atstringlines[].sourcestringcountnumber
Related endpoints
Returns the game_id this one takes.
Games with scores by season, date, range or team
Returns the game_id this one takes.
Upcoming games with the median line across sportsbooks
Takes the game_id this one returns.
One game: both box scores, every player's line, each book's line, win probability
Takes the game_id this one returns.
What the market thinks of a game: average implied and fair probability for the moneyline, spreads and totals
Try it
500 free credits every month: 50 calls to get_alt_lines, and no card.