# TLD Info & Top-Level Domain Registry Lookup

> TLD Info & Top-Level Domain Registry Lookup is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns registry operator, type (gTLD/ccTLD/sTLD), country, introduction year, and notes for any top-level domain

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/tld-info
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-30e5bf89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SmE7EJSorWwKKgIpAXNgP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-deployer-x402-deployer-workers-dev-30e5bf89 -d '<json body>'
```

Example prompt: What's the registry operator for .io, is it a ccTLD or gTLD, which country does it correspond to, and when was it introduced?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Example request

```json
{
 "tld": "com"
}
```

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "tld": {
       "type": "string",
       "description": "TLD without leading dot (e.g. 'ai', 'com', 'co.uk' uses just 'uk')."
      }
     },
     "required": [
      "tld"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tld": {
       "type": "string"
      },
      "is_valid": {
       "type": "boolean"
      },
      "type": {
       "type": "string"
      },
      "registry": {
       "type": "string"
      },
      "country": {
       "type": "string"
      },
      "intro_year": {
       "type": "integer"
      },
      "notes": {
       "type": "null"
      },
      "in_dictionary": {
       "type": "boolean"
      },
      "source": {
       "type": "string"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-30e5bf89/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
