GunSpec

Firearms

Browse, search, compare, and retrieve detailed specifications for over 9,000+ firearms including variants.

Authentifizierung erforderlichBuilder+

Returns the physical measurements of a firearm in metric and imperial units.

GET/v1/firearms/{id}/dimensions

  • stringHeadererforderlich

    Ihr API-Schlüssel. Authorization: Bearer <key> wird ebenfalls akzeptiert.

  • stringerforderlich

    Resource slug ID

    Akzeptiert
    a lowercase slug: letters, digits and hyphens
    Beispiel

  • FirearmDimensions

    Physical dimensions in both metric and imperial units.

  • string

    Slug of the firearm.

  • string

    Display name, as the maker writes it.

  • object

    Every dimension in millimetres and grams.

  • number | null

    Unloaded weight in grams, without magazine.

  • number | null

    Loaded weight in grams, with a full magazine.

  • number | null

    Overall length in millimetres, stock extended where it folds or collapses.

  • number | null

    Barrel length in millimetres, measured from the breech face.

  • number | null

    Height in millimetres, including sights and a fitted magazine.

  • number | null

    Width in millimetres at the widest point.

  • number | null

    Overall length in millimetres with the stock folded or collapsed. Null where it does not.

  • object

    The same measurements converted to pounds and inches.

  • number | null

    Unloaded weight in pounds, without magazine. Converted from weightEmptyG.

  • number | null

    Loaded weight in pounds, with a full magazine. Converted from weightLoadedG.

  • number | null

    Overall length in inches, stock extended where it folds or collapses. Converted from overallLengthMm.

  • number | null

    Barrel length in inches, measured from the breech face. Converted from barrelLengthMm.

  • number | null

    Height in inches, including sights and a fitted magazine. Converted from heightMm.

  • number | null

    Width in inches at the widest point. Converted from widthMm.

  • number | null

    Overall length in inches with the stock folded or collapsed. Null where it does not. Converted from foldedLengthMm.

  • 400VALIDATION_ERRORValidation error
  • 401UNAUTHORIZEDAPI key required
  • 403FORBIDDENValid key, not permitted
  • 404NOT_FOUNDResource not found
  • 429RATE_LIMITEDRate limit exceeded
  • 500INTERNAL_ERRORUnexpected server error

Requires Builder tier or higher.

Imperial conversions use: 1 mm = 0.03937 in, 1 g = 0.03527 oz.

Fields return null if the dimension is not available for this firearm.

Mindeststufe
Builder+
Monatskontingent
25,000/mo
Anfragerate
60/min
Tageslimit
2,000

Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.