{"openapi":"3.1.0","info":{"title":"DNSApe API","description":"DNS and network diagnostic tools. Every endpoint is free up to a small per-minute allowance, then requires an x402 micropayment (HTTP 402). Payment catalog: https:\/\/dnsape.com\/.well-known\/x402.json.","version":"1.0.0","contact":{"name":"DNSApe","url":"https:\/\/dnsape.com"}},"servers":[{"url":"https:\/\/dnsape.com\/api\/v1","description":"DNSApe API v1"}],"paths":{"\/dns\/records":{"get":{"summary":"Look up DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA).","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"DNS record type (default ALL).","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/dns\/traversal":{"get":{"summary":"Trace DNS delegation from the root to the authoritative servers.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"DNS record type (default ALL).","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/dns\/cache":{"get":{"summary":"Compare DNS answers across public resolvers.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"DNS record type (default ALL).","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/dns\/history":{"get":{"summary":"Return the DNS record change history for a domain.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/whois\/domain":{"get":{"summary":"Fetch WHOIS registration data for a domain.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/whois\/ip":{"get":{"summary":"Fetch WHOIS \/ RDAP data for an IP address.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/network\/headers":{"get":{"summary":"Fetch and analyze HTTP response headers.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/network\/ssl":{"get":{"summary":"Inspect the SSL\/TLS certificate for a host.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/network\/ping":{"get":{"summary":"Measure TCP latency to a host.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/email\/security":{"get":{"summary":"Audit SPF, DKIM, DMARC, MTA-STS, and TLS-RPT.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/email\/blacklist":{"get":{"summary":"Check a host against DNS blacklists.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/seo":{"get":{"summary":"Score a domain's SEO and discoverability.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}},"\/ai-ready":{"get":{"summary":"Score a domain's readiness for AI agents.","parameters":[{"name":"host","in":"query","required":true,"description":"Domain or IP address to inspect.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful diagnostic result (JSON)."},"402":{"description":"Payment required \u2014 free allowance exceeded; attach an x402 payment."},"422":{"description":"Validation error (e.g. missing host)."},"429":{"description":"Rate limit exceeded."}}}}}}