{"id":18765727,"url":"https://github.com/cobertos/tld-data","last_synced_at":"2025-04-13T05:12:00.240Z","repository":{"id":95200485,"uuid":"299201949","full_name":"Cobertos/tld-data","owner":"Cobertos","description":"Get yer TLD data here! Scraped straight from DNS, ICANN and IANA. Including branded gTLDs and whether or not there's registry restrictions.","archived":false,"fork":false,"pushed_at":"2021-04-25T05:27:53.000Z","size":675,"stargazers_count":10,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"owo","last_synced_at":"2025-04-10T19:53:29.794Z","etag":null,"topics":["data","dataset","domain","gtld","gtlds","javascript","tld"],"latest_commit_sha":null,"homepage":"https://tld-data.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cobertos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-28T05:49:01.000Z","updated_at":"2023-11-21T20:20:12.000Z","dependencies_parsed_at":"2023-06-12T11:45:21.084Z","dependency_job_id":null,"html_url":"https://github.com/Cobertos/tld-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobertos%2Ftld-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobertos%2Ftld-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobertos%2Ftld-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobertos%2Ftld-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cobertos","download_url":"https://codeload.github.com/Cobertos/tld-data/tar.gz/refs/heads/owo","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665744,"owners_count":21142123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","dataset","domain","gtld","gtlds","javascript","tld"],"created_at":"2024-11-07T18:35:02.577Z","updated_at":"2025-04-13T05:12:00.234Z","avatar_url":"https://github.com/Cobertos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/Cobertos/tld-data/actions\" target=\"_blank\"\u003e\u003cimg alt=\"build status\" src=\"https://github.com/Cobertos/tld-data/workflows/Package%20Tests/badge.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/Cobertos/tld-data/actions\" target=\"_blank\"\u003e\u003cimg alt=\"build status\" src=\"https://github.com/Cobertos/tld-data/workflows/Fetch%20Data/badge.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://twitter.com/cobertos\" target=\"_blank\"\u003e\u003cimg alt=\"twitter shield\" src=\"https://img.shields.io/badge/twitter-%40cobertos-0084b4.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://cobertos.com\" target=\"_blank\"\u003e\u003cimg alt=\"website shield\" src=\"https://img.shields.io/badge/website-cobertos.com-888888.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# tld-data\n\nAccurate data on TLDs with a focus on which ones can actually be registered. Data pulled weekly\n\nBrowse the data at [tld-data.com](https://tld-data.com)!\n\nMethodology:\n\n* Pull all TLDs from [DNS root zone](http://www.internic.net/domain/root.zone) for accuracy (disregards upcoming and terminated TLDs)\n* Combines with type information from [IANA root zone database](https://www.iana.org/domains/root/db)\n* Scrapes ICANN registry agreements for other information to get as close to the source as possible\n\n## Data\n\n[`tldData.json`](tldData.json) contains an array with an object for every TLD in the [root zone](http://www.internic.net/domain/root.zone). Each object has other properties shown in the below snippet assembled from multiple sources.\n\n```javascript\n{\n  \"generated\": \"2021-03-16T06:41:50-04:00\",\n  \"data\": {\n    // TLD, no leading '.', unicode (not punycode)\n    \"tld\": \"accenture\",\n\n    // type of the TLD from IANA database\n    // ['generic', 'country-code', 'sponsored', 'infrastructure', 'generic-restricted', 'test']\n    // An explanation of each can be found: https://icannwiki.org/Generic_top-level_domain\n    \"type\": \"generic\",\n\n    // If present, is the generic TLD a generic brand TLD?\n    // More specifically, does the registry agreement for this TLD specify \"Specification 13\"\n    // or have an exemption to \"Specification 9\". Both of these prohibit the registry\n    // from giving domains to anyone but the registry and affiliates (no third parties).\n    \"isBrand\": true,\n\n    // If present, are there any restrictions for registering the TLD?\n    // Only checks for \"Specification 12\" currently (see notes in code)\n    // Not super accurate yet, and not currently implemented for ccTLDs!\n    \"hasRestrictions\": false,\n\n    // If the gTLD is NOT in General Availability (useful for filtering out domains\n    // that are too new)\n    // NOTE: This is NOT PARTICULARLY ACCURATE. This uses the end of the last listed\n    // period as there's no well-maintained public data source for this...\n    // NOTE: omitted on non-generic TLDs\n    \"isNotInGeneralAvailability\": false,\n\n    // The periods of the gTLD, in ISO8601 date format (no time)\n    \"periods\": [{\n      \"name\": \"Sunrise\",\n      \"open\": \"2015-07-06\",\n      \"close\": \"2015-12-31\"\n    }]\n  }\n}\n```\n\n## Running\n\n`src/cli.js` prints data to stdout and takes previously found data from stdin (to reuse in certain portions to reduce HTTP requests).\n\nYou can run the command to generate all new data:\n\n`node -r esm --unhandled-rejections=strict src/cli.js --color \u003e tldData.json`\n\nOr to reuse the old `isBrand` and `hasRestrictions` keys, you can run:\n\n```console\n$ node -r esm --unhandled-rejections=strict src/cli.js --stdin --color \u003c tldData.json \u003e tldDataNew.json\n$ mv -f tldDataNew.json tldData.json\n```\n\n## Contributing\n\nContributing for [`tld-data.com` can be found here](https://github.com/Cobertos/tld-data.com).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobertos%2Ftld-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcobertos%2Ftld-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobertos%2Ftld-data/lists"}