Battlefield 2042

Get changes in players' stats over time, this gets saved every time you use the standard stats command in the api or gamestats bot (stats are per day, max 1 month)

Changed on
get/bf2042/statsarray/

Request

  • Base URL
    https://api.gametools.network
  • Auth
    none declared

Query parameters

days, integer

Number of days to get historic values for

name, string nullable

Name of the player to get stats for

Example:iiTzArcur
playerid, integer nullable

ID of the player to get stats for

Example:794397421
nucleus_id, integer nullable

Platform specific id of the player (oid)

Example:2800753812
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

start and end time are EPOCH UTC timestamps, the arrays below it are from start to end time every day as a value

StatsArray required
accuracy, integer[] required
headshots, integer[] required
infantryKillDeath, integer[] required
infantryKillsPerMinute, integer[] required
killDeath, integer[] required
killsPerMinute, integer[] required
scorePerMinute, integer[] required
skill, integer[] required
winPercent, integer[] required
timeStamps, string[] required
startTime, string required
endTime, string required

Changes

    • breaking

      for the query request parameter skip_battlelog, default value was changed from false to true

    • info

      added the optional property detail/items/ctx to the response with the status

    • info

      added the optional property detail/items/input to the response with the status