GunSpec

Manufacturers

Resource class for interacting with the GunSpec Manufacturers API. Wraps all /v1/manufacturers endpoints. Instantiated internally by the GunSpec client and exposed as client.manufacturers.

Auth RequiredStudio+

Get a chronological timeline for a manufacturer.

getTimeline(id: string): Promise<APIResponse<ManufacturerTimeline>>
GET/v1/manufacturers/{id}/timeline

  • stringheaderrequired

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

  • stringrequired

    Manufacturer slug

    Accepts
    a lowercase slug: letters, digits and hyphens
    Example

  • object

    The response payload.

  • object

    Who the timeline is for.

  • string

    Slug of the manufacturer.

  • string

    Display name, as the maker writes it.

  • object[]

    One entry per year they introduced something, oldest first.

  • integer | null

    Year of introduction. Null groups the firearms whose year is unrecorded.

  • object[]

    The firearms they introduced that year.

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

Minimum tier
Studio+
Monthly quota
150,000/mo
Rate limit
120/min
Daily cap
10,000

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