NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

TLD Lookup API

GET

Verify any domain extension and identify its managing registry.

TLD Lookup retrieves information about any top-level domain including its type (generic, country-code, sponsored) and the sponsoring organization responsible for managing it.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/tldlookup?tld=com
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "tld": "com",
    "found": true,
    "type": "generic",
    "organization": "VeriSign Global Registry Services"
  }
}

About the TLD Lookup API

A TLD lookup API for checking any domain extension against the list of IANA-registered top-level domains. Send a TLD such as com, .uk or app and get back whether it exists, its domain type and the organization that manages it. The list includes legacy TLDs like .com and .org, country-code TLDs like .uk and .de, and newer generic TLDs like .app and .dev, along with internationalized TLDs written in non-Latin scripts.

Developers use it to validate email and domain input before accepting it, to tell a ccTLD from a gTLD in analytics or fraud rules, and to show which registry runs an extension inside a domain tool. A found value of false is a quick sign that a typed extension is not a real TLD.

Every field is available on the Free plan; there are no premium-only fields, so the free tier answers exactly as a paid plan does. The underlying TLD registry data is refreshed weekly, and lookups are served from memory, which keeps them fast enough to run on every form submission.

How it works

The data comes from the open top-level-domain-names dataset on GitHub, which lists each TLD with its type and sponsoring organization. A scheduled job downloads it weekly, refuses the update if it parses fewer than 1,000 entries, and stores the result; the API loads that copy and keeps it in memory.

tld is lowercased, trimmed and stripped of one leading dot, so .COM, com and Com all match, and the response echoes the normalized value. Send only the TLD: a full domain such as example.com is looked up as that literal string and returns found: false. Internationalized TLDs can be sent in Unicode or in their punycode xn-- form and resolve to the same record; direction marks around right-to-left names are ignored.

type is the dataset's classification, for example generic, country-code or sponsored. organization is the sponsoring organization recorded for the TLD. Where the source lists the sponsor as "Not assigned", organization is null while found stays true, so check both fields before treating an extension as active.

An unknown TLD still returns 200, with found: false and null type and organization, which keeps validation code simple. Matching is by exact key only: there is no fuzzy matching or suggestion, and a second-level suffix such as co.uk is not a TLD and will not match.

What people use it for

Domain Validation
Verify that a TLD is valid and registered with IANA before processing user-submitted domains
Phishing Detection
Identify domains using unusual or newly-created TLDs that may indicate phishing attempts
Domain Analysis
Understand the type and ownership of domain extensions for research and compliance purposes
Registrar Tools
Look up TLD information to determine registration requirements and managing organizations

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use TLD Lookup

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the TLD Lookup API.

Read the docs →
Which types of top-level domains can I look up?
The API covers every top-level domain registered with IANA. That includes legacy extensions like .com and .org, country-code TLDs such as .uk and .de, newer generic extensions like .app and .dev, and infrastructure domains.
Where does the domain data come from and how fresh is it?
TLD Lookup pulls records directly from the authoritative IANA registry database, updated on a weekly basis. This keeps your validation aligned with current assignments and retirements across all global registries.
Is it cheap enough to verify the TLD for every domain submission?
Yes. Each lookup costs 2 credits, which works out to about $0.0003 per call or $0.30 per 1,000 requests on the Starter plan. You can test with 100 free lookups each month, while Starter covers up to 100,000 monthly lookups.
What happens if someone submits an unregistered extension or includes a leading dot?
The API accepts inputs with or without a leading dot and normalizes the extension automatically. If the queried string is not a recognized IANA-registered domain, the found field returns false in the response.
Can I use TLD data inside my commercial security or validation tool?
Yes, as long as you have an active paid plan. Commercial use is permitted across all paid tiers to support user-facing tools, forms, and workflows. You cannot resell or redistribute the raw data as a standalone product.

Ready to build with TLD Lookup? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs