---
title: "Get a list of servers from portal based on given name"
method: GET
path: "/bf2042/servers/"
tags: ["Battlefield 2042"]
---

# Get a list of servers from portal based on given name

`GET /bf2042/servers/`

## Request

- Base URL: `https://api.gametools.network`
- URL: `https://api.gametools.network/bf2042/servers/`
- Auth: none declared

To get multiple maps or regions, seperate them in a list with ';'.(cache of 10 seconds)

## Query parameters

- `name` string, nullable: searching based on servername
- `experiencename` string, nullable: the name of the experience within portal.battlefield.com.
- `region` string: The regions available are: all (all regions), eu, asia, nam (north america), sam (south america), afr (Africa) or oc (Oceana).
- `maps` string: The available maps are: 'Arica Harbor', 'Valparaiso', 'Battle of the Bulge', 'El Alamein', 'Caspian Border', 'Noshahr Canals', 'Orbital', 'Hourglass', 'Kaleidoscope', 'Breakaway', 'Discarded', 'Manifest' and 'Renewal'
- `modes` string: The available modes are: 'Breakthrough Large', 'Breakthrough', 'Conquest', 'Custom', 'Rush' and 'Conquest large'
- `limit` integer: the max amount of servers it will gather, give it a number between 1 and 250.
- `platform` string: For platform there is pc, xboxone and ps4, ps5 and xboxseries
- `owners` string, nullable: to filter by serverowner, send a array like this: owners=[{"nucleusid":2800753812,"personaid":794397421,"platformid":1}] or owners=[{"nucleusid":2800753812,"personaid":794397421,"platform":"pc"}] (query formatted ofc)
- `has_password` boolean, nullable: If you want to filter out servers with/without a password

## Response `200`

serverlist based on given name

- Bf2042Search
  - `servers` Bf2042ServerList[], required
    - `prefix` string, required
    - `url` string, required
    - `currentMap` string, required
    - `inQue` integer, required
    - `mode` string, required
    - `ownerId` integer, required
    - `playerAmount` integer, required
    - `region` string, required
    - `smallMode` string, required
    - `maxPlayers` integer, required
    - `hasPassword` string, required
    - `serverId` string, required
    - `adventure` string, required
    - `serverType` integer, required
    - `owner` Bf2042ServerOwner, required
      - `nucleusId` integer, required
      - `personaId` integer, required
      - `platformId` integer, required
      - `platform` string, required
    - `maxQue` integer, required
    - `settings` string[], required
    - `lat` integer, required
    - `blazeGameId` integer, required
    - `progress` integer, required
    - `regionId` string, required

## Other responses

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

## Changes

- **2026-10-12** `b2afa0359da3`: 3 info
  - added the new optional `query` request parameter `owners`
  - 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 warning
  - deleted the `query` request parameter `owners`

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