Statistics
Rank features by frequency
Returns how often each catalogued feature appears across firearms.
Requires Builder tier or higher.
get/v1/stats/feature-frequency
Request
- Base URL: https://api.gunspec.io
- URL: https://api.gunspec.io/v1/stats/feature-frequency
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Query parameters
categorystring
Restrict to a category slug
limitinteger
How many to return
Response
Rank features by frequency
Example response
{
"success": true,
"data": [
{
"feature": "threaded-barrel",
"count": 163
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.