---
title: "Snap counts"
method: POST
path: "/v1/get_snap_counts"
tags: ["Stats + aggregation"]
---

# Snap counts

`POST /v1/get_snap_counts`

## Request

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

Use for playing time: offensive, defensive, and special-teams snaps and snap shares, for one game, one player (PFR id), or a team's season. Costs 5 credits.

## Request body

- object
  - `game_id` string: Game id, e.g. 2025_01_KC_BUF
  - `player_id` string: PFR player id (from search_players pfr_id)
  - `team` string: Team code
  - `season` union: Season year (with team or player)
    - string
    - number
  - `week` integer: Week filter
  - `limit` integer: Max rows (default 200)

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `filters` object, required
    - `snap_counts` object[], required
      - `game_id` string, nullable
      - `season` number, nullable
      - `week` number, nullable
      - `team` string, nullable
      - `player` string, nullable
      - `pfr_player_id` string, nullable
      - `position` string, nullable
      - `offense_snaps` number, nullable
      - `offense_pct` number, nullable
      - `defense_snaps` number, nullable
      - `defense_pct` number, nullable
      - `st_snaps` number, nullable
      - `st_pct` number, nullable
    - `count` number, required
    - `note` string

## 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/79ac6ebe298d?raw)
