# GET /v2/leagues/{id}/award-teams

Group: Leagues

A season’s award teams — All-NBA 1st, 2nd and 3rd Team, All-Defensive, All-Rookie … Each one’s players: /v2/leagues/{id}/award-teams/{teamId}.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `season` | query | yes | a season id from /v2/leagues/{id}/seasons |

## Response

- `data`: `AwardTeamRef[]`
- `meta`: season, count
- Objects: AwardTeamRef (https://sportsapi.app/markdown/en/reference.md#awardteamref)

## Errors

- 403 history_not_in_plan — a season before your plan’s history
- 404 no_data — the source has none for that season

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/leagues/{id}/award-teams?season=…"
```

TypeScript:

```ts
const { data, meta } = await client.leagues.awardTeams(id, { season });
```

Python:

```python
res = client.leagues.award_teams(id, season=season)
```

Go:

```go
res, err := client.Leagues.AwardTeams(ctx, id, &sportsapi.LeaguesAwardTeamsParams{Season: season})
```

CLI:

```bash
$ sportsapi leagues award-teams <id> --season <season>
```

## Example response

```json
{ "data": [ { "id": 1190001, "key": "best-first", "name": "1st Team" }, { "id": 1190002, "key": "best-second", "name": "2nd Team" }, … ],
  "meta": { "season": 80229, "count": 7 } }
```

---

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/leagues/award-teams · All docs: https://sportsapi.app/markdown/en/docs.md
