{"uid":"cap_SmE7EJSorWwKKgIpAXNgP","slug":"x402-deployer-x402-deployer-workers-dev-30e5bf89","name":"TLD Info & Top-Level Domain Registry Lookup","description":"TLD info / top-level domain registry lookup / ccTLD vs gTLD / TLD introduction year / new gTLD registry. For any top-level domain, returns the registry operator, type (gTLD / ccTLD / sTLD), country (for ccTLDs), introduction year, and notes. In-handler dictionary covers ~80 of the most common TLDs; falls back to a structural guess for unrecognized TLDs.","url":"https://x402-deployer.x402-deployer.workers.dev/tld-info","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":{"required":["tld"],"properties":{"tld":{"type":"string","description":"TLD without leading dot (e.g. 'ai', 'com', 'co.uk' uses just 'uk')."}}},"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","properties":{"tld":{"type":"string"},"type":{"type":"string"},"notes":{"type":"null"},"source":{"type":"string"},"country":{"type":"string"},"is_valid":{"type":"boolean"},"registry":{"type":"string"},"intro_year":{"type":"integer"},"in_dictionary":{"type":"boolean"}}}}}}},"responseSchema":null,"example":{"request":{"tld":"com"},"response":{"tld":"com","type":"gTLD","notes":"commercial","source":"in-handler IANA dictionary","country":null,"is_valid":true,"registry":"Verisign","intro_year":1985,"in_dictionary":true}},"exampleRequest":{"tld":"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.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SrIuO-tfmqk2c6_q9xbqj","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":"Returns registry operator, type (gTLD/ccTLD/sTLD), country, introduction year, and notes for any top-level domain","exampleAgentPrompt":"What's the registry operator for .io, is it a ccTLD or gTLD, which country does it correspond to, and when was it introduced?","exampleUseCases":null,"resultDescription":"Returns an object containing the registry operator name, TLD type classification (gTLD, ccTLD, or sTLD), country name for ccTLDs, year the TLD was introduced, and any relevant notes. Covers ~80 common TLDs from an in-handler dictionary with structural fallback guesses for unrecognized TLDs.","failureModes":["Unrecognized or obscure TLD returns a structural guess rather than authoritative data","Missing or malformed TLD input returns a validation error","New gTLDs not yet in the dictionary may return incomplete or estimated information","Network or worker timeout on the Cloudflare edge"],"whenToPreferThis":"Use this endpoint when you need quick structured metadata about a TLD — its type, registry, country, or introduction year — without scraping IANA or performing complex DNS lookups. Best for informational queries about well-known TLDs; note that obscure TLDs fall back to guesses rather than authoritative IANA data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:51.779Z","isFirstParty":false}