# TLD Lookup API

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

**Endpoint:** `GET https://api.apiverve.com/v1/tldlookup`  
**Category:** Networking  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/tldlookup

## Overview

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, and delegated false marks a TLD that IANA has on record but that has left the root zone, such as the retired .an and .tp, so addresses on it cannot resolve.

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.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/tldlookup?tld=com" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `tld` | string | Yes | The top-level domain to look up (with or without leading dot) |

## Response fields

- `tld` — string · The top-level domain requested in normalized form
- `found` — boolean · Whether the TLD is registered with IANA
- `type` — string · TLD type: generic, country-code, sponsored, infrastructure
- `organization` — string · Organization responsible for managing the TLD

## Sample response

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

## Use cases

- **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

## SDKs

- **npm** — `npm install @apiverve/tldlookup` (https://www.npmjs.com/package/@apiverve/tldlookup)
- **NuGet** — `dotnet add package APIVerve.API.TLDLookup` (https://www.nuget.org/packages/APIVerve.API.TLDLookup)
- **Source** — https://github.com/apiverve/tldlookup-api

## More

- Full reference: https://docs.apiverve.com/ref/tldlookup
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
