Skip to content

Guides

How often does an NFL player score when he is priced to?

One row per game with a player's anytime touchdown price, his touchdowns and whether he scored, to compare the odds with what happened. Derrick Henry scored in 9 of 17.

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

The call

player_id is a GSIS id from search_players. Anytime touchdown has no line: over means he scored, and the price is the yes side.

import requests
import pandas as pd

API_KEY = "YOUR_API_KEY"

resp = requests.post(
    "https://mcp.endzoneapi.com/v1/get_prop_history",
    headers={"x-api-key": API_KEY},
    json={
        "player_id": "00-0032764",
        "market": "player_anytime_td",
        "from_date": "2025-09-01",
        "to_date": "2026-02-28",
    },
    timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]

games = pd.DataFrame(data["games"])
s = data["summary"]
print(data["player_name"], "anytime TD |", s["overs"], "games with a touchdown of", s["graded"], "(rate", s["over_rate"], ")")
# The price is the yes side: convert it to the chance the books implied, then compare with what happened.
def implied(odds):
    return 100 / (odds + 100) if odds > 0 else -odds / (-odds + 100)
games["implied"] = games["over_odds"].dropna().apply(implied)
print("books implied", round(games["implied"].mean(), 3), "on average; actual rate", s["over_rate"])
print(games[["game_date", "over_odds", "actual", "result"]].tail(6).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.

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": "00-0032764",
  "player_name": "Derrick Henry",
  "market": "player_anytime_td",
  "stat": "touchdowns",
  "bookmaker": null,
  "games": [
    {
      "game_id": "2025_01_BAL_BUF",
      "game_date": "2025-09-07",
      "line": null,
      "open_line": null,
      "over_odds": -165,
      "under_odds": null,
      "books": 5,
      "actual": 2,
      "result": "over",
      "margin": null
    },
    {
      "game_id": "2025_02_CLE_BAL",
      "game_date": "2025-09-14",
      "line": null,
      "open_line": null,
      "over_odds": -220,
      "under_odds": null,
      "books": 6,
      "actual": 0,
      "result": "under",
      "margin": null
    },
    {
      "game_id": "2025_03_DET_BAL",
      "game_date": "2025-09-22",
      "line": null,
      "open_line": null,
      "over_odds": -220,
      "under_odds": null,
      "books": 6,
      "actual": 1,
      "result": "over",
      "margin": null
    },
    {
      "game_id": "2025_04_BAL_KC",
      "game_date": "2025-09-28",
      "line": null,
      "open_line": null,
      "over_odds": -165,
      "under_odds": null,
      "books": 6,
      "actual": 0,
      "result": "under",
      "margin": null
    }
  ],
  "count": 17,
  "summary": {
    "games": 17,
    "graded": 17,
    "overs": 9,
    "unders": 8,
    "pushes": 0,
    "over_rate": 0.529,
    "avg_line": null,
    "avg_actual": 0.9
  },
  "truncated": false,
  "next_from_date": null
}

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

Start with 500 free credits every month

No card. REST or MCP.