Statistics

Count firearms by production status

Returns how many firearms are in production, discontinued, or prototypes.

Available on every plan. Requires an API key; Explorer keys receive a reduced field set.

get/v1/stats/production-status

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/stats/production-status
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Response

Count firearms by production status

successboolean required

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

Example response

{
  "success": true,
  "data": [
    {
      "status": "in_production",
      "count": 640
    }
  ]
}

Changes

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