Skip to content

get_alt_lines

10 creditsMulti-tablePOST /v1/get_alt_lines

Alternate spreads and totals by sportsbook: every point on the ladder, opening and closing

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, opening or closing. From the 2023 season.

Parameters

game_idstringrequired
Game id, e.g. 2025_01_KC_LAC.
marketenum: alternate_spreads | alternate_totalsoptional
One market (default both).
bookmakerstringoptional
Bookmaker key: fanduel, draftkings, betmgm, bovada, pinnacle, espnbet.
snapshot_typeenum: opening | closingoptional
closing (default): each book's last ladder before kickoff. opening: its first.

Notes

  • Over MCP, ask for it in plain English and the client calls get_alt_lines itself. Point any MCP client at https://mcp.endzoneapi.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.endzoneapi.com/v1/get_alt_lines \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "game_id": "2025_01_KC_LAC",
  "market": "alternate_spreads",
  "bookmaker": "draftkings"
}'

Response

json
{
  "game_id": "2025_01_KC_LAC",
  "snapshot_type": "closing",
  "lines": [
    {
      "bookmaker": "draftkings",
      "market": "alternate_spreads",
      "side": "away",
      "point": -16.5,
      "price": 426,
      "captured_at": "2025-09-05T21:53:39.000Z"
    },
    {
      "bookmaker": "draftkings",
      "market": "alternate_spreads",
      "side": "away",
      "point": -15.5,
      "price": 388,
      "captured_at": "2025-09-05T21:53:39.000Z"
    },
    {
      "bookmaker": "draftkings",
      "market": "alternate_spreads",
      "side": "away",
      "point": -14.5,
      "price": 360,
      "captured_at": "2025-09-05T21:53:39.000Z"
    }
  ],
  "count": 50
}