get_prop_history
10 creditsMulti-tablePOST /v1/get_prop_history
A player's prop lines against what he did, game by game
Use it when you are asking whether a player beats his line: for one market, each game's closing line (the median across books), what he actually recorded in receiving yards, and the over rate, from May 2023.
Parameters
player_idstringrequired- Player id (a GSIS id such as 00-0033873) from search_players.
marketenum: player_pass_yds | player_pass_tds | player_pass_completions | player_pass_attempts | player_pass_interceptions | player_rush_yds | player_rush_attempts | player_receptions | player_reception_yds | player_anytime_tdrequired- The market: player_pass_yds (passing yards), player_pass_tds (passing touchdowns), player_pass_completions (pass completions), player_pass_attempts (pass attempts), player_pass_interceptions (interceptions thrown), player_rush_yds (rushing yards), player_rush_attempts (rush attempts), player_receptions (receptions), player_reception_yds (receiving yards), player_anytime_td (anytime touchdown (over = scores))
from_datestringoptional- First date, YYYY-MM-DD (the game's date).
to_datestringoptional- Last date, YYYY-MM-DD (the game's date).
bookmakerstringoptional- One book's closing line instead of the median across books, e.g. draftkings.
limitintegeroptional- Games to return, oldest first (default 50, max 200). next_from_date says where to continue.
Notes
- Over MCP, ask for it in plain English and the client calls
get_prop_historyitself. Point any MCP client athttps://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_prop_history \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"player_id": "00-0000001",
"market": "player_reception_yds"
}'Response
json
{
"player_id": "00-0000001",
"player_name": "Example Player",
"market": "player_reception_yds",
"stat": "receiving yards",
"bookmaker": null,
"games": [
{
"game_id": "2024_01_KC_BAL",
"game_date": "2024-09-05",
"line": 62.5,
"open_line": 58.5,
"over_odds": -110,
"under_odds": -110,
"books": 7,
"actual": 71,
"result": "over",
"margin": 8.5
}
],
"count": 1,
"summary": {
"games": 1,
"graded": 1,
"overs": 1,
"unders": 0,
"pushes": 0,
"over_rate": 1,
"avg_line": 62.5,
"avg_actual": 71
},
"truncated": false,
"next_from_date": null,
"note": "Illustrative example: made-up player and numbers, to show the shape of a response."
}Response fields
player_idstringplayer_namestringmarketstringstatstringbookmakernullgames[]array- List of objects
games[].game_idstringgames[].game_datestringgames[].linenumbergames[].open_linenumbergames[].over_oddsnumbergames[].under_oddsnumbergames[].booksnumbergames[].actualnumbergames[].resultstringgames[].marginnumbercountnumbersummaryobjectsummary.gamesnumbersummary.gradednumbersummary.oversnumbersummary.undersnumbersummary.pushesnumbersummary.over_ratenumbersummary.avg_linenumbersummary.avg_actualnumbertruncatedbooleannext_from_datenullnotestring
Related endpoints
search_players2 cr
Returns the player_id this one takes.
Find players by name, team, or position
get_injuries2 cr
Returns the player_id this one takes.
Injury report by team and week with practice and game status
get_player_stats5 cr
Takes the player_id this one returns.
Weekly and season stat lines for one player: passing, rushing, receiving, defense, kicking, fantasy
get_player_props10 cr
Takes the player_id this one returns.
Player prop lines by sportsbook, opening and closing
Try it
500 credits free on signup: 50 calls to get_prop_history, and no card.