Skip to content

Guides

How often does an NHL player go over his assists line?

One row per game with a player's assists line, the price, his assists and whether he went over. Nathan MacKinnon went over in 43 of 80 graded games.

Code verified October 21, 2026. One call to get_prop_history, 10 credits.

The call

player_id comes from search_players. Other markets: points, goals, shots on goal, blocked shots, goalie saves and anytime goal scorer. A game with no box score yet comes back with a null result and is left out of the rates.

import requests
import pandas as pd

API_KEY = "YOUR_API_KEY"

resp = requests.post(
    "https://mcp.puckapi.com/v1/get_prop_history",
    headers={"x-api-key": API_KEY},
    json={
        "player_id": 8477492,
        "market": "player_assists",
        "from_date": "2025-10-01",
        "to_date": "2026-04-20",
        "limit": 100,
    },
    timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]

games = pd.DataFrame(data["games"]).dropna(subset=["result"])
s = data["summary"]
print(data["player_name"], data["stat"], "|", s["overs"], "overs,", s["unders"], "unders, over rate", s["over_rate"])
print("average line", s["avg_line"], "average actual", s["avg_actual"])
# Rolling form: the over rate across each run of 10 games, to see if the line is chasing a hot or cold stretch.
games["over"] = (games["result"] == "over").astype(int)
games["last10_over_rate"] = games["over"].rolling(10).mean()
print(games[["game_date", "line", "over_odds", "actual", "result", "last10_over_rate"]].tail(6).to_string(index=False))
# Books move the line to 1.5 for a few games; compare how those went.
print(games.groupby("line")["result"].value_counts().unstack(fill_value=0))

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.

{
  "player_id": 8477492,
  "player_name": "Nathan MacKinnon",
  "market": "player_assists",
  "stat": "assists",
  "bookmaker": null,
  "games": [
    {
      "game_id": "2025020003",
      "game_date": "2025-10-07",
      "line": 0.5,
      "open_line": 0.5,
      "over_odds": -150,
      "under_odds": 114,
      "books": 4,
      "actual": 2,
      "result": "over",
      "margin": 1.5
    },
    {
      "game_id": "2025020018",
      "game_date": "2025-10-09",
      "line": 0.5,
      "open_line": 0.5,
      "over_odds": -165,
      "under_odds": 125,
      "books": 4,
      "actual": 0,
      "result": "under",
      "margin": -0.5
    },
    {
      "game_id": "2025020034",
      "game_date": "2025-10-11",
      "line": 0.5,
      "open_line": 0.5,
      "over_odds": -150,
      "under_odds": 114,
      "books": 4,
      "actual": 2,
      "result": "over",
      "margin": 1.5
    },
    {
      "game_id": "2025020039",
      "game_date": "2025-10-13",
      "line": 0.5,
      "open_line": 0.5,
      "over_odds": -135,
      "under_odds": 100,
      "books": 4,
      "actual": 0,
      "result": "under",
      "margin": -0.5
    }
  ],
  "count": 81,
  "summary": {
    "games": 81,
    "graded": 80,
    "overs": 43,
    "unders": 37,
    "pushes": 0,
    "over_rate": 0.538,
    "avg_line": 0.6,
    "avg_actual": 0.9
  },
  "truncated": false,
  "next_from_date": null,
  "note": "1 of 81 games have no result yet (not played, or no box score or play-by-play of ours for the player)."
}

The example player is Nathan MacKinnon. The record against the line, market by market, is on the Nathan MacKinnon prop history page.

What to do next

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? 28 free Claude skills call these endpoints for you.

Start with 500 free credits every month

No card. REST or MCP.