Game Stats

Get one firearm from a snapshot

Returns the game stats for a single firearm as frozen in one snapshot version.

Requires Builder tier or higher.

get/v1/game-stats/versions/{version}/firearms/{id}

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/game-stats/versions/{version}/firearms/{id}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

versionstring required

Snapshot version

idstring required

Firearm slug

Response

Get one firearm from a snapshot

successboolean required

Always true on a successful response. Every error carries false and an error object instead.

Example response

{
  "success": true,
  "data": {
    "firearm_id": "glock-g17-gen5",
    "firearm_name": "Glock 17 Gen5",
    "game_damage": 42,
    "game_accuracy": 68,
    "game_range": 35,
    "game_fire_rate": 55,
    "game_mobility": 78,
    "game_recoil_control": 62,
    "game_reload_speed": 72,
    "game_concealment": 70
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.