Authentifizierung erforderlichExplorer+
client.stats.byCategory()
Get firearm counts grouped by category.
byCategory(): Promise<APIResponse<CategoryStats[]>>- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- object[]
The response payload.
- string
Slug of the category.
- string
Display name, as the maker writes it.
- integer
How many catalogued firearms are in it.
- number | null
Mean unloaded weight in grams across the category, over the firearms that record one.
- number | null
Mean magazine capacity across the category, over the firearms that record one.
- number | null
Mean barrel length in millimetres across the category, over the firearms that record one.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 429
RATE_LIMITED - 500
INTERNAL_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.