# GET /v2/agencies/{id}/season-stats

Group: Referees & managers

An agency’s players this season with their appearances and average rating, best rating first: for their clubs (scope=club) or their national teams (scope=national). Since 2026-11-24.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `scope` | query | no | club (default) or national |

## Response

- `data`: `AgencySeasonPlayer[]`
- `meta`: count
- Objects: AgencySeasonPlayer (https://sportsapi.app/markdown/en/reference.md#agencyseasonplayer)

## Errors

- 400 bad_request — a scope other than club or national
- 404 not_found — an id we never issued

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/agencies/{id}/season-stats"
```

TypeScript:

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

Python:

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

Go:

```go
res, err := client.Agencies.SeasonStats(ctx, id, &sportsapi.AgenciesSeasonStatsParams{})
```

CLI:

```bash
$ sportsapi agencies season-stats <id>
```

## Example response

```json
{ "data": [ { "player": { "id": 868812, "name": "Vinícius Júnior", … }, "team": { "id": 4748, "name": "Brazil", … },
    "appearances": 5, "rating": 8 }, … ],
  "meta": { "count": 18 } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/people/agencies-season-stats · All docs: https://sportsapi.app/markdown/en/docs.md
