---
title: "Get changes in players' stats over time, this gets saved every time you use the standard stats command in the api or gamestats bot (stats are per day, max 1 month)"
method: GET
path: "/bf4/statsarray/"
tags: ["Battlefield 4"]
---

# Get changes in players' stats over time, this gets saved every time you use the standard stats command in the api or gamestats bot (stats are per day, max 1 month)

`GET /bf4/statsarray/`

## Request

- Base URL: `https://api.gametools.network`
- URL: `https://api.gametools.network/bf4/statsarray/`
- Auth: none declared

## Query parameters

- `days` integer: Number of days to get historic values for
- `name` string, nullable: Name of the player to get stats for
- `playerid` integer, nullable: ID of the player to get stats for
- `platform` string: Platform the player uses

## Response `200`

start and end time are EPOCH UTC timestamps, the arrays below it are from start to end time every day as a value

- StatsArray
  - `accuracy` integer[], required
  - `headshots` integer[], required
  - `infantryKillDeath` integer[], required
  - `infantryKillsPerMinute` integer[], required
  - `killDeath` integer[], required
  - `killsPerMinute` integer[], required
  - `scorePerMinute` integer[], required
  - `skill` integer[], required
  - `winPercent` integer[], required
  - `timeStamps` string[], required
  - `startTime` string, required
  - `endTime` string, required

## Other responses

- `404`: if something went wrong getting statsgraph
- `422`: Validation Error

## Changes

- **2026-10-12** `b2afa0359da3`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/gametools/apis/stats-api-for-the-battlefield-series/changes/bf4/statsarray/get.md)

---

[API](https://skmtc.dev/gametools/apis/stats-api-for-the-battlefield-series.md) - [All operations](https://skmtc.dev/gametools/apis/stats-api-for-the-battlefield-series/llms.txt) - [OpenAPI document](https://skmtc.dev/gametools/apis/stats-api-for-the-battlefield-series/revisions/3d36a829b247?raw)
