---
title: "Performance splits around a player's birthday"
method: GET
path: "/v1/players/{id}/birthday-splits"
tags: ["players"]
---

# Performance splits around a player's birthday

`GET /v1/players/{id}/birthday-splits`

## Request

- Base URL: `https://api.bigballsdata.com`
- URL: `https://api.bigballsdata.com/v1/players/{id}/birthday-splits`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Per-game averages split three ways: games on the birthday, games inside the birthday window, and all other games.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `window_days` integer

## Response `200`

ok. `{ data }` with on_birthday, birthday_window and other_games, each carrying games_played and per_game averages.

- object
  - `data` object, required
    - `on_birthday` object
      - `games_played` integer
      - `per_game` object
    - `birthday_window` object
      - `games_played` integer
      - `per_game` object
    - `other_games` object
      - `games_played` integer
      - `per_game` object

## Other responses

- `400`: Invalid player id or window_days.
- `404`: No player with that id.

---

[API](https://skmtc.dev/bigballsdata/apis/big-ball-sports-api.md) · [All operations](https://skmtc.dev/bigballsdata/apis/big-ball-sports-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bigballsdata/apis/big-ball-sports-api/revisions/31fb54ac414e?raw)
