Live scores API: scores and game clock
Live scores & game clock: Every live game’s score, period and running clock, by REST or the stream. PreciseAPI sports odds API documentation.
Every event carries its score and, while it is live, its game clock: the period, the time a scoreboard shows and, in timed sports, the seconds left and whether the clock is running. It is the same event object the odds endpoints return, so id joins straight to /v1/odds, /v1/best-lines and /v1/history.
Live scores and the game clock are part of Syndicate, together with in-play odds and the WebSocket stream. Edge and Sharp cover pre-game: on those plans /v1/scores, /v1/events and /v1/events/{id} leave games in progress out until they finish, and asking for status=live or a live game by id returns 403 plan_feature_unavailable. Final scores are on every paid plan.
Get live scores
GET /v1/scores returns live games first, then finished games, which stay for at least four hours. It costs 1 credit per request however many games it returns. Filter by league and status, and cap the list with limit (default 200, max 500).
curl "https://api.preciseapi.com/v1/scores?league=nhl&status=live" \
-H "Authorization: Bearer $PRECISEAPI_KEY"{
"id": "evt_27a3vzijsnp",
"league": "nhl",
"sport": "hockey",
"competition": "National Hockey League",
"start_time": "2026-10-14T22:03:23.850Z",
"start_time_tbd": false,
"start_time_disputed": false,
"status": "live",
"home": {
"id": "nhl_det",
"name": "Detroit Red Wings",
"abbr": "DET"
},
"away": {
"id": "nhl_car",
"name": "Carolina Hurricanes",
"abbr": "CAR"
},
"score": {
"home": 0,
"away": 3
},
"clock": {
"period": "2",
"display": "P2 3:52",
"seconds_left": 232,
"running": true
},
"score_status": "confirmed",
"state_updated_at": "2026-10-14T23:33:41.120Z",
"state_sources": 3,
"alternate_ids": []
}Fields
| Field | Description |
|---|---|
status | scheduled, live or final. A game that is postponed or cancelled gets that status instead. |
score | { home, away }, or null until a score is known: never a placeholder 0–0. Tennis and esports count sets or maps won; golf counts strokes relative to par. |
map_score | Esports, when the scoreboard supplies it: { number, unit, home, away } for the numbered map, where unit is rounds in CS2 and kills in the other titles, and home/away are that map’s count. score itself counts maps won. Absent when no scoreboard reports the map. |
score_status | Live games: provisional while one source reports the score, confirmed once a second source reports the same score. null otherwise. |
clock | Live games only, and only while it is current: null before the start, after the end, and when no source has read the game for 6 minutes (the last score stays). |
clock.period | The current period as a string, for example "4" in the fourth quarter. Treat it as a label rather than a number. |
clock.display | What a scoreboard shows: Q4 7:05, P2 3:52, Top 5th, 2H 67'. Formats by sport are below. |
clock.seconds_left | Basketball, football and hockey: seconds left in the period. Absent in other sports. |
clock.running | Basketball, football and hockey: true while the clock runs, false when it is stopped. Absent in other sports. |
state_updated_at | When the sources observed the reported game state, in UTC. |
clock_updated_at | When the clock was observed, if its time differs from state_updated_at. |
state_sources | Live games: how many sources had the game at that read. |
Clock formats by sport
| Sport | clock.display | seconds_left and running |
|---|---|---|
| Basketball, football | Q4 7:05, H2 0:53 (college halves), OT 3:12, End Q3, Halftime | Yes |
| Hockey | P2 3:52 | Yes |
| Baseball | Top 5th, Bot 5th | No |
| Soccer | 2H 67' (minute played) | No |
| Tennis | Set 2 | No |
| Esports | Map 1 | No |
| UFC | R2 3:10 | No |
| Golf | Thru 9 (holes completed) | No |
Sources write some states their own way, so show display as it arrives rather than parsing it, and use seconds_left for arithmetic.
Show a running clock
While running is true, the API counts display and seconds_left down between reads for up to 20 seconds after the clock observation, then holds them until the next read. A clock that stops for a timeout or the end of a period arrives with running: false.
To keep a clock moving between your requests, do the same on your side: count down from seconds_left from the moment the response arrived, never below zero and no later than 20 seconds after the read, and replace it with every new response. Polling every 10 seconds is 360 requests an hour, whichSyndicate's unlimited credits cover.
const API = 'https://api.preciseapi.com/v1';
let games = [];
let receivedAt = 0;
async function poll() {
const res = await fetch(`${API}/scores?league=nba&status=live`, {
headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` },
});
games = (await res.json()).data;
receivedAt = Date.now();
}
// A running clock counts down between polls the way the API does: from
// seconds_left, never below zero, and only until 20 s after the read.
function clockText(game, now = Date.now()) {
const c = game.clock;
if (!c) return '';
if (!c.running || c.seconds_left == null) return c.display;
const observed = game.clock_updated_at ?? game.state_updated_at;
const readAt = observed ? Date.parse(observed) : receivedAt;
const until = Math.max(receivedAt, readAt + 20_000);
const left = Math.max(0, Math.floor(c.seconds_left - (Math.min(now, until) - receivedAt) / 1000));
return c.display.replace(/\d+:\d{2}$/, `${Math.floor(left / 60)}:${String(left % 60).padStart(2, '0')}`);
}
await poll();
setInterval(poll, 10_000); // 360 credits an hour
setInterval(() => {
for (const g of games) {
console.log(`${g.away.abbr} ${g.score?.away ?? '-'} @ ${g.home.abbr} ${g.score?.home ?? '-'} ${clockText(g)}`);
}
}, 1_000);Provisional and confirmed scores
Scores come from the sportsbooks’ own in-play feeds, cross-checked against each other, and every game gets one score. A score that goes up on one source shows right away with score_status: "provisional" and turns "confirmed" once a second source reports the same score. A score that goes down, such as an overturned touchdown or a disallowed goal, only shows once two sources agree, so a source that briefly sends a wrong score doesn’t reach you.
Status changes
Games go scheduled → live → final and keep their id throughout. A game a source reports as finished is final straight away. Without that, a game closes as final when one of these happens first:
- It has run past its sport’s shortest real length and no source has posted it for 10 minutes. If a source posts it live again, it goes back to live.
- It has run past its sport’s usual length and no source has quoted it for 10 minutes.
- 12 hours have passed since the start.
Finished games stay in /v1/scores for at least four hours. /v1/events lists scheduled and live games by default; add status=final to include finished ones.
Score updates on the stream
On Syndicate, the WebSocket stream sends an event message for every game in your subscription whenever its status, score, score status, clock or kickoff changes, including when a clock goes stale and turns null. Its data is the same event object as above: keep the newest one for each id, and count a running clock down between messages as shown above.
{
"type": "event",
"seq": 57,
"ts": "2026-10-14T23:33:43.250Z",
"data": {
"id": "evt_27a3vzijsnp",
"league": "nhl",
"sport": "hockey",
"competition": "National Hockey League",
"start_time": "2026-10-14T22:03:23.850Z",
"start_time_tbd": false,
"start_time_disputed": false,
"status": "live",
"home": {
"id": "nhl_det",
"name": "Detroit Red Wings",
"abbr": "DET"
},
"away": {
"id": "nhl_car",
"name": "Carolina Hurricanes",
"abbr": "CAR"
},
"score": {
"home": 0,
"away": 3
},
"clock": {
"period": "2",
"display": "P2 3:52",
"seconds_left": 232,
"running": true
},
"score_status": "confirmed",
"state_updated_at": "2026-10-14T23:33:41.120Z",
"state_sources": 3,
"alternate_ids": []
}
}What scores don’t include
- Period-by-period line scores. The clock carries the current period only, so quarter, half and first-five-innings results need another source.
- A long-term archive. Results are kept for at least four hours after a game ends; store what you need.
- Score webhooks. Webhooks fire on line moves; for scores, poll
/v1/scoresor use the stream.
The GET /v1/scores reference lists every parameter, and the data model covers the rest of the event object.
Previous: Deep links & quick bet links · Next: SDKs