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 Backfill a season
Guides

Backfill a season

Import a bounded competition history with checkpoints and repeatable updates.

Define the import

Choose one competition and an available season in the coverage directory. Record their identifiers and the detail your analysis requires. An event-level results table needs fewer requests than a store of every box score. Coverage directory

Commit one page at a time

  1. Request a page of events under the same competition and season filters.
  2. Upsert the events using their complete IDs.
  3. Record the page's next_offset with those filters after the writes succeed.
  4. Request the next page with that offset. Stop when next_offset is null.

If a process stops between writing the events and saving its offset, it can process that page again. The ID-based write updates the existing rows. Pagination

Queue detailed records

Keep a separate work queue for box scores and plays. Store the event ID and the requested detail on each job. This lets a partial failure in a large play list recover independently of the event index. Pace the queue against the rate limit and budget the detail requests separately. Rate limits · Credits

Reconcile the result

Compare the distinct event IDs in the import with the source pages you processed. Keep postponed and rescheduled events in the same records when their IDs match. Refresh recent or corrected games without rebuilding the whole season.

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

On this page

Define the importCommit one page at a timeQueue detailed recordsReconcile the resultGet 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