---
title: "Get the player- / serveramount for all regions from database gathered every hour."
method: GET
path: "/bf2142/statusarray/"
tags: ["Battlefield 2142"]
---

# Get the player- / serveramount for all regions from database gathered every hour.

`GET /bf2142/statusarray/`

## Request

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

## Query parameters

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

## Response `200`

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

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

## Other responses

- `404`: if something went wrong getting statusgraph
- `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 `openspy` to the `query` request parameter `service`
  - added the new enum value `play2142` 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/bf2142/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)
