tldlist.us/TLD dataset (JSON)

.json

Free TLD list dataset — every domain extension as JSON

Open data · 123 TLDs · Updated

In one sentence

tldlist.us publishes a free, machine-readable JSON dataset of 123 internet TLDs at tldlist.us/tld-list.json — every entry has the extension, type (gTLD / ccTLD / sTLD), country, meaning, operating registry, example sites and an indicative annual price in USD. Free to use with attribution, compiled from the IANA root zone database.

⬇ Download tld-list.json 123 TLDs View raw JSON

What's in the dataset

The file is a single JSON object with a metadata header (source, licence, version, counts) and a tlds array of 123 objects — one per top-level domain. It is the same authoritative data that powers the master TLD list and every per-TLD detail page on this site, exported in a clean, stable shape for developers, researchers and AI tools.

FieldTypeDescription
tldstringExtension including the leading dot, e.g. ".com".
labelstringExtension without the dot, e.g. "com".
typestring"gTLD", "ccTLD" or "sTLD".
typeCodestringShort code: g (generic), c (country-code), s (sponsored).
countrystringAssociated country/territory for ccTLDs; empty for generic extensions.
meaningstringIntended meaning / typical use, in plain language.
registrystringOrganization that operates the TLD in the root zone.
exampleSitesarrayWell-known live example sites using the extension.
typicalPriceUSDnumber | nullIndicative annual price in USD; null when restricted/sponsored.
restrictedbooleantrue when the TLD is restricted/sponsored (no open-market price).
slugstringURL slug of the detail page.
detailUrlstringAbsolute URL of the per-TLD detail page on tldlist.us.

Dataset coverage: 123 TLDs — 65 generic (gTLD), 49 country-code (ccTLD) and 9 sponsored (sTLD). Source: IANA root zone database & registry data · methodology.

Example record

Each element of the tlds array looks like this:

{
  "tld": ".io",
  "label": "io",
  "type": "ccTLD",
  "typeCode": "c",
  "typeFull": "Country-code top-level domain (ccTLD)",
  "country": "British Indian Ocean Territory",
  "meaning": "Tech & startups — a ccTLD used generically by developers, SaaS and Web3.",
  "registry": "Internet Computer Bureau / ICANN-administered",
  "exampleSites": ["github.io", "itch.io"],
  "typicalPriceUSD": 35,
  "restricted": false,
  "slug": "io",
  "detailUrl": "https://tldlist.us/tld/io"
}

How to use it

The dataset is plain JSON served over HTTPS with permissive CORS, so you can fetch it directly from the browser, a server or a notebook.

JavaScript (fetch)

const res  = await fetch("https://tldlist.us/tld-list.json");
const data = await res.json();

// cheapest open gTLDs
const cheapGtld = data.tlds
  .filter(t => t.type === "gTLD" && t.typicalPriceUSD != null)
  .sort((a, b) => a.typicalPriceUSD - b.typicalPriceUSD)
  .slice(0, 5);

console.log(cheapGtld.map(t => `${t.tld} $${t.typicalPriceUSD}`));

Python (requests)

import requests

data = requests.get("https://tldlist.us/tld-list.json").json()
cctlds = [t["tld"] for t in data["tlds"] if t["type"] == "ccTLD"]
print(len(cctlds), "country-code TLDs")

Shell (curl + jq)

curl -s https://tldlist.us/tld-list.json \
  | jq '.tlds[] | select(.typicalPriceUSD < 5) | .tld'

Licence & attribution

Free to use, including commercially — just credit us. The tldlist.us TLD dataset is released under a Creative Commons Attribution 4.0 (CC BY 4.0)-style licence. When you publish, redistribute or build on the data, include a visible credit and link back to https://tldlist.us/. A suggested attribution:
Data: TLD dataset by tldlist.us (https://tldlist.us/) — CC BY 4.0

The factual elements (which TLDs exist and their operating registries) derive from the public IANA root zone database; prices and example sites are compiled and curated by tldlist.us and are indicative. The data is provided "as is" without warranty — always confirm a registry or price against the primary source before relying on it commercially.

Dataset — frequently asked questions

Where can I download a list of all TLDs as JSON?
Download the free dataset at tldlist.us/tld-list.json. It contains 123 of the most important internet TLDs, each with extension, type (gTLD, ccTLD or sTLD), country, meaning, operating registry, example sites and an indicative annual price in USD.
Is the tldlist.us TLD dataset free to use?
Yes — it is free for any use, including commercial, under a CC BY 4.0-style attribution licence. Link back to https://tldlist.us/ when you publish or redistribute it. The data is compiled from the IANA root zone database and public registry information.
How often is the TLD dataset updated?
It is reviewed and refreshed on a regular schedule and after major domain-industry events (new gTLD delegations, registry re-delegations, notable price changes). Each release carries a lastUpdated date inside the JSON file.
Is there a REST API?
The dataset itself is the API: a single static JSON file at tldlist.us/tld-list.json, served over HTTPS with permissive CORS so you can fetch it from any client. For a single extension, read its detail page URL from the detailUrl field, e.g. tldlist.us/tld/io.