> For the complete documentation index, see [llms.txt](https://docs.sportsapi360.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportsapi360.com/cricket-docs/cricket-api/all-endpoints-v5/team-players.md).

# Team Players

### Team Players

Retrieves the full list of players associated with a specific cricket team.

#### Path Variables

| Variable | Description                                                                                                               |
| -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `id`     | The unique team ID. Populated via the `{{team_id}}` collection variable. Example: `b5525694-09c9-51e9-90e7-49d15e36cce2`. |

#### Query Parameters

| Parameter | Required | Description                                                         |
| --------- | -------- | ------------------------------------------------------------------- |
| `api_key` | Yes      | Your API access token. Use the `{{api_token}}` collection variable. |

#### Response

Returns a JSON array of player objects for the team, each containing the player ID, name, role (batsman, bowler, all-rounder, wicket-keeper), nationality, and date of birth.

#### Authentication

Pass your API token via the `api_key` query parameter.

```json
{"openapi":"3.0.3","info":{"title":"All Endpoints V5","version":"1.0.0"},"servers":[{"url":"https://apiv5.sportsapi360.com"}],"paths":{"/cricket/v1/teams/{id}/players":{"get":{"summary":"Team Players","description":"## Team Players\n\nRetrieves the full list of players associated with a specific cricket team.\n\n### Path Variables\n\n| Variable | Description |\n|----------|-------------|\n| `id` | The unique team ID. Populated via the `{{team_id}}` collection variable. Example: `b5525694-09c9-51e9-90e7-49d15e36cce2`. |\n\n### Query Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `api_key` | Yes | Your API access token. Use the `{{api_token}}` collection variable. |\n\n### Response\n\nReturns a JSON array of player objects for the team, each containing the player ID, name, role (batsman, bowler, all-rounder, wicket-keeper), nationality, and date of birth.\n\n### Authentication\n\nPass your API token via the `api_key` query parameter.","operationId":"teamPlayers","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"API Access token"}],"responses":{"200":{"description":"Team Players","headers":{"CF-RAY":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Connection":{"schema":{"type":"string"}},"Content-Encoding":{"schema":{"type":"string"}},"Date":{"schema":{"type":"string"}},"Nel":{"schema":{"type":"string"}},"Report-To":{"schema":{"type":"string"}},"Server":{"schema":{"type":"string"}},"Transfer-Encoding":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string"}},"X-Request-Id":{"schema":{"type":"string"}},"alt-svc":{"schema":{"type":"string"}},"cf-cache-status":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"alt_name":{"type":"string"},"country":{"type":"string"},"country_short":{"type":"string"},"gender":{"type":"string"},"head_coach":{"type":"string"},"id":{"type":"string"},"image":{"type":"string"},"is_league":{"type":"boolean"},"name":{"type":"string"},"short_name":{"type":"string"},"slug":{"type":"string"},"squads_by_format":{"type":"array","items":{"type":"object","properties":{"format":{"type":"string"},"players":{"type":"array","items":{"type":"object","properties":{"batting_style":{"type":"string"},"bowling_style":{"type":"string"},"player_id":{"type":"string"},"player_image":{"type":"string"},"player_name":{"type":"string"},"playing_role":{"type":"string"},"short_name":{"type":"string"}}}}}}},"status":{"type":"string"},"team_owner":{"type":"string"},"type":{"type":"string"},"updated_at":{"type":"string"}}},"meta":{"type":"object","properties":{"api_version":{"type":"string"},"cache":{"type":"object","properties":{"etag":{"type":"string"},"source":{"type":"string"}}},"provider":{"type":"string"},"request_id":{"type":"string"}}},"success":{"type":"boolean"}}}}}}}}}}}
```


---

# 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.sportsapi360.com/cricket-docs/cricket-api/all-endpoints-v5/team-players.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.
