get_line_at_time
Last updated 5 hours ago · updates daily at about 10:00 UTC · Fresh · status
A sportsbook's line and prices at a chosen time, the closing line, and the change in points and implied probability; or an NFL player prop's line and price at a chosen time. Game lines also for FBS college football
Use it when you want what a sportsbook's spread, total or moneyline was at a moment before kickoff (say, Wednesday noon), the closing line, and how far the two are apart in points and in implied probability. For a player prop pass player_id and a prop market (player_pass_yds, say) with an optional line: you get each book's prop line and price at that moment and at the close. College football (league ncaaf) takes the same game markets, from the odds archive's snapshots.
Parameters
game_idstringrequired- Game id from get_games or get_schedule.
marketenum: moneyline | spread | total | 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_td | player_tds_over | player_1st_td | player_pass_longest_completion | player_rush_longest | player_reception_longestrequired- The market: moneyline = moneyline (home, away); spread = spread (the home side's line, and a price for each side); total = total (the line, and an over and an under price). Or a player prop (with player_id): 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)), player_tds_over (touchdowns scored), player_1st_td (first touchdown scorer (over = scores the game's first touchdown)), player_pass_longest_completion (longest completion), player_rush_longest (longest rush), player_reception_longest (longest reception).
atstringrequired- The moment, ISO 8601 with its zone, e.g. 2026-12-01T23:00:00Z. A time with no zone is read as UTC.
bookmakerstringoptional- One bookmaker, e.g. draftkings, fanduel, pinnacle. Default: every book with a capture.
player_idstring | numberoptional- Player id from search_players. Required for a player prop market.
linenumberoptional- A player prop's line, e.g. 24.5: also returns each book's last capture at or before the time that posted exactly this line. Props only.
estimate_onlybooleanoptional- Return what this call would cost, without charging or running it.
Notes
- Over MCP, ask for it in plain English and the client calls
get_line_at_timeitself. 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_line_at_time \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "2026_13_KC_LA",
"market": "spread",
"at": "2026-12-02T18:00:00Z"
}'Response
{
"game": {
"game_id": "2026_13_KC_LA",
"home": "LA",
"away": "KC",
"scheduled_start": "2026-12-04T01:15:00.000Z"
},
"market": "spread",
"label": "spread (the home side's line, and a price for each side)",
"requested_time": "2026-12-02T18:00:00.000Z",
"books": [
{
"bookmaker": "betmgm",
"at_time": {
"captured_at": "2026-12-02T17:05:47.507Z",
"minutes_before_time": 54.2,
"line": 2,
"prices": "{...}"
},
"closing": {
"captured_at": "2026-12-04T01:05:47.384Z",
"minutes_before_start": 9.2,
"line": -1,
"prices": "{...}"
},
"line_change": -3,
"implied_probability_change": {
"home": -0.007,
"away": -0.012
},
"same_capture": false
}
],
"count": 8,
"note": "Implied probability is the posted price converted as it stands, the sportsbook's margin still in it; the changes are closing minus at-time."
}Response fields
gameobjectgame.game_idstringgame.homestringgame.awaystringgame.scheduled_startstringmarketstringlabelstringrequested_timestringbooks[]array- List of objects
books[].bookmakerstringbooks[].at_timeobjectbooks[].at_time.captured_atstringbooks[].at_time.minutes_before_timenumberbooks[].at_time.linenumberbooks[].at_time.pricesstringbooks[].closingobjectbooks[].closing.captured_atstringbooks[].closing.minutes_before_startnumberbooks[].closing.linenumberbooks[].closing.pricesstringbooks[].line_changenumberbooks[].implied_probability_changeobjectbooks[].implied_probability_change.homenumberbooks[].implied_probability_change.awaynumberbooks[].same_capturebooleancountnumbernotestring
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
Takes the game_id this one returns.
What the market thinks of a game: average implied and fair probability for the moneyline, spreads and totals
Takes the game_id this one returns.
Full game detail with team stats, starting QBs, odds, weather, and officials
Try it
500 free credits every month: 100 calls to get_line_at_time, and no card.