# GET /v2/teams/{id}/depth-chart

Group: Teams

The team’s depth chart as the source keeps it. Ice hockey: forward lines (left wing, centre, right wing, lines 1–4), defence pairs (left and right defence, pairs 1–4), the goalies (1 = the starter, 2 = the backup) and the two power-play units (slots 1–5). Baseball: the starting rotation, the bullpen, the closer and each fielding position plus the designated hitter (depth 1 = the starter).

Note: Filled for NHL and MLB teams; an empty array where the source keeps no depth chart (the NFL, football and others). A player appears once per slot he fills — a first-line centre is usually on a power-play unit too. Comes from the same source answer as /squad, so it is as fresh as the squad (up to a day).

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |

## Response

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

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/teams/{id}/depth-chart"
```

TypeScript:

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

Python:

```python
res = client.teams.depth_chart(id)
```

Go:

```go
res, err := client.Teams.DepthChart(ctx, id)
```

CLI:

```bash
$ sportsapi teams depth-chart <id>
```

## Example response

```json
{ "data": [ { "position": "rightWing", "depth": 1, "player": { "id": 812345, "name": "Nikita Kucherov", "slug": "nikita-kucherov", "shortName": "N. Kucherov", "image": "…" } },
    { "position": "center", "depth": 1, "player": { "id": 812346, "name": "Brayden Point", … } }, …,
    { "position": "goalie", "depth": 1, "player": { "id": 812350, "name": "Andrei Vasilevskiy", … } },
    { "position": "powerPlay1", "depth": 1, "player": { … } }, … ],
  "meta": { "count": 30 } }
```

---

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