Skip to content

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_lines itself. Point any MCP client at https://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_idstring
leaguestring
snapshot_typestring
lines[]array
List of objects
lines[].bookmakerstring
lines[].marketstring
lines[].sidestring
lines[].pointnumber
lines[].pricenumber
lines[].captured_atstring
lines[].sourcestring
countnumber

Related endpoints

Try it

500 free credits every month: 50 calls to get_alt_lines, and no card.