GunSpec

Firearms

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

Authentifizierung erforderlichExplorer+

One resource for every kind of asset a firearm has, from line-art silhouette and generated render to photograph, schematic and 3D model, returned in a single shape.

GET/v1/firearms/{id}/media

  • stringHeadererforderlich

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

  • stringerforderlich

    Resource slug ID

    Akzeptiert
    a lowercase slug: letters, digits and hyphens
    Beispiel

  • string

    Return only one kind of asset

    Akzeptiert
    Beispiel

  • MediaItem[]

    The response payload.

  • integer | null

    Null for assets stored as a column rather than a row (the 3D model).

  • MediaKind

    What kind of asset a media row is.

  • string | null

    Media type of the bytes, e.g. image/png.

  • integer | null

    Pixel width, where it is known.

  • integer | null

    Pixel height, where it is known.

  • string | null

    Alt text, where one has been written. Null otherwise, so do not render an empty string.

  • string

    Absolute, directly fetchable URL.

  • object

    Per-size URLs. Absent on assets we link rather than host.

  • string

    URL of the asset at full size.

  • string

    URL of the mid-size rendition, for a detail page.

  • string

    URL of the thumbnail rendition, for a list or grid.

  • object

    Attribution required to reuse the asset. Populated wherever the catalogue records it.

  • string | null

    Where the record came from: a curated entry, an inference, or an import.

  • string | null

    Who made the asset, where it is credited.

  • string | null

    Page the asset or document was taken from.

  • string | null

    Licence the asset is held under, where one is recorded.

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

Available on Explorer and above. The catalogue and its credits are free; the bytes are Builder.

Every url is absolute. You will never receive a bare storage key or an internal path.

Use ?kind= to fetch just what you need, e.g. ?kind=render for marketing imagery or ?kind=silhouette for UI icons.

The credit block is the attribution required to republish an image. Where license is set, honour it.

A firearm may have no assets of a given kind; the array is simply shorter, never an error.

Mindeststufe
Explorer+
Monatskontingent
200/mo
Anfragerate
10/min
Tageslimit
50

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