Firearm Analysis
Get dimensions in both unit systems
Returns the physical measurements of a firearm in metric and imperial units.
Requires Builder tier or higher.
get/v1/firearms/{id}/dimensions
Request
- Base URL: https://api.gunspec.io
- URL: https://api.gunspec.io/v1/firearms/{id}/dimensions
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
idstring required
Resource slug ID
Response
Get dimensions in both unit systems
Example response
{
"success": true,
"data": {
"id": "glock-g17-gen5",
"name": "Glock 17 Gen5",
"metric": {
"weightEmptyG": 625,
"weightLoadedG": 915,
"overallLengthMm": 202,
"barrelLengthMm": 114,
"heightMm": 139,
"widthMm": 34
},
"imperial": {
"weightEmptyLbs": 1.378,
"weightLoadedLbs": 2.017,
"overallLengthIn": 7.953,
"barrelLengthIn": 4.488,
"heightIn": 5.472,
"widthIn": 1.339
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.