---
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: "/bf2042/statsarray/"
tags: ["Battlefield 2042"]
---

# 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 /bf2042/statsarray/`

## Request

- Base URL: `https://api.gametools.network`
- URL: `https://api.gametools.network/bf2042/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
- `nucleus_id` integer, nullable: Platform specific id of the player (oid)
- `platform` 'pc' | 'xboxone' | 'ps4' | 'xboxseries' | 'ps5' | 'xbox' | 'psn': Platform the player uses (both ps4, ps5 and xboxone and xboxseries are as if they are the same platform for stats)
- `skip_battlelog` boolean: If it needs to skip the battlelog player search

## 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`: 1 breaking, 2 info
  - for the `query` request parameter `skip_battlelog`, default value was changed from `false` to `true`
  - 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
- **2024-12-09** `50a8d1931dbd`: 1 breaking, 8 info
  - the `query` request parameter `platform` was restricted to a list of enum values
  - added the new enum value `pc` to the `query` request parameter `platform`
  - added the new enum value `ps4` to the `query` request parameter `platform`
  - added the new enum value `ps5` to the `query` request parameter `platform`
  - …5 more

[Operation history](https://skmtc.dev/gametools/apis/stats-api-for-the-battlefield-series/changes/bf2042/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)
