GunSpec

Countries

Resource class for interacting with the GunSpec Countries API. Wraps all /v1/countries endpoints. Instantiated internally by the GunSpec client and exposed as client.countries.

Authentifizierung erforderlichExplorer+

List all countries that have adopted at least one firearm.

list(): Promise<APIResponse<Country[]>>
GET/v1/countries

  • stringHeadererforderlich

    Ihr API-Schlüssel. Authorization: Bearer <key> wird ebenfalls akzeptiert.

  • object[]

    The response payload.

  • string

    ISO 3166-1 alpha-2 country code.

  • integer

    Distinct catalogued firearms this country operates.

  • 400VALIDATION_ERRORValidation error
  • 401UNAUTHORIZEDAPI key required
  • 403FORBIDDENValid key, not permitted
  • 429RATE_LIMITEDRate limit exceeded
  • 500INTERNAL_ERRORUnexpected server error

Mindeststufe
Explorer+
Monatskontingent
200/mo
Anfragerate
10/min
Tageslimit
50

Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.