Countries

List countries of origin

Returns every country that has adopted a catalogued firearm, ranked by how many distinct firearms it operates.

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

get/v1/countries

Request

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

Response

List countries of origin

successboolean required

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

Example response

{
  "success": true,
  "data": [
    {
      "code": "US",
      "firearm_count": 214
    }
  ]
}

Changes

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