client.manufacturers.getStats()
Get aggregate statistics for a manufacturer.
getStats(id: string): Promise<APIResponse<ManufacturerStats>>- stringheaderrequired
Your API key.
Authorization: Bearer <key>is accepted in its place.
- stringrequired
Manufacturer slug
- Accepts
- a lowercase slug: letters, digits and hyphens
- Example
- object
The response payload.
- object
Who the figures are about.
- string
Slug of the manufacturer.
- string
Display name, as the maker writes it.
- object
The aggregate figures. snake_case, as the rollup query names them.
- integer
How many catalogued firearms they make.
- number | null
Mean unloaded weight in grams across their catalog, over the firearms that record one.
- number | null
Mean effective range in metres, over the firearms that record one.
- number | null
Mean magazine capacity, over the firearms that record one.
- integer
How many of their firearms are still in production.
- integer
How many of their firearms are discontinued.
- integer | null
Introduction year of their earliest catalogued firearm. Null when none records one.
- integer | null
Introduction year of their most recent catalogued firearm. Null when none records one.
- object[]
Categories they build in, most first.
- string
Slug of the category.
- string
Display name, as the maker writes it.
- integer
How many of their firearms are in it.
- object
The single cartridge most of their catalog chambers. Null where none of their firearms records a caliber.
- string
Slug of the cartridge.
- string
Display name, as the maker writes it.
- integer
How many of their firearms chamber it.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 404
NOT_FOUND - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Minimum tier
- Builder+
- Monthly quota
- 25,000/mo
- Rate limit
- 60/min
- Daily cap
- 2,000
Figures shown are for this endpoint's minimum tier. Higher tiers raise every limit.