{"uid":"cap_4Ag77RzmBBMlJwHjvtPWN","slug":"codepulse-api-whois-domain-lookup-f432b694","name":"CodePulse API – WHOIS Domain Lookup","description":"Queries global registry metadata via the public RDAP protocol to find registration details.","url":"https://codepulse-api.hahavoid0.workers.dev/web/whois","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Target domain name"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"registrar":"MarkMonitor Inc.","created_at":"1997-09-15T04:00:00Z","expired_at":"2028-09-14T04:00:00Z"},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pF76NRivd6PBj8zQcdpin","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a WHOIS lookup for a given domain name, returning registrar, creation date, and expiration date.","exampleAgentPrompt":"Can you pull up the WHOIS details for google.com — I want to know who the registrar is and when the domain was created and when it expires?","exampleUseCases":[{"title":"Domain expiry monitoring for portfolio","prompt":"Check the WHOIS record for mybrand.com — I want to know the registrar and the expiration date so I can tell if it's about to lapse."},{"title":"Verify domain ownership before outreach","prompt":"Look up who registered techstartup.io and when — I want to confirm the domain is legitimately registered before I reach out to them."},{"title":"Competitive research on rival site","prompt":"Can you do a WHOIS lookup on competitorsite.com and tell me when it was first registered and who the registrar is?"}],"resultDescription":"A JSON object containing the domain's registrar name, creation date (ISO 8601), expiration date (ISO 8601), a supported flag indicating whether WHOIS data is available for the TLD, a confidence level (e.g. 'high'), a data freshness timestamp (e.g. '2026-06'), and a disclaimer. Also includes a warnings array for any partial or uncertain data.","failureModes":["Domain not found or unsupported TLD — 'supported' field returns false","Network timeout reaching WHOIS registry — HTTP error or empty result","Invalid domain format in input — validation error returned","Rate limiting by upstream WHOIS registry — degraded or missing data","Stale data — 'data_as_of' may lag the real registry by weeks"],"whenToPreferThis":"Use this endpoint when you need structured WHOIS data (registrar, creation, expiration) for a specific domain without managing API keys or WHOIS parsing yourself. It is well-suited for agents that need quick, pay-per-use domain intelligence at $0.02 per call via x402 USDC on Base. Prefer this over raw WHOIS CLI tools when operating in an automated or agentic context that requires clean JSON output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:18.255Z","isFirstParty":false}