get_fourth_down
Last updated 5 hours ago · updates daily at about 10:00 UTC · Fresh · status
A 4th down's win probability for going for it, a field goal or a punt, with the best choice
Use it when you want to judge a 4th-down call, live or after the fact: the offense's win probability for each choice, the conversion and field-goal chances, and the margin. Our market-free models; a margin under 0.03 is flagged close_call.
Parameters
yardline_100integerrequired- Yards from the opponent's end zone (35 = the opponent's 35)
yards_to_gointegerrequired- Yards to go
seconds_leftintegerrequired- Game seconds left in regulation (Q1 15:00 = 3600, halftime = 1800)
score_diffintegerrequired- The offense's score minus the defense's
game_idstringoptional- Game id (2025_01_KC_BUF) for that game's pregame strength
offensestringoptional- Team with the ball (required with game_id)
offense_homebooleanoptional- Without game_id: is the offense the home team (default true)
pregame_home_probnumberoptional- Without game_id: the home team's pregame win chance (default 0.5)
Notes
- Over MCP, ask for it in plain English and the client calls
get_fourth_downitself. Point any MCP client athttps://mcp.endzoneapi.com/mcp?key=YOUR_API_KEY. - Each call costs 5 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_fourth_down \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"yardline_100": 40,
"yards_to_go": 1,
"seconds_left": 2700,
"score_diff": 0
}'Response
{
"situation": {
"offense_home": true,
"yardline_100": 40,
"yards_to_go": 1,
"seconds_left": 2700,
"score_diff": 0,
"pregame_home_prob": 0.5
},
"options": {
"go_for_it": {
"win_prob": 0.536,
"conversion_prob": 0.678
},
"field_goal": {
"win_prob": 0.513,
"make_prob": 0.597,
"kick_distance": 57
},
"punt": {
"win_prob": 0.479
}
},
"best": "go_for_it",
"margin": 0.022,
"close_call": true,
"model": "nfl-fourth-down",
"version": 1
}Response fields
options.go_for_it.win_probnumber- The offense's win probability if it goes for it
options.go_for_it.conversion_probnumber- Chance it converts
options.field_goalobject- win_prob, make_prob and kick_distance; null beyond a 65-yard kick
options.puntobject- win_prob; null inside the opponent's 35
beststring- go_for_it, field_goal or punt
marginnumber- Win probability gained over the next best choice
close_callboolean- True when the margin is under 0.03, inside the model's error
Related endpoints
Returns the game_id this one takes.
Upcoming games by week or for the next N days
Returns the game_id this one takes.
Query games by season, week, team, date, type, or status, with closing lines
Filters by the same game_id.
Each game in progress: score, clock, field position and each team's live win probability
Also static reference.
All 32 teams with conference, division, colours, and logos
Try it
500 free credits every month: 100 calls to get_fourth_down, and no card.