# Team, Player, Squad, Coach and Referee

### Team

#### Related **endpoints**

{% content-ref url="/pages/wHSYmfcXebRRoJNlf4RS" %}
[Teams](/v3/endpoints-and-entities/endpoints/teams.md)
{% endcontent-ref %}

#### **Field Description**

<table><thead><tr><th>Field</th><th width="268.3333333333333"></th><th>Type</th></tr></thead><tbody><tr><td>sport_id</td><td>Refers to the sport of the team</td><td>integer</td></tr><tr><td>country_id</td><td>Refers to the country of the team</td><td>integer</td></tr><tr><td>venue_id</td><td>Refers to the home venue of the team</td><td>integer</td></tr><tr><td>gender</td><td>Indicates the gender of the team</td><td>string</td></tr><tr><td>name</td><td>The name of the team</td><td>string</td></tr><tr><td>short_code</td><td>The short code of the team</td><td>string / null</td></tr><tr><td>image_path</td><td>Image path to the team logo</td><td>string</td></tr><tr><td>founded</td><td>The founding date of the team</td><td>integer</td></tr><tr><td>type</td><td>Indicates the type of the team</td><td>string</td></tr><tr><td>placeholder</td><td>Indicates if the team is a placeholder</td><td>boolean</td></tr><tr><td>last_played_at</td><td>Returns the date and time of the last played match of the team</td><td>integer</td></tr></tbody></table>

#### Include options

[`sport`](https://docs.sportmonks.com/v3/core-api/) [`country`](https://docs.sportmonks.com/football2/v/core/endpoints/countries) [`venue`](/v3/endpoints-and-entities/entities/other.md#venue) [`coaches`](#coach) [`rivals`](/v3/endpoints-and-entities/entities/other.md#rival) [`players.player`](#player) [`latest`](/v3/endpoints-and-entities/entities/fixture.md#fixture) [`upcoming`](/v3/endpoints-and-entities/entities/fixture.md#fixture) [`seasons`](/v3/endpoints-and-entities/entities/league-season-schedule-stage-and-round.md#season) [`activeSeasons`](/v3/endpoints-and-entities/entities/league-season-schedule-stage-and-round.md#season) [`sidelined`](#sidelined) [`sidelinedHistory`](#sidelined) [`statistics`](/v3/endpoints-and-entities/entities/statistic.md#teamstatistic) [`socials`](/v3/endpoints-and-entities/entities/other.md#social) [`trophies`](/v3/endpoints-and-entities/entities/other.md#participanttrophy) [`rankings`](/v3/endpoints-and-entities/entities/other.md#ranking)

{% hint style="warning" %}
Note: The `players` include returns a list of team metadata for the team players, like the jersey number, the start and end date, and the position and transfer IDs. **The `id` field of each item is not the same as the player ID itself, use the `player_id` field to retrieve this ID instead.** Alternatively, use `players.player` nested include to include the player data.
{% endhint %}

**Sorting options**

`name`

### Player

#### Related **endpoints**

{% content-ref url="/pages/1SXfIt9gmoVhqNLbelJD" %}
[Players](/v3/endpoints-and-entities/endpoints/players.md)
{% endcontent-ref %}

#### **Field Description**

<table><thead><tr><th>Field</th><th width="268.3333333333333">Description</th><th>Type</th></tr></thead><tbody><tr><td>id</td><td>Refers to the unique id of the player</td><td>integer</td></tr><tr><td>sport_id</td><td>Refers to the sport of the player</td><td>integer</td></tr><tr><td>country_id</td><td>Refers to the country of the player</td><td>integer</td></tr><tr><td>nationality_id</td><td>Refers to the nationality of the player</td><td>integer</td></tr><tr><td>city_id</td><td>Refers to the birthcity of the player</td><td>string</td></tr><tr><td>position_id</td><td>Refers to the position of the player</td><td>integer</td></tr><tr><td>detailed_position_id</td><td>Refers to the detailed position of the player</td><td>integer</td></tr><tr><td>type_id</td><td>Refers to the type of the player</td><td>integer</td></tr><tr><td>common_name</td><td>Refers to the name the player is known for</td><td>string</td></tr><tr><td>firstname</td><td>Refers to the first name of the player</td><td>string</td></tr><tr><td>lastname</td><td>Refers to the last name of the player</td><td>string</td></tr><tr><td>name</td><td>Refers to the name of the player</td><td>string</td></tr><tr><td>display_name</td><td>Refers to the name that is often used to display in applications</td><td>string</td></tr><tr><td>image_path</td><td>Image path to player headshot</td><td>string</td></tr><tr><td>height</td><td>Refers to the height of the player</td><td>integer</td></tr><tr><td>weight</td><td>Refers to the weight of the player</td><td>integer</td></tr><tr><td>date_of_birth</td><td>Refers to the date of birth of the player</td><td>string</td></tr><tr><td>gender</td><td>Refers to the gender of the player</td><td>string</td></tr></tbody></table>

#### Include options

[`sport`](https://docs.sportmonks.com/v3/core-api/) [`country`](https://docs.sportmonks.com/v3/core-api/) [`city`](https://docs.sportmonks.com/v3/core-api/) [`nationality`](https://docs.sportmonks.com/v3/core-api/) [`transfers`](/v3/endpoints-and-entities/entities/other.md#transfer) [`pendingTransfers`](/v3/endpoints-and-entities/entities/other.md#transfer) [`teams.team`](#team) [`statistics`](/v3/endpoints-and-entities/entities/statistic.md#playerstatistic) [`latest`](/v3/endpoints-and-entities/entities/fixture.md#fixture) [`position`](https://docs.sportmonks.com/v3/core-api/) [`detailedPosition`](https://docs.sportmonks.com/v3/core-api/)  [`lineups`](/v3/endpoints-and-entities/entities/fixture.md#lineup) [`metadata`](/v3/endpoints-and-entities/entities/other.md#metadata) [`trophies`](/v3/endpoints-and-entities/entities/other.md#participanttrophy)

{% hint style="warning" %}
Note: The `teams` include returns a list of team metadata for this player, like the jersey number, the start and end date, and the position and transfer IDs. **The `id` field of each item is not the same as the team ID itself, use the `team_id` field to retrieve this ID instead.** Alternatively, use `teams.team` nested include to include the team data.&#x20;
{% endhint %}

**Sorting options**

`name`

### Coach

#### Related **endpoints**

{% content-ref url="/pages/YVvQd6EWQgzpKY4e6ikJ" %}
[Coaches](/v3/endpoints-and-entities/endpoints/coaches.md)
{% endcontent-ref %}

**Field Description**

| Field            | Description                                                    | Type    |
| ---------------- | -------------------------------------------------------------- | ------- |
| <p></p><p>id</p> | Refers to the unique id of the coach                           | integer |
| player\_id       | Refers to the player related to the coach                      | integer |
| sport\_id        | Refers to the sport related to the coach                       | integer |
| country\_id      | Refers to the country of the coach                             | integer |
| nationality\_id  | Refers to the nationality of the coach                         | integer |
| city\_id         | Refers to the birthcity of the coach                           | string  |
| common\_name     | Returns to the common name of the coach                        | string  |
| firstname        | Returns the first name of the coach                            | string  |
| lastname         | Returns the last name of the coach                             | string  |
| name             | Returns the first and last name of the coach                   | string  |
| display\_name    | Returns the name that is often used to display in applications | string  |
| image\_path      | Image path to the coach' headshot                              | string  |
| height           | Returns the height of the coach                                | integer |
| weight           | Returns the weight of the coach                                | integer |
| date\_of\_birth  | Returns the date of birth of the coach                         | string  |
| gender           | Returns the gender of the coach                                | string  |

#### Include options

[`country`](https://docs.sportmonks.com/v3/core-api/)  [`teams`](#team) [`statistics`](/v3/endpoints-and-entities/entities/statistic.md#coachstatistic) [`nationality`](https://docs.sportmonks.com/v3/core-api/)  [`trophies`](/v3/endpoints-and-entities/entities/other.md#participanttrophy) [`fixtures`](/v3/endpoints-and-entities/entities/fixture.md#fixture) [`player`](#player)

**Sorting options**

`name`

### Team Squad

#### Available in endpoints

{% content-ref url="/pages/b0M5PucU18JSNRx4dAmV" %}
[Team Squads](/v3/endpoints-and-entities/endpoints/team-squads.md)
{% endcontent-ref %}

#### Field Description

| Field                  | Description                                                   | Type           |
| ---------------------- | ------------------------------------------------------------- | -------------- |
| id                     | Refers to the unique id of the squad record                   | integer        |
| transfer\_id           | Refers to the id of the transfer of the squad record          | integer / null |
| player\_id             | Refers to the id of the player in the squad                   | integer        |
| team\_id               | Refers to the team id of the squad                            | integer        |
| position\_id           | Refers to the position id of the player in the squad          | integer        |
| detailed\_position\_id | Refers to the detailed position id of the player in the squad | integer        |
| jersey\_number         | Returns the jersey number of the player in the squad          | integer        |
| start                  | Returns the start contract date of the player                 | string         |
| end                    | Returns the end contract date of the player                   | string         |

#### Includes

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

### Referee

**Available in endpoints**

{% content-ref url="/pages/G2VLDjGfnUVzPAbUHGgS" %}
[Referees](/v3/endpoints-and-entities/endpoints/referees.md)
{% endcontent-ref %}

**Field Description**

| Field            | Description                                                    | Type    |
| ---------------- | -------------------------------------------------------------- | ------- |
| <p></p><p>id</p> | Refers to the unique id of the referee                         | integer |
| sport\_id        | Refers to the sport related to the referee                     | integer |
| country\_id      | Refers to the country of the referee                           | integer |
| nationality\_id  | Refers to the nationality of the referee                       | integer |
| city\_id         | Refers to the birthcity of the referee                         | string  |
| common\_name     | Returns to the common name of the referee                      | string  |
| firstname        | Returns the first name of the referee                          | string  |
| lastname         | Returns the last name of the referee                           | string  |
| name             | Returns the first and last name of the referee                 | string  |
| display\_name    | Returns the name that is often used to display in applications | string  |
| image\_path      | Image path to the referees' headshot                           | string  |
| height           | Returns the height of the referee                              | integer |
| weight           | Returns the weight of the referee                              | integer |
| date\_of\_birth  | Refers to the date of birth of the referee                     | string  |
| gender           | Returns the gender of the referee                              | string  |

#### Include options

[`sport`](https://docs.sportmonks.com/v3/core-api/) [`country`](https://docs.sportmonks.com/v3/core-api/) [`statistics`](/v3/endpoints-and-entities/entities/statistic.md#refereestatistic) [`nationality`](https://docs.sportmonks.com/v3/core-api/)  [`city`](https://docs.sportmonks.com/v3/core-api/)

**Sorting options**

`name`

### Sidelined

**Field Description**

| Field            | Description                                                 | Type          |
| ---------------- | ----------------------------------------------------------- | ------------- |
| <p></p><p>id</p> | Refers to the unique id of the sidelined                    | integer       |
| player\_id       | Refers to the player related to the sidelined               | integer       |
| type\_id         | Refers to the type of the sidelined                         | integer       |
| category         | Category of the sidelined                                   | string        |
| team\_id         | Refers to the team related to the sidelined                 | integer       |
| season\_id       | Refers to the season related to the sidelined               | integer       |
| start\_date      | The start date of when the sidelined started                | string        |
| end\_date        | The end date of when the sidelined ended                    | string / null |
| games\_missed    | The amount of games the sidelined player has missed         | integer       |
| completed        | Indicates if the sidelined player is still sidelined or not | boolean       |

#### Include options

[`player`](#player) [`team`](#team) [`season`](/v3/endpoints-and-entities/entities/league-season-schedule-stage-and-round.md#season) [`type`](https://docs.sportmonks.com/v3/core-api/) [`fixture`](/v3/endpoints-and-entities/entities/fixture.md#fixture) `sideline`

{% hint style="info" %}
Use the sideline (*sidelined.sideline*) include to get detailed info about the sidelined record (if available), like the start date, end date, injury category, and more.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.sportmonks.com/v3/endpoints-and-entities/entities/team-player-squad-coach-and-referee.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
