Map IDs to your catalog
Create a durable cross-reference between PreciseData records and another system.
Define the mapping
A mapping row should carry the external source, entity type, external ID, and PreciseData ID. Keep a review timestamp and an optional note for matches that needed manual confirmation.
For example, a local Boston team record can link to illustrative organization org_bos. Its display label can change later without changing the relationship.
Resolve candidates
Use the ID lookup endpoint with the provider's source name and its id. A provider can reuse a number for different records, such as a team in two sports. When that happens the lookup returns 409 with the candidate matches. Repeat it with scope and type to choose one. If an external identifier is unavailable, search for candidates and compare their sport, competition, and historical context. Two clubs can share a city, and two players can share a name. ID lookup · Search
Preserve unresolved rows
Keep ambiguous matches in a review queue. An unresolved row can still display the source's label while a person checks it. Record the evidence used for a confirmed match so another developer can revisit it.
Join historical data
Join game and roster records through the mapping table using the source and full ID. Keep the original identifier on imported rows. If a mapping is corrected later, those original values let you rebuild the affected joins. Stable identifiers
curl --request GET "https://api.precisedata.io/v1/ids/lookup" \
--header "Authorization: Bearer $PRECISEDATA_KEY"