> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/soccer-media/static-endpoints-restful/squads-api.md).

# Squads API

This endpoint returns the competition squads for a specific season. Per each competition, this endpoint will return the following information:

* Name of the competition
* Team name & Id
* Player forename, lastname and Id
* Shirt Number
* Nationality

## Endpoint URLs

Squads:

* **seasonId**

`https://dde-api.data.srarena.io/soccer/seasons/{seasonId}/squads`

This allows clients to determine which players are associated to which team and seasonId.

* **teamId**

`https://dde-api.data.srarena.io/soccer/squads/{teamId}`

This allows clients to call by teamId

## Polling Frequency

We recommend the following frequency for your REST requests to ensure that you have the most up-to-date information at all times:<br>

<table><thead><tr><th>REST Endpoint</th><th width="120">Frequency</th><th>Description</th></tr></thead><tbody><tr><td><code>/soccer/seasons/{seasonId}/squads</code></td><td>Once per 24 hours</td><td>Updated on any change to a team and their squad such as a player being called up, a player transfer etc.</td></tr></tbody></table>

## Required Headers

| Key           | Value                                            |
| ------------- | ------------------------------------------------ |
| Accept        | application/vnd.imggaming.dde.api+json;version=1 |
| Content-Type  | application/json                                 |
| Authorization | Bearer eyvhaoudfgpdfgo\*                         |


---

# 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.sportradar.com/soccer-media/static-endpoints-restful/squads-api.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.
