# GET /v2/agencies/{id}/players

Group: Managers & referees

Every player an agency represents, the most valuable first, each with his team and estimated market value (null where the source has no value). Available since 2026-11-23.

Plans: Every plan, Free included.

Note: The whole list behind AgencyDetail.playerCount, in one response without paging. Each row includes the player's position (since 2026-11-25), null when the source has none.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | DataSportsAPI agency id, a positive integer |

## Response

- `data`: `AgencyPlayer[]`
- `meta`: count
- Objects: AgencyPlayer (https://datasportsapi.com/markdown/reference.md#agencyplayer)

## Errors

- 404 not_found — DataSportsAPI has never assigned this id

Plus the errors every /v2 call shares (https://datasportsapi.com/markdown/docs/errors.md).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/agencies/{id}/players"
```

TypeScript:

```ts
const { data, meta } = await client.agencies.players(id);
```

Python:

```python
res = client.agencies.players(id)
```

Go:

```go
res, err := client.Agencies.Players(ctx, id)
```

CLI:

```bash
$ dsa agencies players <id>
```

## Example response

```json
{ "data": [ { "player": { "id": 868812, "name": "Vinícius Júnior", "slug": "vinicius-junior", "shortName": "Vinícius Jr.", "image": "…" },
    "team": { "id": 2829, "name": "Real Madrid", … }, "marketValue": { "amount": 135000000, "currency": "EUR" } }, … ],
  "meta": { "count": 132 } }
```

---

Base URL: https://api.datasportsapi.com. Authenticate each /v2 call with the header `Authorization: Bearer <key>` (secret keys begin with `sk_live_`).
HTML: https://datasportsapi.com/docs/people/agencies-players/ · Group: https://datasportsapi.com/markdown/docs/people.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
