---
title: "Get stats from the given player for bf2042"
method: GET
path: "/bf2042/stats/"
tags: ["Battlefield 2042"]
---

# Get stats from the given player for bf2042

`GET /bf2042/stats/`

## Request

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

You can choose to only send the playername and optional platform (defaults to pc)

or send if (playerId) nucleus_id and platform to skip name conversion

## Query parameters

- `raw` boolean: If it needs to return the raw stats
- `format_values` boolean: If precentage values have to be returned as string, example: '50%' (enabled by default for backwards compatability)
- `name` string, nullable: Name of the player to get stats for
- `playerid` integer, nullable: ID of the player to get stats for
- `nucleus_id` integer, nullable: Platform specific id of the player (oid)
- `platform` 'pc' | 'xboxone' | 'ps4' | 'xboxseries' | 'ps5' | 'xbox' | 'psn': Platform the player uses (both ps4, ps5 and xboxone and xboxseries are as if they are the same platform for stats)
- `skip_battlelog` boolean: If it needs to skip the battlelog player search

## Response `200`

stats of a player based on given name

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-12** `b2afa0359da3`: 1 breaking, 2 info
  - for the `query` request parameter `skip_battlelog`, default value was changed from `false` to `true`
  - 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, 8 info
  - the `query` request parameter `platform` was restricted to a list of enum values
  - added the new enum value `pc` to the `query` request parameter `platform`
  - added the new enum value `ps4` to the `query` request parameter `platform`
  - added the new enum value `ps5` to the `query` request parameter `platform`
  - …5 more

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