---
title: "Get the servers playeramount over time"
method: GET
path: "/bf2/serverarray/"
tags: ["Battlefield 2"]
---

# Get the servers playeramount over time

`GET /bf2/serverarray/`

## Request

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

## Query parameters

- `name` string, required: IP:port or hostname/servername of the server you want to search for
- `type` 'ip' | 'hostname': Type of server property you want to search for
- `service` 'bf2hub' | 'playbf2': Platform/service to get amounts for
- `days` integer: Number of days to get historic values for

## Response `200`

Successful Response

- unknown

## 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`: 2 breaking, 6 info
  - the `query` request parameter `service` was restricted to a list of enum values
  - the `query` request parameter `type` 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 `hostname` to the `query` request parameter `type`
  - …4 more

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