---
title: "Depth chart"
method: POST
path: "/v1/get_depth_chart"
tags: ["Basic lookup"]
---

# Depth chart

`POST /v1/get_depth_chart`

## Request

- Base URL: `https://mcp.endzoneapi.com`
- URL: `https://mcp.endzoneapi.com/v1/get_depth_chart`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Use for a team's depth chart by week: formation, position, depth rank, player. Defaults to the latest week available. Costs 2 credits.

## Request body

- object
  - `team` string, required: Team code
  - `season` union: Season year. Defaults to current.
    - string
    - number
  - `week` integer: Week. Defaults to latest.
  - `formation` string: Filter by formation/unit, e.g. Offense, Defense, Special Teams

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `team` string, required
    - `season` number, required
    - `week` number, required
    - `depth_chart` object[], required
      - `formation` string, nullable
      - `position` string, nullable
      - `depth_rank` number, nullable
      - `player_id` string, nullable
      - `name` string, nullable
    - `count` number, required

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

[API](https://skmtc.dev/endzoneapi/apis/endzoneapi-api.md) · [All operations](https://skmtc.dev/endzoneapi/apis/endzoneapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endzoneapi/apis/endzoneapi-api/revisions/14fa4d187e75?raw)
