---
title: "Game"
method: POST
path: "/v1/get_game"
tags: ["Stats + aggregation"]
---

# Game

`POST /v1/get_game`

## Request

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

Use for one game in full: score, both teams' box scores, every player's line, each sportsbook's opening and closing line, and the win-probability range. For the play-by-play use get_plays. Costs 5 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.

## Request body

- object
  - `game_id` string, required: Game id, from list_games or get_schedule.
  - `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
    - `game` object, required
    - `team_stats` object[], required
    - `players` object[], required
    - `odds` object[], required
    - `win_probability` object, nullable, required
    - `plays` number, required
    - `box_score_note` string

## 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)
