{"ok":true,"service":"unhuman.domains","description":"The domain registrar built for AI agents. Pay with Bitcoin Lightning.","baseUrl":"https://unhuman.domains","tlds":["com","net","org","io","dev","app","xyz","co","ai"],"discovery":{"llms":"https://unhuman.domains/llms.txt","robots":"https://unhuman.domains/robots.txt","sitemap":"https://unhuman.domains/sitemap.xml","openapi":"https://unhuman.domains/openapi.json","apiCatalog":"https://unhuman.domains/.well-known/api-catalog","agentSkills":"https://unhuman.domains/.well-known/agent-skills/index.json","markdown":"Send Accept: text/markdown to / or /success for markdown responses."},"endpoints":{"health":{"method":"GET","path":"/api/health","description":"Lightweight service liveness check.","auth":"none","example":"https://unhuman.domains/api/health"},"search":{"method":"GET","path":"/api/domains/search?q={query}","description":"Search domain availability across all TLDs. Returns pricing and availability.","auth":"none","example":"https://unhuman.domains/api/domains/search?q=mycoolsite"},"check":{"method":"GET","path":"/api/domains/{domain}/register","description":"Check availability and pricing for a specific domain. Returns the registration flow.","auth":"none","example":"https://unhuman.domains/api/domains/mycoolsite.com/register"},"register":{"method":"POST","path":"/api/domains/{domain}/register","description":"Register a domain. Returns 402 with Lightning invoice. Paid credentials stay retryable until registration succeeds.","auth":"L402 (HTTP 402 + Lightning)","body":{"email":"(required) registrant email — ICANN sends a verification link here; domain will be suspended without it"},"flow":["POST /api/domains/{domain}/register → 402 with invoice + token","Pay the Lightning invoice with any wallet","POST /api/domains/{domain}/register with Authorization: L402 <macaroon>:<preimage>","If registration fails before settlement, retry the same paid request with the same L402 credential","Receive 200 with management token for DNS and renewals"],"example":"curl -X POST https://unhuman.domains/api/domains/mycoolsite.com/register"},"dns":{"method":"GET | PUT","path":"/api/domains/{domain}/dns","description":"Manage DNS records (only when using OpenSRS default nameservers). Requires management token.","auth":"Bearer <management-token>"},"nameservers":{"method":"PUT","path":"/api/domains/{domain}/nameservers","description":"Update nameservers. Custom nameservers disable DNS management; set defaults to re-enable.","auth":"Bearer <management-token>"},"renew":{"method":"POST","path":"/api/domains/{domain}/renew","description":"Renew a domain. Requires management token + L402 payment. The paid request is idempotent until settlement completes.","auth":"L402 + Bearer <management-token> (in X-Management-Token header)"},"info":{"method":"GET","path":"/api/domains/{domain}/info","description":"Get domain info (expiry, nameservers, status). Requires management token.","auth":"Bearer <management-token>"},"recover":{"method":"POST","path":"/api/domains/recover","description":"Recover management token via email verification.","auth":"none (email-based)"}},"pricing":{"currency":"USD","unit":"cents","note":"Prices are at-cost from the registrar. No markup.","payment":"Bitcoin Lightning via L402 protocol"}}