> For the complete documentation index, see [llms.txt](https://docs.thesports.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thesports.com/help-center/football/how-to-use-the-uid-field-for-duplicate-data.md).

# How to use the uid field for duplicate data？

The [**Competition**](/thesports-docs/basic-info/competition.md), [**Team**](/thesports-docs/basic-info/team.md), [**Player**](/thesports-docs/basic-info/player.md), and [**Coach**](/thesports-docs/basic-info/coach.md) API endpoints include a `uid` field for identifying duplicate records.

Duplicate records may occasionally exist in the data.&#x20;

For example, the following two ids refer to the same player, Alan Smith:

```
l965mkyh9wgr1ge
2y8m4zhgx28ql07
```

After identifying the duplication, TheSports consolidates the records and designates `2y8m4zhgx28ql07` as the correct record to use.

<figure><img src="/files/PnA3HymPsVOeOSsxejqj" alt=""><figcaption></figcaption></figure>

* A non-empty `uid` field indicates that the current record is a duplicate and points to the id of the correct record to use.&#x20;
* An empty `uid` field indicates that the current record is the correct record to use.

{% hint style="info" %}
Note: Duplicate records may occasionally occur. TheSports regularly reviews and consolidates them. Continue synchronizing the API endpoints as recommended to receive the latest data.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.thesports.com/help-center/football/how-to-use-the-uid-field-for-duplicate-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
