---
title: "Get historic player-/server amounts (gathered every hour)"
method: GET
path: "/bf2/statusarray/"
tags: ["Battlefield 2"]
---

# Get historic player-/server amounts (gathered every hour)

`GET /bf2/statusarray/`

## Request

- Base URL: `https://api.gametools.network`
- URL: `https://api.gametools.network/bf2/statusarray/`
- Auth: none declared

## Query parameters

- `service` 'bf2hub' | 'playbf2': Platform/service to get amounts for
- `days` integer: Number of days to get historic values for

## Response `200`

Historical player amounts (list of values, list of respective timestamps as well as timestamps for start and end time)

- StatusArray
  - `soldierAmount` integer[], required
  - `timeStamps` string[], required
  - `startTime` string, required
  - `endTime` string, required

## Other responses

- `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
- **2024-12-09** `50a8d1931dbd`: 1 breaking, 3 info
  - the `query` request parameter `service` was restricted to a list of enum values
  - added the new enum value `bf2hub` to the `query` request parameter `service`
  - added the new enum value `playbf2` to the `query` request parameter `service`
  - for the `query` request parameter `service`, the type was generalized from no type to `string`

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