{"openapi":"3.1.0","info":{"title":"DNS Guard","version":"1.0.0","description":"Email-security and DNS checks for AI agents. A single domain check is $0.10. A bulk report of up to 25 domains is $5.00. Without an API key, each IP address gets 20 calls per UTC day. The next call returns HTTP 402 with an x402-shaped price preview. Payment is not verified in v1. Protection score: pass awards the full weight, warn awards half the weight rounded down, and fail awards 0. DNS answers come from Cloudflare DNS-over-HTTPS, with Google as the fallback. The certificate is read from the domain on port 443."},"servers":[{"url":"https://dns.majmu.xyz"}],"x-dns-guard-pricing":{"currency":"USD","singleDomainCheckUsd":0.1,"bulkReportUsd":5,"bulkMaxDomains":25,"freeDailyLimit":20},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"},"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key"}}},"security":[{"bearer":[]},{"apiKey":[]},{}],"paths":{"/api/health":{"get":{"operationId":"health","summary":"Service health, pricing, and the score rule.","responses":{"200":{"description":"The service is up."}}}},"/api/check/{domain}":{"get":{"operationId":"checkDomain","summary":"Check one domain ($0.10).","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string"},"description":"Public hostname, such as google.com."},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","csv"]},"description":"json (default) or csv. Errors stay JSON."}],"responses":{"200":{"description":"Findings, proof, and a 0–100 score."},"400":{"description":"The domain is not a public hostname."},"401":{"description":"The API key was not recognized."},"402":{"description":"Free tier exhausted. Body is an x402 payment preview."},"429":{"description":"The API key is over its daily limit."}}}},"/api/bulk":{"post":{"operationId":"bulkReport","summary":"Bulk report, up to 25 domains ($5.00).","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","csv"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domains"],"properties":{"domains":{"type":"array","maxItems":25,"items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Per-domain summary, CSV, markdown report, and a self-check that the CSV matches the report."},"400":{"description":"The domain list is empty, too long, or contains a bad hostname."},"401":{"description":"The API key was not recognized."},"402":{"description":"Free tier exhausted. Body is an x402 payment preview."},"429":{"description":"The API key is over its daily limit."}}}},"/openapi.json":{"get":{"operationId":"openapi","summary":"This document.","responses":{"200":{"description":"OpenAPI 3.1 JSON."}}}},"/.well-known/agent.json":{"get":{"operationId":"agentManifest","summary":"Synmerco Build Hub agent manifest. Served by a rewrite to /api/agent.","responses":{"200":{"description":"Agent manifest."}}}}}}