Skip to content

get_line_at_time

5 creditsStats + aggregationPOST /v1/get_line_at_time

Last updated 4 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 three-way moneyline, handicap or total was at a moment before kick-off, 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_goal_scorer_anytime, say) with an optional line: you get each book's price at that moment and at the close.

Parameters

game_idstringrequired
Game id from list_games or get_schedule.
marketenum: moneyline | spread | total | player_goal_scorer_anytime | player_shots_on_target | player_shots | player_assists | player_first_goal_scorer | player_last_goal_scorer | player_to_receive_cardrequired
The market: moneyline = moneyline (home, draw, away); spread = goal handicap (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_goal_scorer_anytime (anytime goalscorer (over = scores)), player_shots_on_target (shots on target), player_shots (shots), player_assists (assists), player_first_goal_scorer (first goalscorer (over = scores the match's first goal)), player_last_goal_scorer (last goalscorer (over = scores the match's last goal)), player_to_receive_card (to be carded (over = shown a yellow or red card)).
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.
leagueenum: soccer | mls | laliga | seriea | bundesliga | ligue1 | ucl | championship | nwsl | ligamx | uel | uecl | eredivisie | primeira | scotland | brazil | argentinaoptional
League. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.

Notes

  • Over MCP, ask for it in plain English and the client calls get_line_at_time itself. Point any MCP client at https://mcp.strikerapi.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.strikerapi.com/v1/get_line_at_time \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "game_id": "401878749",
  "market": "moneyline",
  "at": "2026-12-02T20:00:00Z"
}'

Response

json
{
  "game": {
    "game_id": "401878749",
    "home": "TOT",
    "away": "FUL",
    "scheduled_start": "2026-12-03T20:00:00.000Z"
  },
  "market": "moneyline",
  "label": "moneyline (home, draw, away)",
  "requested_time": "2026-12-02T20:00:00.000Z",
  "books": [
    {
      "bookmaker": "888sport",
      "at_time": {
        "captured_at": "2026-12-02T19:05:28.158Z",
        "minutes_before_time": 54.5,
        "line": null,
        "prices": "{...}"
      },
      "closing": {
        "captured_at": "2026-12-03T19:05:29.665Z",
        "minutes_before_start": 54.5,
        "line": null,
        "prices": "{...}"
      },
      "line_change": null,
      "implied_probability_change": {
        "home": -0.034,
        "away": 0.011,
        "draw": 0.024
      },
      "same_capture": false
    },
    {
      "bookmaker": "Bet 365",
      "at_time": {
        "captured_at": "2026-12-02T10:00:49.422Z",
        "minutes_before_time": 599.2,
        "line": null,
        "prices": "{...}"
      },
      "closing": {
        "captured_at": "2026-12-03T10:00:50.165Z",
        "minutes_before_start": 599.2,
        "line": null,
        "prices": "{...}"
      },
      "line_change": null,
      "implied_probability_change": {
        "home": 0,
        "away": 0,
        "draw": 0
      },
      "same_capture": false
    },
    {
      "bookmaker": "Betfair Exchange",
      "at_time": {
        "captured_at": "2026-12-02T19:05:28.158Z",
        "minutes_before_time": 54.5,
        "line": null,
        "prices": "{...}"
      },
      "closing": {
        "captured_at": "2026-12-03T19:05:29.665Z",
        "minutes_before_start": 54.5,
        "line": null,
        "prices": "{...}"
      },
      "line_change": null,
      "implied_probability_change": {
        "home": -0.041,
        "away": 0.025,
        "draw": 0.018
      },
      "same_capture": false
    }
  ],
  "count": 10,
  "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.game_idstring
game.homestring
game.awaystring
game.scheduled_startstring
marketstring
labelstring
requested_timestring
books[]array
List of objects
books[].bookmakerstring
books[].at_timeobject
books[].at_time.captured_atstring
books[].at_time.minutes_before_timenumber
books[].at_time.linenull
books[].at_time.pricesstring
books[].closingobject
books[].closing.captured_atstring
books[].closing.minutes_before_startnumber
books[].closing.linenull
books[].closing.pricesstring
books[].line_changenull
books[].implied_probability_changeobject
books[].implied_probability_change.homenumber
books[].implied_probability_change.awaynumber
books[].implied_probability_change.drawnumber
books[].same_captureboolean
countnumber
notestring

Related endpoints

Try it

500 free credits every month: 100 calls to get_line_at_time, and no card.