GunSpec

Firearms

Browse, search, compare and retrieve detailed specifications for 8,500+ firearms, variants included.

Auth RequiredExplorer+

Every drawn feature icon, for building a legend or an icon set. A firearm's own come as feature_icon items in /v1/firearms/{id}/media. Each is a WebP on the assets CDN that loads without a key. Needs an API key on every plan, the free one included, and shows the total on every plan.

GET/v1/features/icons

  • stringheaderrequired

    Your API key. Authorization: Bearer <key> is accepted in its place.

  • string

    Part of an icon's name; spaces and hyphens read as underscores, so picatinny rail finds picatinny_rail

    Example
  • integerdefault1

    Page number, from 1 to 10,000

    Range
    1 – 10000
    Example
  • integerdefault20

    Items per page (max 100)

    Range
    1 – 100
    Example

  • FeatureIcon[]

    One page of results

  • string

    The icon's file name without extension, e.g. 5r_rifling. Stable across releases.

  • string

    The name as a reader would write it, e.g. 5R Rifling.

  • string

    The drawing on the assets CDN, a WebP image. Public: it needs no key to fetch.

  • number

    Current page number

  • number

    Items per page

  • number

    Total matching records (Builder and above)

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

Minimum tier
Explorer+
Monthly quota
200/mo
Rate limit
10/min
Daily cap
50

Figures shown are for this endpoint's minimum tier. Higher tiers raise every limit.