---
title: "Get id of a player within bf2042"
method: GET
path: "/bf2042/player/"
tags: ["Battlefield 2042"]
---

# Get id of a player within bf2042

`GET /bf2042/player/`

## Request

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

## Query parameters

- `name` string, required: Name of the player to search for

## Response `200`

playerlist based on given name

- Bf2042PlayerSearch
  - `results` Bf2042PersonaInfo[], required
    - `platform` integer, required
    - `personaId` integer, required
    - `name` string, required
    - `nucleusId` integer, required

## Other responses

- `404`: if something went wrong getting playerinfo
- `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

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