get_line_at_time
Last updated 6 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 a player prop's line and price at a chosen time
Use it when you want what a sportsbook's puck line, total or moneyline was at a moment before puck drop (say, six hours out), 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_shots_on_goal, say) with an optional line: you get each book's prop line and price at that moment and at the close, and with line the last capture that posted exactly it.
Parameters
game_idstringrequired- Game id from get_games or get_schedule.
marketenum: moneyline | spread | total | player_points | player_goals | player_assists | player_shots_on_goal | player_blocked_shots | player_total_saves | player_goal_scorer_anytime | player_power_play_points | player_goal_scorer_firstrequired- The market: moneyline = moneyline (home, away); spread = puck line (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_points (points), player_goals (goals), player_assists (assists), player_shots_on_goal (shots on goal), player_blocked_shots (blocked shots), player_total_saves (goalie saves), player_goal_scorer_anytime (anytime goal scorer (over = scores)), player_power_play_points (power-play points), player_goal_scorer_first (first goal scorer (over = scores the game's first goal)).
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.puckapi.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.puckapi.com/v1/get_line_at_time \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "2026020457",
"market": "moneyline",
"at": "2026-12-03T22:00:00Z"
}'Response
{
"game": {
"game_id": "2026020457",
"home": "SEA",
"away": "DAL",
"scheduled_start": "2026-12-04T03:00:00.000Z"
},
"market": "moneyline",
"label": "moneyline (home, away)",
"requested_time": "2026-12-03T22:00:00.000Z",
"books": [
{
"bookmaker": "betmgm",
"at_time": {
"captured_at": "2026-12-03T19:01:57.000Z",
"minutes_before_time": 178.1,
"line": null,
"prices": {
"home": 185,
"away": -225
}
},
"closing": {
"captured_at": "2026-12-04T02:03:55.000Z",
"minutes_before_start": 56.1,
"line": null,
"prices": {
"home": 195,
"away": -235
}
},
"line_change": null,
"implied_probability_change": {
"home": -0.012,
"away": 0.009
},
"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
gameobject- game_id, home, away and scheduled_start (ISO 8601 UTC)
marketstring- moneyline, spread or total
requested_timestring- The moment asked for, ISO 8601 UTC
playerobject- A player prop only: player_id and player_name
requested_linenumber- A player prop asked with a line: the line asked about
books[]array- One entry per sportsbook with a capture at or before the time
books[].at_requested_lineobject | null- A player prop asked with a line: the book's last capture at or before the time that posted exactly that line (null where it never had)
books[].at_timeobject- The book's last capture at or before the time: captured_at, minutes_before_time, line (null for a moneyline) and prices by side
books[].closingobject- The book's last capture before the game started: captured_at, minutes_before_start, line and prices by side
books[].line_changenumber | null- Closing line minus the line at the time, in points
books[].implied_probability_changeobject- Closing minus at-time implied probability for each side, 0 to 1, the sportsbook's margin still in both
books[].same_captureboolean- True where the at-time line and the closing line are the same capture
countnumber- Books returned
Related endpoints
Returns the game_id this one takes.
Upcoming games for the next N days. Defaults to 7 days.
Returns the game_id this one takes.
Query games by date range, team, season, game state, or type.
Returns the player_id this one takes.
Find players by name, team, or position.
Returns the player_id this one takes.
Goalie leaderboard sorted by save%, GAA, GSAX or wins, with high-danger save%, recent form and rest days.
Try it
500 free credits every month: 100 calls to get_line_at_time, and no card.