---
title: "List games"
method: POST
path: "/v1/list_games"
tags: ["Basic lookup"]
---

# List games

`POST /v1/list_games`

## Request

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

Use to list games with scores by season, date, date range or team, newest first. For upcoming games with lines use get_schedule; for one game's box score use get_game. Costs 2 credits.

## Request body

- object
  - `season` union: Season by the year it ends: 2025 = 2024-25.
    - number
    - string
  - `season_type` 'regular' | 'postseason' | 'play_in' | 'preseason': regular, postseason, play_in or preseason.
  - `team` string: Team id or abbreviation.
  - `date` string: One date, YYYY-MM-DD (US Eastern).
  - `from` string: From date, YYYY-MM-DD.
  - `to` string: To date, YYYY-MM-DD.
  - `status` 'scheduled' | 'final'
  - `limit` integer: Max games (default 50).
  - `offset` integer: Page offset; use next_offset.
  - `league` 'nba' | 'wnba' | 'ncaam' | 'ncaaw': League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `games` object[], required
    - `count` number, required
    - `next_offset` number, nullable

## Other responses

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

---

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