---
title: "Returns archived player box score rows, for one game or for one player across games."
method: GET
path: "/api/v1/history/stats"
tags: ["Historical data"]
---

# Returns archived player box score rows, for one game or for one player across games.

`GET /api/v1/history/stats`

## Request

- Base URL: `https://api.owlsinsight.com`
- URL: `https://api.owlsinsight.com/api/v1/history/stats`
- Auth: HTTP bearer

Returns archived player box score rows, for one game or for one player across games.

Historical endpoints share a per-key in-flight limit that is lower than the general concurrent-request limit. A request beyond it returns 429 with a Retry-After header giving the delay in seconds; wait that long and resend.

503 with a Retry-After header means the archive could not serve that request: the query was too expensive to run in one request, or the archive read path was busy. Wait the indicated seconds before resending; if it repeats, narrow the request with the filters this endpoint accepts.

Page one event at a time with limit and offset and stop when a page comes back shorter than limit. Do not fan out one request per book or market in parallel.

At least one of eventId or playerName is required.

## Query parameters

- `eventId` string
- `playerName` string
- `sport` string
- `position` string
- `startDate` string
- `endDate` string
- `limit` string
- `offset` string

## Response `200`

OK

- HistoryStatsResponse
  - `data` object
    - `count` number, double
    - `eventId` string
    - `limit` number, double
    - `offset` number, double
    - `playerName` string
    - `stats` HistoryPlayerStat[]
      - `espnGameId` string
      - `eventId` string
      - `gameDate` string
      - `player` object
        - `didNotPlay` boolean
        - `espnId` string
        - `jersey` string
        - `name` string
        - `position` string
        - `starter` boolean
      - `recordedAt` string
      - `sport` string
      - `statType` string, nullable: Stat type discriminator. null = BasketballStats, "batter"|"team_batting" = BattingStats, "pitcher"|"team_pitching" = PitchingStats.
      - `stats` union
        - BasketballStats
          - `assists` number, double
          - `blocks` number, double
          - `fg` ShootingSplit
            - `attempted` number, double
            - `made` number, double
            - `percentage` number, double
          - `fouls` number, double
          - `freeThrow` ShootingSplit
            - `attempted` number, double
            - `made` number, double
            - `percentage` number, double
          - `minutes` string
          - `plusMinus` number, double
          - `points` number, double
          - `rebounds` number, double
          - `steals` number, double
          - `threePoint` ShootingSplit
            - `attempted` number, double
            - `made` number, double
            - `percentage` number, double
          - `turnovers` number, double
        - BattingStats
          - `atBats` number, double
          - `battingAvg` string
          - `hits` number, double
          - `homeRuns` number, double
          - `obp` string
          - `rbi` number, double
          - `runs` number, double
          - `slg` string
          - `strikeouts` number, double
          - `walks` number, double
        - PitchingStats
          - `earnedRuns` number, double
          - `era` string
          - `hitsAllowed` number, double
          - `homeRunsAllowed` number, double
          - `inningsPitched` string
          - `pitchCount` number, double
          - `pitchStrikes` number, double
          - `runsAllowed` number, double
          - `strikeouts` number, double
          - `walksAllowed` number, double
      - `team` object
        - `abbreviation` string
        - `homeAway` string
        - `name` string
        - `score` number, double
  - `success` boolean

---

[API](https://skmtc.dev/owlsinsight/apis/owls-insight-api.md) · [All operations](https://skmtc.dev/owlsinsight/apis/owls-insight-api/llms.txt) · [OpenAPI document](https://skmtc.dev/owlsinsight/apis/owls-insight-api/revisions/76c1ea016ff1?raw)
