Skip to content

Guides

How do I compare NHL player prop lines across sportsbooks?

Every sportsbook's line and over and under price on shots on goal for one game, so you can find the books that disagree and the best price on each side.

Code verified November 18, 2026. One call to get_player_props, 10 credits.

The call

game_id comes from get_games or get_schedule. Leave market out for every prop in the game: goals, assists, points, blocked shots, goalie saves and anytime goal scorer. Add snapshot_type: "opening" for the first line instead of the close.

import requests
import pandas as pd

API_KEY = "YOUR_API_KEY"

resp = requests.post(
    "https://mcp.puckapi.com/v1/get_player_props",
    headers={"x-api-key": API_KEY},
    json={
        "game_id": "2025020002",
        "market": "player_shots_on_goal",
    },
    timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]

def implied(odds):
    return 100 / (odds + 100) if odds > 0 else -odds / (-odds + 100)

props = pd.DataFrame(data["props"])
props["fair_over"] = props["over_odds"].map(implied) / (
    props["over_odds"].map(implied) + props["under_odds"].map(implied)
)
lines = props.pivot_table(index="player_name", columns="bookmaker", values="line")
print(lines.loc[lines.nunique(axis=1) > 1])
best = props.loc[props.groupby(["player_name", "line"])["over_odds"].idxmax()]
print(best[["player_name", "line", "bookmaker", "over_odds", "fair_over"]].head(8).round(3).to_string(index=False))

Replace YOUR_API_KEY with a key from your dashboard. Python needs requests and pandas (pip install requests pandas). JavaScript runs on Node 18 or newer, or in the browser.

Or use the official client: pip install puckapi

What comes back

The data object of the response, trimmed to the first rows. Every field is real output from the run above.

{
  "snapshot_type": "closing",
  "games": 1,
  "props": [
    {
      "game_id": "2025020002",
      "game_date": "2025-10-07",
      "player_name": "Adam Fox",
      "player_id": 8479323,
      "market": "player_shots_on_goal",
      "bookmaker": "betmgm",
      "line": 1.5,
      "over_odds": -165,
      "under_odds": 125,
      "captured_at": "2025-10-08T00:05:39.000Z",
      "source": "archive"
    },
    "...77 more"
  ],
  "count": 78
}

What to do next

  • get_prop_history (10 credits). One player's closing and opening line for every game in a span, with what he recorded and the over rate.
  • search_players (2 credits). Find the player_id to pull one player's props across games.

The data this uses

Every row above comes from NHL player props by sportsbook, from 2023. NHL player prop lines by sportsbook since May 2023: the closing line, and the opening line where held, with each player's history against his line. REST or MCP.

More guides

The same guide for other sports

The latest lines from every book are on the odds board. Today's props, with the best price on each side, are on the player props board. Rather ask Claude? 31 free Claude skills call these endpoints for you.

Start with 500 free credits every month

No card. REST or MCP.