Compatibility

List interface standards

The controlled vocabulary of mount interfaces: rails, muzzle threads, optic footprints, stock and grip mounts, handguard mounts, magazine wells, side mounts, sight dovetails, bipod studs, sling points, trigger pockets and charging handles. Ids are kind-prefixed and stable.

Available on every plan. Requires an API key; Explorer keys receive a reduced field set.

get/v1/interfaces

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/interfaces
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

kindstring

One kind only

Headers

If-None-Matchstring

The ETag from a previous response. If the body would be byte-identical, the API answers 304 Not Modified with no body. A 304 counts toward the per-minute rate limit but not the daily request allowance.

Response

List interface standards

successboolean required

Always true on a successful response. Every error carries false and an error object instead.

Example response

{
  "success": true,
  "data": [
    {
      "id": "thread:1/2x28",
      "kind": "thread",
      "name": "1/2-28 UNEF right hand",
      "aliases": [
        "1/2x28",
        "1/2-28"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.