{"uid":"cap_Ees-Vv568THyvKdcrXP5o","slug":"2s-io-add6f158","name":"2s.io Domain WHOIS via RDAP","description":"Modern WHOIS via RDAP. Query: domain (e.g. example.com). Returns { domain, ldhName, handle, registrar:{ name, ianaId, url, abuseEmail, abusePhone }, registeredAt, expiresAt, updatedAt, statuses (camelCase ICANN EPP codes), nameservers[], dnssecSigned, rdapUrl }. GDPR: registrant personal data is generally redacted upstream and not returned. Some TLDs without RDAP are not supported and return 404 TLD_NOT_SUPPORTED.","url":"https://2s.io/api/domain/whois","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","maxLength":253,"minLength":3}},"additionalProperties":false}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"domain":"example.com"}}},"response":{"data":{"domain":"example.com","handle":"2336799_DOMAIN_COM-VRSN","source":{"license":"Public RDAP data; commercial use permitted per ICANN policy","protocol":"RDAP (RFC 7483)"},"ldhName":"example.com","rdapUrl":"https://rdap.verisign.com/com/v1/domain/example.com","statuses":["clientDeleteProhibited","clientTransferProhibited","clientUpdateProhibited"],"expiresAt":"2026-08-13T04:00:00Z","registrar":{"url":null,"name":"RESERVED-Internet Assigned Numbers Authority","ianaId":"376","abuseEmail":null,"abusePhone":null},"updatedAt":"2026-01-16T18:26:50Z","nameservers":["elliott.ns.cloudflare.com","hera.ns.cloudflare.com"],"dnssecSigned":true,"registeredAt":"1995-08-14T04:00:00Z"},"meta":{"cost":{"usd":0.001,"tier":0},"caller":"x402","version":null,"endpoint":"domain.whois","settlement":{"txHash":"0xff8f314443b2cab49b2daaab90be87c140dbecf5062d1ab44a4594548beff2c5","network":"eip155:8453","success":true}}}},"exampleRequest":{"domain":"example.com"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nfOgH5282OTorA8lf3QLL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns structured WHOIS/RDAP data for a domain including registrar info, registration/expiry dates, nameservers, statuses, and DNSSEC status","exampleAgentPrompt":"Can you pull the WHOIS details for stripe.com — I want to know the registrar, when it was registered, when it expires, and whether it's DNSSEC signed?","exampleUseCases":null,"resultDescription":"A JSON object with: domain name, ldhName, handle, registrar object (name, ianaId, url, abuseEmail, abusePhone), registeredAt (ISO timestamp), expiresAt (ISO timestamp), updatedAt (ISO timestamp), statuses (array of camelCase ICANN EPP codes), nameservers array, dnssecSigned boolean, and rdapUrl. Note: registrant personal data is GDPR-redacted upstream and not returned.","failureModes":["404 TLD_NOT_SUPPORTED — TLD does not have an RDAP endpoint (e.g. some ccTLDs)","Domain not found / unregistered domain returns an appropriate error","Malformed domain input (too short, too long, invalid characters) rejected by schema validation","Upstream RDAP registry timeout or outage"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable WHOIS/RDAP data for a domain — particularly registrar details, lifecycle dates, EPP statuses, and DNSSEC info. Prefer over legacy WHOIS scrapers because RDAP returns clean JSON without parsing. Note GDPR means registrant contact data will typically be redacted. Not suitable for TLDs lacking RDAP support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T03:43:27.310Z","isFirstParty":false}