---
title: "Get gamemode stats from the given player for bf1"
method: GET
path: "/bf1/gamemode/"
tags: ["Battlefield 1"]
---

# Get gamemode stats from the given player for bf1

`GET /bf1/gamemode/`

## Request

- Base URL: `https://api.gametools.network`
- URL: `https://api.gametools.network/bf1/gamemode/`
- Auth: none declared

you only have to fill in one of them: oid (used in bfban: 'https://bfban.com/#/cheaters/1008084550936'), name (normal playername), or playerid (same as id in what it returns - fastest method).

if you dont know what you need to use, just use 'name', just fill the playername in there: **/stats/?name=iiTzArcur

## Query parameters

- `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
- `oid` integer, nullable: Platform specific id of the player (oid)
- `platform` 'pc' | 'xboxone' | 'ps4': Platform the player uses
- `skip_battlelog` boolean: If it needs to skip the battlelog player search
- `lang` string, nullable

## Response `200`

gamemodes of the given player

- GamemodeStats
  - `avatar` string, nullable
  - `id` integer, required
  - `userName` string, nullable
  - `userId` integer, nullable
  - `gamemodes` FrostbiteGamemodeInfo[], required
    - `wins` integer, required
    - `losses` integer, required
    - `winPercent` string, required

## Other responses

- `404`: if something went wrong getting stats
- `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, 4 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 `xboxone` to the `query` request parameter `platform`
  - …1 more
- **2024-03-23** `cd73c8baf4c9`: 1 info
  - added the optional property `userId` to the response with the `200` status

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