{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snoopscan-com/json-schema/snoopscan-com-domain-request-schema.json",
  "title": "DomainRequest",
  "description": "Look up a domain's registration, DNS and backlinks. All three are on by default.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snoopscan-com-domain-api-openapi.yml#/components/schemas/DomainRequest",
  "properties": {
    "domain": {
      "type": "string",
      "title": "Domain",
      "description": "A domain, or any URL on it. `https://www.example.com/a` and `example.com` are the same request."
    },
    "registration": {
      "type": "boolean",
      "title": "Registration",
      "description": "Registration and expiry dates, age, registrar and nameservers.",
      "default": true
    },
    "dns": {
      "type": "boolean",
      "title": "Dns",
      "description": "A, AAAA, MX, NS and TXT records.",
      "default": true
    },
    "backlinks": {
      "type": "boolean",
      "title": "Backlinks",
      "description": "Domains known to link to this one.",
      "default": true
    },
    "backlinkLimit": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 1.0,
      "title": "Backlinklimit",
      "description": "How many referring domains to list, busiest first.",
      "default": 100
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "domain"
  ]
}