get_alt_lines
10 creditsMulti-tablePOST /v1/get_alt_lines
Alternate run lines and totals by sportsbook: every point on each book's ladder, opening and closing, from 2023
Use it when you are pricing or backtesting alternate run lines and totals: every point on each book's ladder for a game with its price. MLB from 2023.
Parameters
game_idstringrequired- Game id, e.g. 776512 (from get_games or get_schedule).
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.
leagueenum: mlb | ncaabaseoptional- League. Defaults to mlb. One of: mlb, ncaabase.
Notes
- Over MCP, ask for it in plain English and the client calls
get_alt_linesitself. Point any MCP client athttps://mcp.fastballapi.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.fastballapi.com/v1/get_alt_lines \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401471615",
"market": "alternate_totals"
}'Response
json
{
"game_id": "401471615",
"league": "mlb",
"snapshot_type": "closing",
"lines": [
{
"bookmaker": "betmgm",
"market": "alternate_totals",
"side": "over",
"point": 5,
"price": -2500,
"captured_at": "2023-05-13T23:35:39.000Z",
"source": "archive"
},
{
"bookmaker": "betmgm",
"market": "alternate_totals",
"side": "over",
"point": 5.5,
"price": -1100,
"captured_at": "2023-05-13T23:35:39.000Z",
"source": "archive"
},
{
"bookmaker": "betmgm",
"market": "alternate_totals",
"side": "over",
"point": 6,
"price": -1100,
"captured_at": "2023-05-13T23:35:39.000Z",
"source": "archive"
}
],
"count": 128
}Response fields
game_idstringleaguestringsnapshot_typestringlines[]array- List of objects
lines[].bookmakerstringlines[].marketstringlines[].sidestringlines[].pointnumberlines[].pricenumberlines[].captured_atstringlines[].sourcestringcountnumber
Related endpoints
get_games2 cr
Returns the game_id this one takes.
Games with runs, hits and errors by season, date, range or team
get_schedule2 cr
Returns the game_id this one takes.
Upcoming games with the median line across sportsbooks
get_game5 cr
Takes the game_id this one returns.
One game: every batting and pitching line, each book's line, win probability
get_line_movement10 cr
Takes the game_id this one returns.
Snapshots of each sportsbook's line before first pitch
Try it
500 free credits every month: 50 calls to get_alt_lines, and no card.