client.stats.materials()
Get statistics about materials used across all firearms.
materials(): Promise<APIResponse<MaterialStats>>- stringheaderrequired
Your API key.
Authorization: Bearer <key>is accepted in its place.
- object
The response payload.
- object[]
Frame materials, and how many firearms use each.
- string
The material as recorded on the firearm.
- integer
How many records fall in this bucket.
- object[]
Slide materials, and how many firearms use each.
- string
The material as recorded on the firearm.
- integer
How many records fall in this bucket.
- object[]
Barrel materials, and how many firearms use each.
- string
The material as recorded on the firearm.
- integer
How many records fall in this bucket.
- object[]
Stock materials, and how many firearms use each.
- string
The material as recorded on the firearm.
- integer
How many records fall in this bucket.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Minimum tier
- Studio+
- Monthly quota
- 150,000/mo
- Rate limit
- 120/min
- Daily cap
- 10,000
Figures shown are for this endpoint's minimum tier. Higher tiers raise every limit.