Top-level domain facts
get_tld_infoFacts about one top-level domain from local datasets: whether it is delegated in the root zone, its type (country-code or infrastructure when derivable), the registry's RDAP server, root-zone name servers, whether the root zone publishes a DS record (DNSSEC) and which DS algorithms, and any Web3 namespace that claims the same label (for example .eth, .crypto, .bnb, or a collision such as .xyz).
Use it to answer where to send an RDAP query for a TLD, whether a TLD is signed, or whether a name under it could mean something else on a blockchain. For one domain use lookup_target instead.
Behavior: offline and instant, answered from synced IANA and root-zone data; makes no network call. A field without data is omitted, never guessed. Registry operator and delegation date are not included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tld | Yes | one top-level domain with or without the leading dot, e.g. com, .de, xn--p1ai or рф. A full domain name is not accepted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tld | Yes | the TLD in ASCII (punycode) form | |
| type | No | country-code or infrastructure, when derivable | |
| dnssec | No | the root zone publishes a DS record for the TLD | |
| summary | No | the human-readable fact sheet, the same text as the text content | |
| unicode | No | ||
| collision | No | delegated in the root zone and also a Web3 namespace | |
| delegated | Yes | delegated in the root zone | |
| details_url | No | the TLD page | |
| nameservers | No | root-zone name servers | |
| rdap_server | No | ||
| ds_algorithms | No | ||
| web3_namespaces | No | Web3 namespaces that claim this label |