Data Quality

Get one cited source

One site's standing: its kind, rank, basis, tier and citations, and the evidence it was classed on. Takes a host or a page URL (URL-encoded); a subdomain resolves to the domain the registry knows, and an archived copy to the site it captured.

No API key required.

get/v1/data/sources/{host}

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/data/sources/{host}
  • Auth: one of:
    • none
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

hoststring required

A host (us.glock.com) or a URL-encoded page URL.

Response

Get one cited source

successboolean required

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

Example response

{
  "success": true,
  "data": {
    "source": {
      "host": "sigsauer.com",
      "kind": "manufacturer",
      "basis": "declared",
      "tier": "authority",
      "citations": 200,
      "records": {
        "firearms": 184,
        "manufacturers": 1
      },
      "makers": [
        "sig-sauer"
      ],
      "evidence": "title \"Chapuis USA Official Site\"; maker's official US site"
    }
  }
}

Changes

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