Skip to content
Sample scores
NBABOS 108NYK 104Q4 2:14LAL 87GSW 91Q3 1:42MIA 52CHI 48Q2 0:36
EPLARS 2CHE 12H 74:12LIV 1MCI 12H 58:06AVL 0FUL 01H 19:34
NHLNYR 3BOS 2P3 7:26TOR 1MTL 0P2 12:02SEA 2DAL 2P3 10:15
Explore the sports data API quickstart
PreciseData
CoverageDocsPricing
Sign in Get API key

Getting started

DocumentationQuickstartAuthenticationSDKs and OpenAPI

Concepts

Coverage levelsRequest creditsErrorsStable identifiersPaginationRate limitsThe shared schemaTime zonesVersioning

Reference

API referenceList sportsList competitionsGet observed coverageList collection windowsList eventsGet an eventGet a box scoreList playsList live eventsGet a personGet a game logGet season statsGet splitsGet an organizationGet a rosterGet a team scheduleGet standingsGet rankingsSearchLook up a provider IDGet account balance

Sport fields

Basketball fieldsFootball fieldsBaseball fieldsHockey fieldsSoccer fieldsMotorsport fieldsCombat fieldsGolf fieldsTennis fields

Guides

Backfill a seasonBuild a live scoreboardMap IDs to your catalogPull a player game log
Docs Guides Build a live scoreboard
Guides

Build a live scoreboard

Turn event updates into a readable scoreboard that also handles quiet periods.

Load the day's fixtures

Start with the event list for one competition. Group rows by the reader's local date and key each row by event ID. For a scheduled game, show the start time alongside the two participants. For a final game, keep the result visible after it leaves a live-only collection. Events reference

Merge updates by ID

Use the live collection for competitions with in-game coverage. When evt_example_001 reappears, update the existing row. Assign its current scores directly. Adding each new score to the old one would count earlier scoring again.

Keep the last successful update time with the row. If a refresh fails, leave the existing score in place and let the reader see its age. When a game drops out of the live list, refresh its event detail to resolve its latest state. Live events · Event details

Share the polling work

Have a server-side job fetch each competition once per polling interval, then serve that snapshot to your viewers. Stop polling a competition when its games finish. Choose an interval that fits its coverage and your workspace limits. The reference and playground let you try the display logic with sample events. Playground

curl --request GET "https://api.precisesports.io/v1/events?competition=nba&status=in_progress" \
  --header "Authorization: Bearer $PRECISEDATA_KEY"

On this page

Load the day's fixturesMerge updates by IDShare the polling workGet support
PreciseData

A sports data API for developers. Scores, box scores, play-by-play and history in one schema with stable IDs.

Service status

Product

PricingCoverageChangelogStatus

Developers

DocumentationQuickstartAPI referenceSDKs

Resources

BlogGlossaryUse casesFAQ

Company

AboutContactDiscord

Legal

TermsPrivacyRefundsAcceptable useCookies
Optional analytics are off.
© 2026 PreciseData