Skip to content

get_alt_lines

10 creditsMulti-tablePOST /v1/get_alt_lines

Alternate puck lines and totals by sportsbook: every point on each book's ladder, opening and closing, from 2023-24

Use it when you are pricing or backtesting alternate puck lines and totals: every point on each book's ladder for a game with its price.

Parameters

game_idstringrequired
Game id, e.g. 2025020150 (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.

Notes

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

Response

json
{
  "game_id": "2023020082",
  "league": "nhl",
  "snapshot_type": "closing",
  "lines": [
    {
      "bookmaker": "betmgm",
      "market": "alternate_totals",
      "side": "over",
      "point": 4,
      "price": -1000,
      "captured_at": "2023-10-23T22:25:42.000Z",
      "source": "archive"
    },
    {
      "bookmaker": "betmgm",
      "market": "alternate_totals",
      "side": "over",
      "point": 4.5,
      "price": -600,
      "captured_at": "2023-10-23T22:25:42.000Z",
      "source": "archive"
    },
    {
      "bookmaker": "betmgm",
      "market": "alternate_totals",
      "side": "over",
      "point": 5,
      "price": -450,
      "captured_at": "2023-10-23T22:25:42.000Z",
      "source": "archive"
    }
  ],
  "count": 72
}

Response fields

game_idstring
The game
leaguestring
The league asked for
snapshot_typestring
opening or closing
lines[]array
One row per point on each book's ladder
lines[].bookmakerstring
The sportsbook
lines[].marketstring
alternate_spreads or alternate_totals
lines[].sidestring
home or away for puck lines (point is that side's line), over or under for totals
lines[].pointnumber
The line
lines[].pricenumber
American price
lines[].captured_atstring
When the ladder was captured (ISO 8601 UTC), before the game started
countnumber
Rows returned
notestring
Why a game has no alternate lines, when it has none

Related endpoints

Try it

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