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

Group: Leagues

The members of one award team in order, each with their club and season rating, together with the team’s formation — laid out like the team of the week.

Plans: Every plan, Free included.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | league id issued by DataSportsAPI, a positive integer |
| `teamId` | path | yes | award team id, as listed by /v2/leagues/{id}/award-teams |

## Response

- `data`: `TeamOfTheWeek`
- `meta`: count (players in the team)
- Objects: TeamOfTheWeek (https://datasportsapi.com/markdown/reference.md#teamoftheweek)

## Errors

- 404 not_found — DataSportsAPI has never assigned this award team 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/leagues/{id}/award-teams/{teamId}"
```

TypeScript:

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

Python:

```python
res = client.leagues.award_team(id, team_id)
```

Go:

```go
res, err := client.Leagues.AwardTeam(ctx, id, teamId)
```

CLI:

```bash
$ dsa leagues award-team <id> <teamId>
```

## Example response

```json
{ "data": { "formation": "2-3", "players": [ { "order": 1, "player": { "id": 817199, "name": "Nikola Jokić", … }, "team": { "name": "Denver Nuggets", … }, "rating": 8.73, … }, … ] },
  "meta": { "count": 5 } }
```

---

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/leagues/award-team/ · Group: https://datasportsapi.com/markdown/docs/leagues.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
