> For the complete documentation index, see [llms.txt](https://docs.sportmonks.com/v3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportmonks.com/v3/endpoints-and-entities/endpoints/team-squads.md).

# Team Squads

Retrieve historical squads via our Teams Squad endpoint. You can retrieve historical squads from 2005 and onwards. The endpoint also includes player performances in the requested season.\*

You can find the details on the Team Squads endpoint, including base URL, parameters, includes, and more.

* **GET Team Squads by Team ID:** returns the current **domestic squad** from your requested team ID.
* **GET Team Squads by Team and Season ID:** returns (historical) squads from your requested team and season ID.

{% hint style="info" %}
Please check our coverage page if the league offer historical squads.
{% endhint %}

<figure><img src="https://3469464275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9zsNGu3HAzSnl5DWBD3Y%2Fuploads%2F6fd4qlxhVDm4jHm10PYK%2F11-05-26-Team%20Squads-v1.webp?alt=media&amp;token=6fee7c84-ea43-4bcf-ab0e-44681a94df8f" alt=""><figcaption></figcaption></figure>

#### Include options

[`team`](/v3/endpoints-and-entities/entities/team-player-squad-coach-and-referee.md#team) [`player` ](/v3/endpoints-and-entities/entities/team-player-squad-coach-and-referee.md#player)[`position`](https://docs.sportmonks.com/v3/core-api/)[ ](/v3/endpoints-and-entities/entities/team-player-squad-coach-and-referee.md#player)[`detailedPosition`](https://docs.sportmonks.com/v3/core-api/)[ ](/v3/endpoints-and-entities/entities/team-player-squad-coach-and-referee.md#player)[`transfer`](/v3/endpoints-and-entities/entities/other.md#transfer)

#### **Related Entities:**

Get an overview and explanation of all the fields returned in the API response. The related entities for the team squads endpoint are:

* [Team Squads](/v3/endpoints-and-entities/entities/team-player-squad-coach-and-referee.md#team-squad)
* [PlayerStatistic](/v3/endpoints-and-entities/entities/statistic.md#playerstatistic)

{% hint style="info" %}
Remember, our historical data will be integrated into the new version of our API gradually. So, the historical data is not yet complete. However, we will be loading more historical data continuously.
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sportmonks.com/v3/endpoints-and-entities/endpoints/team-squads.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
