$ man tld-info
/tld-info(1)
PRICE / CALL
$0.001
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
tld-info — tld info / top-level domain registry lookup / cctld vs gtld / tld introduction year / new gtld registry
SYNOPSIS
POST https://x402.org/v1/tld-info
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.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.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| tld | string | TLD without leading dot (e.g. 'ai', 'com', 'co.uk' uses just 'uk'). | required |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| tld | string | Top-level domain looked up, normalized to lowercase with leading dot (e.g. .com, .uk, .xyz). |
| is_valid | string | Whether the TLD string parsed as a syntactically valid top-level domain label. |
| type | string | TLD category: gTLD, ccTLD, sTLD, or new-gTLD. |
| registry | string | Operator running the TLD registry (e.g. Verisign for .com, Nominet for .uk). |
| country | string | Country or territory the TLD belongs to, for ccTLDs; null or empty for gTLDs. |
| intro_year | string | Year the TLD was introduced into the root zone. |
| notes | string | Short free-text notes on the TLD's usage, restrictions, or notable history. |
| in_dictionary | string | True if the TLD was found in the in-handler dictionary; false if answered via structural fallback. |
| source | string | Origin of the answer: dictionary lookup or structural guess from the TLD shape. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/tld-info \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the tld-info tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probedomaintldregistry-lookupcctldgtldtld-info
- methods
- POST
- cluster
- webprobe
- price
- $0.001 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| hacker-news-search | Hacker News search / HN search / yc-news / Algolia HN. | $0.001 |
| hn-search | HN search / Hacker News search / yc-news / startup-news search / Algolia HN / who-is-hiring scraper / programmer-news firehose. | $0.001 |
| ip-asn | IP to ASN / IP geolocation / IP-to-ISP lookup / WHOIS for IP / cloud-provider attribution. | $0.001 |
| qr-code-generate | QR code generator / QR maker / vCard QR / WiFi QR / URL to QR / SVG QR / PNG QR / customizable error correction. | $0.001 |
| user-agent-parse | User-Agent parser / UA classifier / browser detection / OS detection / bot detection / AI crawler identifier (GPTBot, ClaudeBot, Perplexi… | $0.001 |
| arxiv-bibtex | arXiv to BibTeX / arxiv citation generator / paper bibtex / LaTeX citation builder / academic citation lookup. | $0.002 |
| github-readme | GitHub README fetch / repo readme / open-source-readme-as-markdown / package documentation puller. | $0.002 |
| keyword-suggest | Keyword autocomplete / search suggest / SEO keyword research / query expansion / autocomplete suggestions. | $0.002 |
SEE ALSO