Firearm Discovery

Get the game meta roster

Returns every firearm carrying game stats, classified into archetypes. Filter by archetype to get just that role roster.

Requires Builder tier or higher.

get/v1/firearms/game-meta

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/firearms/game-meta
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

archetype'sniper' | 'assault' | 'tank' | 'glass-cannon' | 'all-rounder' | 'support' | 'stealth' | 'speedster'

Restrict to a single archetype

Headers

If-None-Matchstring

The ETag from a previous response. If the body would be byte-identical, the API answers 304 Not Modified with no body. A 304 counts toward the per-minute rate limit but not the daily request allowance.

Response

Get the game meta roster

successboolean required

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

Example response

{
  "success": true,
  "data": [
    {
      "id": "glock-g17-gen5",
      "name": "Glock 17 Gen5",
      "gameDamage": 45,
      "gameAccuracy": 70,
      "gameRange": 35,
      "gameFireRate": 55,
      "gameMobility": 85,
      "gameRecoilControl": 65,
      "gameReloadSpeed": 75,
      "gameConcealment": 80,
      "strengths": [
        "mobility",
        "concealment"
      ],
      "weaknesses": [
        "range"
      ]
    }
  ]
}

Changes

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