Under each example, Works with names the datasets it is meant for. In another of them, only the file name changes.
By zone and country
All domains of one TLD
duckdb <<'SQL'
COPY (
SELECT Domain
FROM read_json('all-active-domains-2026-11-25.jsonl.zst',
columns = {Domain: 'VARCHAR', TLD: 'VARCHAR'})
WHERE TLD = 'ca'
) TO 'ca-domains.txt' (HEADER false);
SQL
@'
COPY (
SELECT Domain
FROM read_json('all-active-domains-2026-11-25.jsonl.zst',
columns = {Domain: 'VARCHAR', TLD: 'VARCHAR'})
WHERE TLD = 'ca'
) TO 'ca-domains.txt' (HEADER false);
'@ | duckdb
ca-domains.txt, first 3 of 1,022 rows on the free sample
1660.ab.ca
199216net.ab.ca
4h.ab.ca
On the full All active domains file of 24 Nov 2026: 3,461,155 rows, written in under a minute.
Works with: every dataset
TLD = 'ca'takes every domain that ends in .ca, including suffixes like on.ca. For one suffix only, use"TLD suffix" = 'on.ca', and add"TLD suffix"tocolumns.HEADER falseleaves out the header line, so the file is a plain list with one domain per line.- For a single TLD you can also download just that slice.
Websites hosted in one country
duckdb <<'SQL'
COPY (
SELECT Domain, "IP address"
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "IP address": 'VARCHAR',
"Country by IP": 'VARCHAR', "HTTP status": 'INTEGER'})
WHERE "Country by IP" = 'DE' AND "HTTP status" = 200
) TO 'germany-websites.csv';
SQL
@'
COPY (
SELECT Domain, "IP address"
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "IP address": 'VARCHAR',
"Country by IP": 'VARCHAR', "HTTP status": 'INTEGER'})
WHERE "Country by IP" = 'DE' AND "HTTP status" = 200
) TO 'germany-websites.csv';
'@ | duckdb
germany-websites.csv, first 3 of 432 rows on the free sample
| Domain | IP address |
|---|---|
| freewaretipsastro.12hp.at | 91.216.248.20 |
| helgrid-mueller.12hp.at | 91.216.248.20 |
| teiowaaa.12hp.at | 91.216.248.20 |
Domain,IP address
freewaretipsastro.12hp.at,91.216.248.20
helgrid-mueller.12hp.at,91.216.248.20
teiowaaa.12hp.at,91.216.248.20
On the full Technologies file of 24 Nov 2026: 19,139,902 rows, written in about 3 minutes. That is more rows than one Excel sheet holds.
Works with: Technologies, All data, Domain Investor
Country by IP is where the server stands, as a two-letter code. HTTP status = 200 keeps the sites that answered normally at the last check.
By technology
Watch out: write a technology as it is named on its technology page, with the same capital letters: 'WordPress', 'Shopify', 'Google Analytics'. A name spelled differently matches nothing and gives no error.
The CASE part reads the technology names whatever shape the field has, as explained in Open a .jsonl.zst file.
Sites that use a technology
duckdb <<'SQL'
COPY (
SELECT Domain, "Country by IP" AS Country
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
Technologies: 'JSON', "PR value": 'DOUBLE'})
WHERE list_contains(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END, 'Wix')
ORDER BY "PR value" DESC
) TO 'wix-sites.csv';
SQL
@'
COPY (
SELECT Domain, "Country by IP" AS Country
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
Technologies: 'JSON', "PR value": 'DOUBLE'})
WHERE list_contains(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END, 'Wix')
ORDER BY "PR value" DESC
) TO 'wix-sites.csv';
'@ | duckdb
wix-sites.csv, first 3 of 72 rows on the free sample
| Domain | Country |
|---|---|
| designlab.ac | US |
| arhca.ab.ca | US |
| ausa.ac | US |
Domain,Country
designlab.ac,US
arhca.ab.ca,US
ausa.ac,US
On the full Technologies file of 24 Nov 2026: 7,746,326 rows, written in about 2 minutes. That is more rows than one Excel sheet holds.
Works with: Technologies, All data, Domain Investor
PR valueis webatla's rank of the site in its own link graph.DESCputs the highest first.- A technology slice, like
webatla-technologies-Wix-2026-11-25.jsonl.zst, holds only sites with that technology, so you can drop theWHEREline.
Sites that use two technologies together
duckdb <<'SQL'
COPY (
SELECT Domain, "Country by IP" AS Country
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', Technologies: 'JSON'})
WHERE list_has_all(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END, ['WordPress', 'WooCommerce'])
) TO 'woocommerce-on-wordpress.csv';
SQL
@'
COPY (
SELECT Domain, "Country by IP" AS Country
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', Technologies: 'JSON'})
WHERE list_has_all(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END, ['WordPress', 'WooCommerce'])
) TO 'woocommerce-on-wordpress.csv';
'@ | duckdb
woocommerce-on-wordpress.csv, first 3 of 67 rows on the free sample
| Domain | Country |
|---|---|
| ww-gym.2ix.de | DE |
| witchshop.4lima.at | DE |
| dipcimishra.5g.in |
Domain,Country
ww-gym.2ix.de,DE
witchshop.4lima.at,DE
dipcimishra.5g.in,
On the full Technologies file of 24 Nov 2026: 3,312,227 rows, written in about 3 minutes. That is more rows than one Excel sheet holds.
Works with: Technologies, All data, Domain Investor
list_has_all keeps the sites that have every technology in the brackets. Put as many names there as you like.
Sites that use one technology but not another
duckdb <<'SQL'
COPY (
WITH sites AS (
SELECT Domain, "Country by IP" AS Country, "PR value", CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
Technologies: 'JSON', "PR value": 'DOUBLE'}))
SELECT Domain, Country FROM sites
WHERE list_contains(techs, 'WordPress') AND NOT list_has_any(techs, [
'Yoast SEO', 'Yoast SEO Premium', 'RankMath SEO',
'All in One SEO Pack', 'The SEO Framework'])
ORDER BY "PR value" DESC, Domain
) TO 'wordpress-without-seo-plugin.csv';
SQL
@'
COPY (
WITH sites AS (
SELECT Domain, "Country by IP" AS Country, "PR value", CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
Technologies: 'JSON', "PR value": 'DOUBLE'}))
SELECT Domain, Country FROM sites
WHERE list_contains(techs, 'WordPress') AND NOT list_has_any(techs, [
'Yoast SEO', 'Yoast SEO Premium', 'RankMath SEO',
'All in One SEO Pack', 'The SEO Framework'])
ORDER BY "PR value" DESC, Domain
) TO 'wordpress-without-seo-plugin.csv';
'@ | duckdb
wordpress-without-seo-plugin.csv, first 3 of 367 rows on the free sample
| Domain | Country |
|---|---|
| oipc.ab.ca | CA |
| bre.ac | GB |
| emulator.ac | US |
Domain,Country
oipc.ab.ca,CA
bre.ac,GB
emulator.ac,US
On the full Technologies file of 24 Nov 2026: 13,975,320 rows, written in about 3 minutes. That is more rows than one Excel sheet holds.
Works with: Technologies, All data, Domain Investor
NOT list_has_anydrops a site when any name in the brackets is found on it. Here that leaves WordPress sites where none of these five SEO plugins was found.- Swap the names to fit what you sell, for example sites on
'Wix'without'Google Analytics'. A misspelled name in the brackets matches nothing, so every site gets through. - The WordPress slice gives the same list from a much smaller file: read
webatla-technologies-WordPress-2026-11-25.jsonl.zstinstead.
Sites that run an old version of PHP
duckdb <<'SQL'
COPY (
SELECT Domain, "Country by IP" AS Country,
CASE json_type(Technologies, '$.PHP')
WHEN 'OBJECT' THEN Technologies ->> '$.PHP.version'
WHEN 'VARCHAR' THEN Technologies ->> '$.PHP'
END AS php
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', Technologies: 'JSON'})
WHERE TRY_CAST(string_split(php, '.') AS INTEGER[]) < [8, 2]
ORDER BY TRY_CAST(string_split(php, '.') AS INTEGER[]), Domain
) TO 'old-php.csv';
SQL
@'
COPY (
SELECT Domain, "Country by IP" AS Country,
CASE json_type(Technologies, '$.PHP')
WHEN 'OBJECT' THEN Technologies ->> '$.PHP.version'
WHEN 'VARCHAR' THEN Technologies ->> '$.PHP'
END AS php
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', Technologies: 'JSON'})
WHERE TRY_CAST(string_split(php, '.') AS INTEGER[]) < [8, 2]
ORDER BY TRY_CAST(string_split(php, '.') AS INTEGER[]), Domain
) TO 'old-php.csv';
'@ | duckdb
old-php.csv, first 3 of 176 rows on the free sample
| Domain | Country | php |
|---|---|---|
| datanet.ab.ca | CA | 4.4.7 |
| digsys.0.bg | BG | 4.4.9 |
| edunet.ac | KR | 4.4.9 |
Domain,Country,php
datanet.ab.ca,CA,4.4.7
digsys.0.bg,BG,4.4.9
edunet.ac,KR,4.4.9
On the full Technologies file of 24 Nov 2026: 5,705,525 rows, written in about a minute. That is more rows than one Excel sheet holds.
Works with: Technologies, All data, Domain Investor
- The version comes from the Technologies field. Many sites hide their PHP version and are left out, so the real number of old sites is higher.
< [8, 2]keeps every version older than 8.2, such as 8.1.34 or 7.4.33, and the oldest come first. Check which versions still get security fixes on php.net and change the numbers to the oldest version you still accept.- For another technology, change PHP in all three places and set your own numbers, for example
'$.jQuery','$.jQuery.version'and[3, 5]. A name with spaces goes in double quotes, like'$."Apache HTTP Server".version'.
Online shops on a country domain and their payment providers
duckdb <<'SQL'
COPY (
WITH sites AS (
SELECT Domain, CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {Domain: 'VARCHAR',
TLD: 'VARCHAR', "HTTP status": 'INTEGER', Technologies: 'JSON'})
WHERE TLD = 'ca' AND "HTTP status" = 200)
SELECT Domain, array_to_string([t FOR t IN techs IF t IN ('PayPal', 'Stripe',
'Klarna Checkout', 'Apple Pay', 'Google Pay', 'Shop Pay')], ', ') AS payments
FROM sites WHERE list_has_any(techs, ['Shopify', 'WooCommerce',
'Wix eCommerce', 'Magento', 'PrestaShop', 'Shopware'])
) TO 'canada-shops.csv';
SQL
@'
COPY (
WITH sites AS (
SELECT Domain, CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {Domain: 'VARCHAR',
TLD: 'VARCHAR', "HTTP status": 'INTEGER', Technologies: 'JSON'})
WHERE TLD = 'ca' AND "HTTP status" = 200)
SELECT Domain, array_to_string([t FOR t IN techs IF t IN ('PayPal', 'Stripe',
'Klarna Checkout', 'Apple Pay', 'Google Pay', 'Shop Pay')], ', ') AS payments
FROM sites WHERE list_has_any(techs, ['Shopify', 'WooCommerce',
'Wix eCommerce', 'Magento', 'PrestaShop', 'Shopware'])
) TO 'canada-shops.csv';
'@ | duckdb
canada-shops.csv, first 3 of 18 rows on the free sample
| Domain | payments |
|---|---|
| aasra.ab.ca | |
| abgym.ab.ca | |
| acfa.ab.ca | PayPal |
Domain,payments
aasra.ab.ca,""
abgym.ab.ca,""
acfa.ab.ca,PayPal
On the full Technologies file of 24 Nov 2026: 100,304 rows, written in about 2 minutes.
Works with: Technologies, All data
- A site counts as a shop when it runs on one of the platforms in the last brackets. Add more, for example
'BigCommerce'. TLD = 'ca'keeps shops on Canadian domains. Change it to your market, like'de'. This example does not useCountry by IP, because that is where the server stands, and most Shopify shops show CA there wherever they sell.- The payments column lists the providers found on the site. An empty cell, written
""in the file, means none of them was found. It does not prove the shop takes no payments.
Top technologies on one country's domains
duckdb <<'SQL'
SELECT Technology, count(*) AS websites
FROM (
SELECT unnest(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END) AS Technology
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
TLD: 'VARCHAR', "HTTP status": 'INTEGER', Technologies: 'JSON'})
WHERE TLD = 'ca' AND "HTTP status" = 200)
GROUP BY Technology
ORDER BY websites DESC, Technology
LIMIT 10;
SQL
@'
SELECT Technology, count(*) AS websites
FROM (
SELECT unnest(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END) AS Technology
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
TLD: 'VARCHAR', "HTTP status": 'INTEGER', Technologies: 'JSON'})
WHERE TLD = 'ca' AND "HTTP status" = 200)
GROUP BY Technology
ORDER BY websites DESC, Technology
LIMIT 10;
'@ | duckdb
Output on the free 10K sample
┌────────────────────┬──────────┐
│ Technology │ websites │
│ varchar │ int64 │
├────────────────────┼──────────┤
│ Favicon │ 421 │
│ HTTP/2 │ 337 │
│ Open Graph │ 271 │
│ jQuery │ 271 │
│ Google Analytics │ 232 │
│ Microsoft 365 │ 230 │
│ Apache HTTP Server │ 189 │
│ Google Font API │ 155 │
│ HSTS │ 152 │
│ Cloudflare │ 148 │
└────────────────────┴──────────┘
10 rows 2 columns
On the full Technologies file of 24 Nov 2026 this ran in about a minute.
Works with: Technologies, All data
unnestputs each technology of a site on its own row, so the count is the number of websites that use it.TLD = 'ca'takes Canadian domains. For sites whose servers stand in Canada, use"Country by IP" = 'CA'and name that field incolumns.- The list counts everything the scan detects, building blocks like Favicon or HTTP/2 included.
Compare platforms across TLDs
duckdb <<'SQL'
SELECT TLD,
count(*) FILTER (WHERE list_contains(techs, 'Shopify')) AS Shopify,
count(*) FILTER (WHERE list_contains(techs, 'WooCommerce')) AS WooCommerce,
count(*) FILTER (WHERE list_contains(techs, 'Wix')) AS Wix
FROM (SELECT TLD, CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst',
columns = {TLD: 'VARCHAR', Technologies: 'JSON'}))
GROUP BY TLD
ORDER BY Shopify + WooCommerce + Wix DESC, TLD
LIMIT 5;
SQL
@'
SELECT TLD,
count(*) FILTER (WHERE list_contains(techs, 'Shopify')) AS Shopify,
count(*) FILTER (WHERE list_contains(techs, 'WooCommerce')) AS WooCommerce,
count(*) FILTER (WHERE list_contains(techs, 'Wix')) AS Wix
FROM (SELECT TLD, CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst',
columns = {TLD: 'VARCHAR', Technologies: 'JSON'}))
GROUP BY TLD
ORDER BY Shopify + WooCommerce + Wix DESC, TLD
LIMIT 5;
'@ | duckdb
Output on the free 10K sample
┌──────────┬─────────┬─────────────┬───────┐
│ TLD │ Shopify │ WooCommerce │ Wix │
│ varchar │ int64 │ int64 │ int64 │
├──────────┼─────────┼─────────────┼───────┤
│ ac │ 11 │ 47 │ 41 │
│ ca │ 2 │ 9 │ 21 │
│ abudhabi │ 1 │ 4 │ 4 │
│ br │ 0 │ 2 │ 4 │
│ in │ 1 │ 1 │ 0 │
└──────────┴─────────┴─────────────┴───────┘
On the full Technologies file of 24 Nov 2026 this ran in about a minute.
Works with: Technologies, All data
- Each
count(*) FILTERline counts the sites on one platform. To add one, copy the Shopify line, put the new name in both places and add it to the sum inORDER BY. Wixcounts every site built on Wix. For Wix online stores only, use'Wix eCommerce'.
Technologies of the top-ranked sites
duckdb <<'SQL'
WITH top AS (
SELECT CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Technologies: 'JSON', "PR value": 'DOUBLE'})
WHERE len(techs) > 0
ORDER BY "PR value" DESC
LIMIT 1000
)
SELECT Technology, count(*) AS sites
FROM (SELECT unnest(techs) AS Technology FROM top)
GROUP BY Technology
ORDER BY sites DESC, Technology
LIMIT 10;
SQL
@'
WITH top AS (
SELECT CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END AS techs
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Technologies: 'JSON', "PR value": 'DOUBLE'})
WHERE len(techs) > 0
ORDER BY "PR value" DESC
LIMIT 1000
)
SELECT Technology, count(*) AS sites
FROM (SELECT unnest(techs) AS Technology FROM top)
GROUP BY Technology
ORDER BY sites DESC, Technology
LIMIT 10;
'@ | duckdb
Output on the free 10K sample
┌──────────────────────────┬───────┐
│ Technology │ sites │
│ varchar │ int64 │
├──────────────────────────┼───────┤
│ Favicon │ 529 │
│ Cloudflare │ 441 │
│ HTTP/2 │ 391 │
│ Google Site Verification │ 387 │
│ Open Graph │ 366 │
│ jQuery │ 328 │
│ HTTP/3 │ 305 │
│ HSTS │ 297 │
│ Google Analytics │ 243 │
│ Nginx │ 208 │
└──────────────────────────┴───────┘
10 rows 2 columns
On the full Technologies file of 24 Nov 2026 this ran in about 2 minutes.
Works with: Technologies, All data
- The first part keeps the 1,000 sites with the highest
PR valueamong the sites where at least one technology was found. Change1000for a smaller or larger top. sitesis out of 1,000, so 441 means that 44% of the top sites use Cloudflare.
By registration and expiry
Dates are text like 2026-11-20T14:04:04, so comparing with '2026-11-01' works as expected, and [:10] keeps just the date. Registration and expiry dates are in RDAP & WHOIS, Websites + Ranking, Technologies, All data and Domain Investor. The registrar name is in RDAP & WHOIS, All data and Domain Investor.
Domains registered recently
duckdb <<'SQL'
COPY (
SELECT Domain, "Domain creation date"[:10] AS created, Registrar
FROM read_json('rdap-whois-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain creation date": 'VARCHAR', Registrar: 'VARCHAR'})
WHERE "Domain creation date" >= '2026-11-01'
ORDER BY created DESC, Domain
) TO 'new-domains.csv';
SQL
@'
COPY (
SELECT Domain, "Domain creation date"[:10] AS created, Registrar
FROM read_json('rdap-whois-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain creation date": 'VARCHAR', Registrar: 'VARCHAR'})
WHERE "Domain creation date" >= '2026-11-01'
ORDER BY created DESC, Domain
) TO 'new-domains.csv';
'@ | duckdb
new-domains.csv, first 3 of 64 rows on the free sample
| Domain | created | Registrar |
|---|---|---|
| direct-bill-erprm.site | 2026-11-20 | GoDaddy.com, LLC |
| outletclearance.buzz | 2026-11-20 | GoDaddy.com, LLC |
| letmeconnectyou.org | 2026-11-16 | GoDaddy.com, LLC |
Domain,created,Registrar
direct-bill-erprm.site,2026-11-20,"GoDaddy.com, LLC"
outletclearance.buzz,2026-11-20,"GoDaddy.com, LLC"
letmeconnectyou.org,2026-11-16,"GoDaddy.com, LLC"
Works with: RDAP & WHOIS, All data
Set the date to the first day you want. The newest registrations come first.
Domains that expire soon
duckdb <<'SQL'
COPY (
SELECT Domain, "Domain expiration date"[:10] AS expires, Registrar
FROM read_json('rdap-whois-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain expiration date": 'VARCHAR', Registrar: 'VARCHAR'})
WHERE "Domain expiration date"[:10] BETWEEN '2026-12-01' AND '2026-12-31'
ORDER BY expires, Domain
) TO 'expiring-december.csv';
SQL
@'
COPY (
SELECT Domain, "Domain expiration date"[:10] AS expires, Registrar
FROM read_json('rdap-whois-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain expiration date": 'VARCHAR', Registrar: 'VARCHAR'})
WHERE "Domain expiration date"[:10] BETWEEN '2026-12-01' AND '2026-12-31'
ORDER BY expires, Domain
) TO 'expiring-december.csv';
'@ | duckdb
expiring-december.csv, first 3 of 904 rows on the free sample
| Domain | expires | Registrar |
|---|---|---|
| 4point19.fr | 2026-12-01 | OVH |
| 66904.xyz | 2026-12-01 | Gname.com Pte. Ltd. |
| cookiesnco.online | 2026-12-01 | Network Solutions LLC |
Domain,expires,Registrar
4point19.fr,2026-12-01,OVH
66904.xyz,2026-12-01,Gname.com Pte. Ltd.
cookiesnco.online,2026-12-01,Network Solutions LLC
Works with: RDAP & WHOIS, All data
Set the two dates in BETWEEN to the period you watch. Both days are included.
Expired domains
Every domain in the Domain Investor file has already expired. It keeps the rank, technologies and DNS the domain had, which is what these examples sort and filter by.
Short domain names that have expired
duckdb <<'SQL'
COPY (
SELECT Domain, "Domain expiration date"[:10] AS expires, Registrar
FROM read_json('domain-investor-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "TLD suffix": 'VARCHAR',
"Domain expiration date": 'VARCHAR', Registrar: 'VARCHAR'})
WHERE regexp_full_match(left(Domain, len(Domain) - len("TLD suffix") - 1), '[a-z]{1,4}')
ORDER BY len(Domain), Domain
) TO 'short-domains.csv';
SQL
@'
COPY (
SELECT Domain, "Domain expiration date"[:10] AS expires, Registrar
FROM read_json('domain-investor-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "TLD suffix": 'VARCHAR',
"Domain expiration date": 'VARCHAR', Registrar: 'VARCHAR'})
WHERE regexp_full_match(left(Domain, len(Domain) - len("TLD suffix") - 1), '[a-z]{1,4}')
ORDER BY len(Domain), Domain
) TO 'short-domains.csv';
'@ | duckdb
short-domains.csv, first 3 of 1,494 rows on the free sample
| Domain | expires | Registrar |
|---|---|---|
| aaa.ac | 2026-11-20 | Dynadot Inc |
| aai.ac | 2026-10-31 | CommuniGal Communication Ltd. |
| abi.ac | 2026-08-24 | GoDaddy.com, LLC |
Domain,expires,Registrar
aaa.ac,2026-11-20,Dynadot Inc
aai.ac,2026-10-31,CommuniGal Communication Ltd.
abi.ac,2026-08-24,"GoDaddy.com, LLC"
Works with: Domain Investor
left(...)cuts off the ending, like .ac or .co.uk, so only the name is checked.[a-z]{1,4}keeps names of one to four letters with no digits or hyphens. Change 4 to the longest name you want. The shortest names come first.
Recently expired domains with the highest PR value
duckdb <<'SQL'
COPY (
SELECT Domain, "Domain expiration date"[:10] AS expires, "PR value", Registrar
FROM read_json('domain-investor-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain expiration date": 'VARCHAR',
"PR value": 'DOUBLE', Registrar: 'VARCHAR'})
WHERE "PR value" > 0
AND "Domain expiration date" >= '2026-11-01'
ORDER BY "PR value" DESC, Domain
LIMIT 1000
) TO 'expired-top-pr.csv';
SQL
@'
COPY (
SELECT Domain, "Domain expiration date"[:10] AS expires, "PR value", Registrar
FROM read_json('domain-investor-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain expiration date": 'VARCHAR',
"PR value": 'DOUBLE', Registrar: 'VARCHAR'})
WHERE "PR value" > 0
AND "Domain expiration date" >= '2026-11-01'
ORDER BY "PR value" DESC, Domain
LIMIT 1000
) TO 'expired-top-pr.csv';
'@ | duckdb
expired-top-pr.csv, first 3 of 659 rows on the free sample
| Domain | expires | PR value | Registrar |
|---|---|---|---|
| cemastea.ac.ke | 2026-11-21 | 4.15376338168866e-08 | Kenya Education Network |
| umpr.ac.id | 2026-11-19 | 3.902849283414734e-08 | PT Jagat Informasi Solusi |
| umt.ac.id | 2026-11-23 | 3.889236931562164e-08 | PT JC Indonesia |
Domain,expires,PR value,Registrar
cemastea.ac.ke,2026-11-21,4.15376338168866e-08,Kenya Education Network
umpr.ac.id,2026-11-19,3.902849283414734e-08,PT Jagat Informasi Solusi
umt.ac.id,2026-11-23,3.889236931562164e-08,PT JC Indonesia
Works with: Domain Investor
"PR value" > 0skips domains with no rank, andLIMIT 1000keeps the top 1,000.- The date line keeps the names that expired on 1 November 2026 or later. Change it to look further back.
- A name that expired a few weeks ago may still be renewed by its owner before it drops.
Old domains that expired recently
duckdb <<'SQL'
COPY (
SELECT Domain, "Domain creation date"[:10] AS created,
"Domain expiration date"[:10] AS expires
FROM read_json('domain-investor-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain creation date": 'VARCHAR',
"Domain expiration date": 'VARCHAR'})
WHERE "Domain creation date" < '2005-01-01'
AND "Domain expiration date" >= '2026-10-01'
ORDER BY created, Domain
) TO 'aged-domains.csv';
SQL
@'
COPY (
SELECT Domain, "Domain creation date"[:10] AS created,
"Domain expiration date"[:10] AS expires
FROM read_json('domain-investor-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Domain creation date": 'VARCHAR',
"Domain expiration date": 'VARCHAR'})
WHERE "Domain creation date" < '2005-01-01'
AND "Domain expiration date" >= '2026-10-01'
ORDER BY created, Domain
) TO 'aged-domains.csv';
'@ | duckdb
aged-domains.csv, first 3 of 13 rows on the free sample
| Domain | created | expires |
|---|---|---|
| dpc.ac.kr | 1989-12-31 | 2026-10-14 |
| sd-c.ac.kr | 1997-10-05 | 2026-10-14 |
| cwunet.ac.kr | 1998-07-05 | 2026-10-14 |
Domain,created,expires
dpc.ac.kr,1989-12-31,2026-10-14
sd-c.ac.kr,1997-10-05,2026-10-14
cwunet.ac.kr,1998-07-05,2026-10-14
Works with: Domain Investor
This keeps the domains first registered before 2005 that expired on 1 October 2026 or later. Move both dates to set the age and the window.
DNS, email and hosting
DNS Status = 'TRUE' keeps domains whose DNS answered at the last check. The DNS dataset holds only those domains, All data holds every domain.
Companies that use Google Workspace for email
duckdb <<'SQL'
COPY (
SELECT Domain
FROM read_json('dns-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "DNS Status": 'VARCHAR', "DNS records": 'JSON'})
WHERE "DNS Status" = 'TRUE'
AND len([h FOR h IN json_extract_string("DNS records", '$.MX[*].host')
IF lower(h) LIKE '%.google.com' OR lower(h) LIKE '%.googlemail.com']) > 0
) TO 'google-workspace.txt' (HEADER false);
SQL
@'
COPY (
SELECT Domain
FROM read_json('dns-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "DNS Status": 'VARCHAR', "DNS records": 'JSON'})
WHERE "DNS Status" = 'TRUE'
AND len([h FOR h IN json_extract_string("DNS records", '$.MX[*].host')
IF lower(h) LIKE '%.google.com' OR lower(h) LIKE '%.googlemail.com']) > 0
) TO 'google-workspace.txt' (HEADER false);
'@ | duckdb
google-workspace.txt, first 3 of 676 rows on the free sample
edu5.0.bg
shopping.9guacu.br
ffe.a.se
On the full DNS file of 24 Nov 2026: 22,665,347 rows, written in about 6 minutes.
Works with: DNS, All data, Domain Investor
This keeps domains whose mail servers (MX records) end in google.com or googlemail.com. For Microsoft 365, use '%.mail.protection.outlook.com'.
Domains that receive email but have no DMARC
duckdb <<'SQL'
COPY (
SELECT Domain
FROM read_json('dns-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', TLD: 'VARCHAR', "DNS Status": 'VARCHAR',
"DNS last data checked": 'VARCHAR', "DNS records": 'JSON'})
WHERE TLD = 'ca' AND "DNS Status" = 'TRUE'
AND "DNS last data checked" >= '2026-11-03'
AND json_array_length("DNS records", '$.MX') > 0
AND json_extract("DNS records", '$.NULL_MX') IS NULL
AND json_extract("DNS records", '$.DMARC') IS NULL
AND NOT list_contains(json_extract_string("DNS records", '$.PARTIAL[*]'), 'DMARC')
) TO 'ca-no-dmarc.txt' (HEADER false);
SQL
@'
COPY (
SELECT Domain
FROM read_json('dns-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', TLD: 'VARCHAR', "DNS Status": 'VARCHAR',
"DNS last data checked": 'VARCHAR', "DNS records": 'JSON'})
WHERE TLD = 'ca' AND "DNS Status" = 'TRUE'
AND "DNS last data checked" >= '2026-11-03'
AND json_array_length("DNS records", '$.MX') > 0
AND json_extract("DNS records", '$.NULL_MX') IS NULL
AND json_extract("DNS records", '$.DMARC') IS NULL
AND NOT list_contains(json_extract_string("DNS records", '$.PARTIAL[*]'), 'DMARC')
) TO 'ca-no-dmarc.txt' (HEADER false);
'@ | duckdb
ca-no-dmarc.txt, first 3 of 314 rows on the free sample
1660.ab.ca
4h.ab.ca
aaaf.ab.ca
On the full DNS file of 24 Nov 2026: 1,068,377 rows, written in about 6 minutes.
Works with: DNS, All data, Domain Investor
- DMARC tells mail services what to do with mail that fakes a domain. This keeps domains that have mail servers but no DMARC record, and skips those that refuse all mail (Null MX).
- webatla has read DMARC records since 2 November 2026, so the date line skips domains last checked before that. For them a missing DMARC tells you nothing.
PARTIALnames the parts of a check that did not finish. A domain whose DMARC lookup did not finish is left out.
Domains hosted on one network
duckdb <<'SQL'
COPY (
SELECT Domain, coalesce(json_extract_string("DNS records", '$.A[0]'),
json_extract_string("DNS records", '$.WWW.A[0]')) AS ip
FROM read_json('dns-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "DNS Status": 'VARCHAR', "DNS records": 'JSON'})
WHERE "DNS Status" = 'TRUE'
AND json_extract_string("DNS records", '$.ASN.number') = '24940'
) TO 'as24940-domains.csv';
SQL
@'
COPY (
SELECT Domain, coalesce(json_extract_string("DNS records", '$.A[0]'),
json_extract_string("DNS records", '$.WWW.A[0]')) AS ip
FROM read_json('dns-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "DNS Status": 'VARCHAR', "DNS records": 'JSON'})
WHERE "DNS Status" = 'TRUE'
AND json_extract_string("DNS records", '$.ASN.number') = '24940'
) TO 'as24940-domains.csv';
'@ | duckdb
as24940-domains.csv, first 3 of 135 rows on the free sample
| Domain | ip |
|---|---|
| ddns.abc.br | 5.9.68.7 |
| colgado.abogado | 46.225.47.134 |
| granada.abogado | 5.75.152.64 |
Domain,ip
ddns.abc.br,5.9.68.7
colgado.abogado,46.225.47.134
granada.abogado,5.75.152.64
On the full DNS file of 24 Nov 2026: 5,765,619 rows, written in about 6 minutes. That is more rows than one Excel sheet holds.
Works with: DNS, All data, Domain Investor
- Every network on the internet has a number, its ASN. 24940 is Hetzner, 16509 is Amazon and 13335 is Cloudflare. Cloudflare stands in front of the sites that use it, so 13335 lists Cloudflare customers, not where their servers are.
- Large providers have more than one number. For both Amazon networks write
IN ('16509', '14618')in place of= '24940'. ipis the first IPv4 address of the domain, or of its www name when the domain itself has none.
Domains with no working DNS
duckdb <<'SQL'
COPY (
SELECT Domain, Registrar, "Domain expiration date"[:10] AS expires,
"DNS last data checked" AS dns_checked
FROM read_json('all-data-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', TLD: 'VARCHAR', "DNS Status": 'VARCHAR',
"DNS last data checked": 'VARCHAR', Registrar: 'VARCHAR',
"Domain expiration date": 'VARCHAR'})
WHERE TLD = 'ca' AND "DNS Status" = 'FALSE'
) TO 'ca-no-working-dns.csv';
SQL
@'
COPY (
SELECT Domain, Registrar, "Domain expiration date"[:10] AS expires,
"DNS last data checked" AS dns_checked
FROM read_json('all-data-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', TLD: 'VARCHAR', "DNS Status": 'VARCHAR',
"DNS last data checked": 'VARCHAR', Registrar: 'VARCHAR',
"Domain expiration date": 'VARCHAR'})
WHERE TLD = 'ca' AND "DNS Status" = 'FALSE'
) TO 'ca-no-working-dns.csv';
'@ | duckdb
ca-no-working-dns.csv, first 3 of 83 rows on the free sample
| Domain | Registrar | expires | dns_checked |
|---|---|---|---|
| aari.ab.ca | Rebel.ca Corp. | 2026-12-16 | 2026-11-17 |
| aeri.ab.ca | Rebel.ca Corp. | 2026-12-01 | 2026-11-22 |
| alberta-learning.ab.ca | Webnames.ca Inc. | 2027-01-28 | 2026-11-18 |
Domain,Registrar,expires,dns_checked
aari.ab.ca,Rebel.ca Corp.,2026-12-16,2026-11-17
aeri.ab.ca,Rebel.ca Corp.,2026-12-01,2026-11-22
alberta-learning.ab.ca,Webnames.ca Inc.,2027-01-28,2026-11-18
On the full All data file of 24 Nov 2026: 424,176 rows, written in about 8 minutes.
Works with: All data
DNS Status = 'FALSE'means the last DNS check found nothing working: the domain was missing from DNS, had no records, or its name servers did not answer.dns_checkedis the day of that check, so a short outage can put a working domain on this list.
Websites that answer with a server error
duckdb <<'SQL'
COPY (
SELECT Domain, "HTTP status", "Technologies last data checked"[:10] AS checked
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "HTTP status": 'INTEGER',
"Technologies last data checked": 'VARCHAR'})
WHERE "HTTP status" BETWEEN 500 AND 599
AND "Technologies last data checked" >= '2026-11-01'
) TO 'server-errors.csv';
SQL
@'
COPY (
SELECT Domain, "HTTP status", "Technologies last data checked"[:10] AS checked
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "HTTP status": 'INTEGER',
"Technologies last data checked": 'VARCHAR'})
WHERE "HTTP status" BETWEEN 500 AND 599
AND "Technologies last data checked" >= '2026-11-01'
) TO 'server-errors.csv';
'@ | duckdb
server-errors.csv, first 3 of 251 rows on the free sample
| Domain | HTTP status | checked |
|---|---|---|
| marthasfashiondolls.123hjemmeside.dk | 503 | 2026-11-10 |
| deutsch-nachhilfe-wien.12hp.at | 503 | 2026-11-15 |
| englischnachhilfewien.12hp.at | 503 | 2026-11-17 |
Domain,HTTP status,checked
marthasfashiondolls.123hjemmeside.dk,503,2026-11-10
deutsch-nachhilfe-wien.12hp.at,503,2026-11-15
englischnachhilfewien.12hp.at,503,2026-11-17
On the full Technologies file of 24 Nov 2026: 5,008,910 rows, written in about a minute. That is more rows than one Excel sheet holds.
Works with: Technologies, All data, Domain Investor
- Codes from 500 to 599 mean the server failed to deliver the page. Codes 520 to 527 and 530 come from Cloudflare when the server behind it did not answer properly.
checkedis the day of the last check. Some checks are months old, so the date line keeps checks from November on.- A status is the answer at one visit, so a short outage looks the same as a site that is down. For sites that answer with a redirect, write
BETWEEN 300 AND 399.
Your brand and your own list
Domains that look like your brand
duckdb <<'SQL'
COPY (
SELECT Domain
FROM read_json('all-active-domains-2026-11-25.jsonl.zst',
columns = {Domain: 'VARCHAR'})
WHERE contains(Domain, 'coinbase')
OR damerau_levenshtein(split_part(Domain, '.', 1), 'coinbase') <= 1
) TO 'coinbase-lookalikes.txt' (HEADER false);
SQL
@'
COPY (
SELECT Domain
FROM read_json('all-active-domains-2026-11-25.jsonl.zst',
columns = {Domain: 'VARCHAR'})
WHERE contains(Domain, 'coinbase')
OR damerau_levenshtein(split_part(Domain, '.', 1), 'coinbase') <= 1
) TO 'coinbase-lookalikes.txt' (HEADER false);
'@ | duckdb
coinbase-lookalikes.txt, all 2 rows on the free sample
coinbase.ac
colnbase.ac
On the full All active domains file of 24 Nov 2026: 13,559 rows, written in about 2 minutes.
Works with: every dataset
containskeeps every domain with the brand anywhere in its name.damerau_levenshteinadds names one typo away, with one letter changed, added or dropped, or two letters next to each other swapped, like colnbase.ac.- Write the brand in lowercase in both places, because domains are stored in lowercase. The typo check looks only at the name before the first dot.
- For a brand of three or four letters, the typo check catches many unrelated names. Keep only the
containsline then.
Add webatla data to your own list of domains
Save your list as my-domains.csv in the folder with the dataset file. It needs a header line and a column called domain, other columns are kept as they are. This is the list used below:
my-domains.csv
domain
interface.ac
mdy.ac
lla.ac
minirent.ac
absent-domain.exampleduckdb <<'SQL'
SET disabled_optimizers = 'build_side_probe_side';
COPY (
SELECT mine.*, "Country by IP" AS Country, "HTTP status",
array_to_string(list_sort(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END), ', ') AS Technologies
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
"HTTP status": 'INTEGER', Technologies: 'JSON'}) webatla
RIGHT JOIN read_csv('my-domains.csv', header = true, all_varchar = true) mine
ON webatla.Domain = lower(trim(mine.domain))
ORDER BY mine.domain
) TO 'my-domains-enriched.csv';
SQL
@'
SET disabled_optimizers = 'build_side_probe_side';
COPY (
SELECT mine.*, "Country by IP" AS Country, "HTTP status",
array_to_string(list_sort(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END), ', ') AS Technologies
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
"HTTP status": 'INTEGER', Technologies: 'JSON'}) webatla
RIGHT JOIN read_csv('my-domains.csv', header = true, all_varchar = true) mine
ON webatla.Domain = lower(trim(mine.domain))
ORDER BY mine.domain
) TO 'my-domains-enriched.csv';
'@ | duckdb
my-domains-enriched.csv, first 3 of 5 rows on the free sample
| domain | Country | HTTP status | Technologies |
|---|---|---|---|
| absent-domain.example | |||
| interface.ac | US | 200 | Apache HTTP Server, MySQL, PHP, WordPress |
| lla.ac | NO | 200 | Drupal, Favicon, HSTS, PHP |
domain,Country,HTTP status,Technologies
absent-domain.example,,,
interface.ac,US,200,"Apache HTTP Server, MySQL, PHP, WordPress"
lla.ac,NO,200,"Drupal, Favicon, HSTS, PHP"
On the full Technologies file of 24 Nov 2026: 5 rows, written in about a minute.
Works with: Technologies, All data, Domain Investor
- The first line makes DuckDB keep your list in memory and read the big file past it. Without it, DuckDB can try to hold the whole dataset file in memory.
- A domain webatla has no row for comes back with empty columns, like absent-domain.example here.
- If the column has another name, like site, change
mine.domaintomine.sitein both places.
Rank, counts and samples
Top sites by rank
duckdb <<'SQL'
SELECT Domain, "Country by IP" AS Country, "PR value"
FROM read_json('websites-ranking-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', "PR value": 'DOUBLE'})
ORDER BY "PR value" DESC
LIMIT 5;
SQL
@'
SELECT Domain, "Country by IP" AS Country, "PR value"
FROM read_json('websites-ranking-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', "PR value": 'DOUBLE'})
ORDER BY "PR value" DESC
LIMIT 5;
'@ | duckdb
Output on the free 10K sample
┌───────────┬─────────┬────────────────────────┐
│ Domain │ Country │ PR value │
│ varchar │ varchar │ double │
├───────────┼─────────┼────────────────────────┤
│ method.ac │ DE │ 1.534142756992469e-06 │
│ nic.ac │ US │ 1.435847519350729e-06 │
│ ctt.ac │ DE │ 1.183889044588779e-06 │
│ gov.ab.ca │ CA │ 1.1834539495805264e-06 │
│ disco.ac │ US │ 8.582551275902863e-07 │
└───────────┴─────────┴────────────────────────┘
On the full Websites + Ranking file of 24 Nov 2026 this ran in under a minute.
Works with: Websites + Ranking, Technologies, All data, Domain Investor
This prints in the terminal. To save more rows, raise LIMIT and write to a file as in the other examples: put the query, without its last semicolon, inside COPY ( … ) TO 'top-sites.csv';.
Top 10 sites in every country
duckdb <<'SQL'
COPY (
SELECT "Country by IP" AS Country, Domain, "PR value"
FROM read_json('websites-ranking-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', "PR value": 'DOUBLE'})
WHERE "Country by IP" IS NOT NULL AND "PR value" > 0
QUALIFY row_number() OVER (
PARTITION BY "Country by IP" ORDER BY ("PR value", Domain) DESC) <= 10
ORDER BY Country, "PR value" DESC, Domain
) TO 'top-10-per-country.csv';
SQL
@'
COPY (
SELECT "Country by IP" AS Country, Domain, "PR value"
FROM read_json('websites-ranking-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR', "PR value": 'DOUBLE'})
WHERE "Country by IP" IS NOT NULL AND "PR value" > 0
QUALIFY row_number() OVER (
PARTITION BY "Country by IP" ORDER BY ("PR value", Domain) DESC) <= 10
ORDER BY Country, "PR value" DESC, Domain
) TO 'top-10-per-country.csv';
'@ | duckdb
top-10-per-country.csv, first 3 of 352 rows on the free sample
| Country | Domain | PR value |
|---|---|---|
| AE | mediaoffice.abudhabi | 3.857582459883124e-07 |
| AE | tamm.abudhabi | 3.28443809340547e-07 |
| AE | baita.ac | 2.8498257152862e-07 |
Country,Domain,PR value
AE,mediaoffice.abudhabi,3.857582459883124e-07
AE,tamm.abudhabi,3.28443809340547e-07
AE,baita.ac,2.8498257152862e-07
On the full Websites + Ranking file of 24 Nov 2026: 2,315 rows, written in about 2 minutes.
Works with: Websites + Ranking, Technologies, All data, Domain Investor
row_number() … <= 10keeps the 10 sites with the highest PR value in each country. Change 10 to the number you need.- Keep the brackets around
("PR value", Domain). They settle ties by domain name, so every run gives the same list, and they let DuckDB keep only the top 10 of each country while it reads. Country by IPis where the server stands, not where the company is.
Count websites per country
duckdb <<'SQL'
SELECT "Country by IP" AS Country, count(*) AS websites
FROM read_json('websites-ranking-2026-11-25.jsonl.zst',
columns = {"Country by IP": 'VARCHAR'})
WHERE "Country by IP" IS NOT NULL
GROUP BY Country
ORDER BY websites DESC
LIMIT 5;
SQL
@'
SELECT "Country by IP" AS Country, count(*) AS websites
FROM read_json('websites-ranking-2026-11-25.jsonl.zst',
columns = {"Country by IP": 'VARCHAR'})
WHERE "Country by IP" IS NOT NULL
GROUP BY Country
ORDER BY websites DESC
LIMIT 5;
'@ | duckdb
Output on the free 10K sample
┌─────────┬──────────┐
│ Country │ websites │
│ varchar │ int64 │
├─────────┼──────────┤
│ US │ 5997 │
│ DE │ 946 │
│ CA │ 521 │
│ AE │ 444 │
│ JP │ 275 │
└─────────┴──────────┘
On the full Websites + Ranking file of 24 Nov 2026 this ran in under a minute.
Works with: Websites + Ranking, Technologies, All data, Domain Investor
The same pattern counts anything: swap "Country by IP" for TLD or "HTTP status", and name that field in columns.
A random sample for a quick look
duckdb <<'SQL'
COPY (
SELECT Domain, "Country by IP" AS Country, "HTTP status",
array_to_string(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END, ', ') AS Technologies
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
"HTTP status": 'INTEGER', Technologies: 'JSON'})
USING SAMPLE 1000 ROWS (reservoir, 42)
) TO 'sample-1000.csv';
SQL
@'
COPY (
SELECT Domain, "Country by IP" AS Country, "HTTP status",
array_to_string(CASE json_type(Technologies)
WHEN 'OBJECT' THEN json_keys(Technologies)
WHEN 'ARRAY' THEN from_json(Technologies, '["VARCHAR"]')
END, ', ') AS Technologies
FROM read_json('technologies-2026-11-25.jsonl.zst', columns = {
Domain: 'VARCHAR', "Country by IP": 'VARCHAR',
"HTTP status": 'INTEGER', Technologies: 'JSON'})
USING SAMPLE 1000 ROWS (reservoir, 42)
) TO 'sample-1000.csv';
'@ | duckdb
sample-1000.csv, first 3 of 1,000 rows on the free sample
| Domain | Country | HTTP status | Technologies |
|---|---|---|---|
| foundation.ac | US | 404 | HTTP/2 |
| 973.5g.in | 410 | Caddy | |
| balls.ac | US | 200 | Nginx, Ubuntu |
Domain,Country,HTTP status,Technologies
foundation.ac,US,404,HTTP/2
973.5g.in,,410,Caddy
balls.ac,US,200,"Nginx, Ubuntu"
On the full Technologies file of 24 Nov 2026: 1,000 rows, written in about 3 minutes.
Works with: Technologies, All data, Domain Investor
- The first rows of a file are not typical of the whole file. This takes 1,000 rows at random from all of it, so it reads the whole file.
42fixes the draw: the same number gives the same rows from the same file. Change it to get other rows.
More ready answers, with jq, PostgreSQL and Parquet too, are in How to use the files.
If something does not work
| What you see | What it means | What to do |
|---|---|---|
command not found: duckdb The term 'duckdb' is not recognized |
DuckDB is not installed, or this terminal window was open before the install. | Install it, then open a new terminal window. |
IO Error:
No files found that match the pattern "all-data-2025-01-01.jsonl.zst" |
There is no file with that name in this folder. Usually the date in the name differs from your file's, or the terminal is in another folder. | Run the check from Before you start and copy the exact name. |
Binder Error:
Referenced column "Country by IP" not found in FROM clause! |
The query uses a field that is not named in columns = {…}. |
Add the field to columns. |
Binder Error:
Referenced column "DE" not found in FROM clause! |
A value without quotes, so DuckDB reads it as a field name. | Put text values in single quotes, like 'DE'. |
Parser Error:
unterminated string literal |
A quote is missing. | Check that every ' has a pair. |
| An empty file or 0 rows, and no error | A value that matches nothing: TLDs are in lowercase ('ca'), countries in capitals ('DE'), technologies exactly as on their page ('WordPress'). Or your file does not have a field the example reads, and DuckDB leaves that field empty. |
Fix the value and run the command again, or check Works with under the example. |
The terminal shows heredoc>, > or >> and waits |
The last line of the block was not pasted, so the terminal waits for the rest. | Press Ctrl + C, then copy and paste the whole block again. |