Download latest list of registered domains for .CL zone

551,467 registered domains — Last update: 04 Jul 2026

.CL domain list file

Domain list for .CL zone - full list of registered domain names for the zone

  • Daily updated data — last update: 04 Jul 2026
  • Total domains in the list: 551,467
  • File size: 2.3 MB
  • Download from website (with one mouse click!)
  • Download via simple HTTP REST API (automate!)

Sample data: Show

Contents

1. Quick Facts

Total Zone Volume
551,467
Registered domains
New Today
0
Registrations / 24h
Daily Churn
0
Expired domains / 24h

2. Daily Domain Statistics - Last 90 days

Date Total domains New Deleted
2026-07-04 551,467 0 0
2026-07-03 551,467 0 0
2026-07-02 551,467 0 0
2026-07-01 551,467 0 0
2026-06-30 551,467 0 0
2026-06-29 551,467 0 0
2026-06-28 551,467 0 0
2026-06-27 551,467 0 0
2026-06-26 551,467 0 0
2026-06-25 551,467 0 0
2026-06-24 551,467 0 0
2026-06-23 551,467 + 19 0
2026-06-22 551,448 + 96 0
2026-06-21 551,352 + 25 0
2026-06-20 551,327 + 14 0
2026-06-19 551,313 + 853 0
2026-06-18 550,460 + 1 0
2026-06-17 550,459 + 83 0
2026-06-16 550,376 + 4 0
2026-06-15 550,372 + 95 0
2026-06-14 550,277 + 19 0
2026-06-13 550,258 + 121 0
2026-06-12 550,137 0 0
2026-06-11 550,137 + 640 0
2026-06-10 549,497 + 484 0
2026-06-09 549,013 0 0
2026-06-08 549,013 + 108 0
2026-06-07 548,905 + 33 0
2026-06-06 548,872 + 16 0
2026-06-05 548,856 + 899 0
2026-06-04 547,957 + 71 0
2026-06-03 547,886 + 142 0
2026-06-02 547,744 0 0
2026-06-01 547,744 + 95 0
2026-05-31 547,649 + 106 0
2026-05-30 547,543 + 78 0
2026-05-29 547,465 0 0
2026-05-28 547,465 + 87 0
2026-05-27 547,378 + 91 0
2026-05-26 547,287 + 21 0
2026-05-25 547,266 + 64 0
2026-05-24 547,202 + 207 0
2026-05-23 546,995 + 50 0
2026-05-22 546,945 + 7 0
2026-05-21 546,938 + 58 0
2026-05-20 546,880 + 82 0
2026-05-19 546,798 + 756 0
2026-05-18 546,042 0 0
2026-05-17 546,042 + 141 0
2026-05-16 545,901 + 11 0
2026-05-15 545,890 + 576 0
2026-05-14 545,314 + 106 0
2026-05-13 545,208 0 0
2026-05-12 545,208 0 0
2026-05-11 545,208 + 250 0
2026-05-10 544,958 0 0
2026-05-09 544,958 + 139 0
2026-05-08 544,819 + 79 0
2026-05-07 544,740 + 6 0
2026-05-06 544,734 + 184 0
2026-05-05 544,550 + 933 0
2026-05-04 543,617 0 0
2026-05-03 543,617 + 107 0
2026-05-02 543,510 + 71 0
2026-05-01 543,439 + 65 0
2026-04-30 543,374 + 45 0
2026-04-29 543,329 + 47 0
2026-04-28 543,282 + 169 0
2026-04-27 543,113 + 236 0
2026-04-25 542,877 + 98 0
2026-04-24 542,779 + 9 0
2026-04-23 542,770 + 164 0
2026-04-22 542,606 + 87 0
2026-04-21 542,519 + 34 0
2026-04-20 542,485 + 26 0
2026-04-19 542,459 + 866 0
2026-04-18 541,593 + 135 0
2026-04-17 541,458 + 16 0
2026-04-16 541,442 + 58 0
2026-04-15 541,384 + 590 0
2026-04-14 540,794 + 121 0
2026-04-13 540,673 + 130 0
2026-04-12 540,543 + 1 0
2026-04-11 540,542 + 171 0
2026-04-10 540,371 + 3 0
2026-04-09 540,368 + 55 0
2026-04-08 540,313 + 163 0
2026-04-07 540,150 + 184 0
2026-04-06 539,966 + 3 0
2026-04-05 539,963 + 70 0

3. Zone Details: .cl

The .cl country-code top-level domain is Chile's official ccTLD, administered by NIC Chile. It allows direct second-level registrations and is widely adopted by domestic companies, NGOs, media outlets, and personal sites. Registration is generally accessible to individuals and entities without strict local-presence requirements.

Typical use cases include local e-commerce, Spanish-language content, professional service firms, regional startups, news portals, and community organizations targeting Chilean audiences. Choosing .cl signals a Chile-focused identity and tends to increase recognition and trust among local customers and partners.

Organizations select .cl for clear market targeting, regulatory alignment, and to communicate local operations or support. Government and educational bodies often use specific second-level namespaces (for example, .gob.cl and .edu.cl). Before registering, consider trademark checks and the registry's dispute and policy rules.

Related zones:

Zone Name cl
Zone Type ccTLD
Assigned by IANA YES
Public registrations allowed YES
WHOIS Server whois.nic.cl
RDAP Server
Managing Organization NIC Chile (University of Chile)
Organization Address Miraflores 222, Piso 14
Santiago RM 832-0198
Chile

4. Historical Domain Lists for .cl zone

Access the archive of historical .CL domain lists and analyze how domains in the .CL namespace have evolved over time. Historical domain data helps researchers and engineers study domain growth, DNS infrastructure changes, and long-term internet trends.

Date Domains File Size Download
2026-07-04 551,467 2.3 MB Download
2026-07-03 551,467 2.3 MB Download
2026-07-02 551,467 2.3 MB Download
2026-07-01 551,467 2.3 MB Download
2026-06-30 551,467 2.3 MB Download
2026-06-29 551,467 2.3 MB Download
2026-06-28 551,467 2.3 MB Download
2026-06-27 551,467 2.3 MB Download
2026-06-26 551,467 2.3 MB Download
2026-06-25 551,467 2.3 MB Download
2026-06-24 551,467 2.3 MB Download
2026-06-23 551,467 2.3 MB Download
2026-06-22 551,448 2.3 MB Download
2026-06-21 551,352 2.3 MB Download
2026-06-20 551,327 2.3 MB Download
2026-06-19 551,313 2.3 MB Download
2026-06-18 550,460 2.3 MB Download
2026-06-17 550,459 2.3 MB Download
2026-06-16 550,376 2.3 MB Download
2026-06-15 550,372 2.3 MB Download
2026-06-14 550,277 2.3 MB Download
2026-06-13 550,258 2.3 MB Download
2026-06-12 550,137 2.3 MB Download
2026-06-11 550,137 2.3 MB Download
2026-06-10 549,497 2.3 MB Download
2026-06-09 549,013 2.3 MB Download
2026-06-08 549,013 2.3 MB Download
2026-06-07 548,905 2.3 MB Download
2026-06-06 548,872 2.3 MB Download
2026-06-05 548,856 2.3 MB Download
2026-06-04 547,957 2.3 MB Download
2026-06-03 547,886 2.3 MB Download
2026-06-02 547,744 2.3 MB Download
2026-06-01 547,744 2.3 MB Download
2026-05-31 547,649 2.3 MB Download
2026-05-30 547,543 2.3 MB Download
2026-05-29 547,465 2.3 MB Download
2026-05-28 547,465 2.3 MB Download
2026-05-27 547,378 2.3 MB Download
2026-05-26 547,287 2.3 MB Download
2026-05-25 547,266 2.3 MB Download
2026-05-24 547,202 2.3 MB Download
2026-05-23 546,995 2.3 MB Download
2026-05-22 546,945 2.3 MB Download
2026-05-21 546,938 2.3 MB Download
2026-05-20 546,880 2.3 MB Download
2026-05-19 546,798 2.3 MB Download
2026-05-18 546,042 2.3 MB Download
2026-05-17 546,042 2.3 MB Download
2026-05-16 545,901 2.3 MB Download
2026-05-15 545,890 2.3 MB Download
2026-05-14 545,314 2.3 MB Download
2026-05-13 545,208 2.2 MB Download
2026-05-12 545,208 2.2 MB Download
2026-05-11 545,208 2.2 MB Download
2026-05-10 544,958 2.2 MB Download
2026-05-09 544,958 2.2 MB Download
2026-05-08 544,819 2.2 MB Download
2026-05-07 544,740 2.2 MB Download
2026-05-06 544,734 2.2 MB Download
2026-05-05 544,550 2.2 MB Download
2026-05-04 543,617 2.2 MB Download
2026-05-03 543,617 2.2 MB Download
2026-05-02 543,510 2.2 MB Download
2026-05-01 543,439 2.2 MB Download
2026-04-30 543,374 2.2 MB Download
2026-04-29 543,329 2.2 MB Download
2026-04-28 543,282 2.2 MB Download
2026-04-27 543,113 2.2 MB Download
2026-04-25 542,877 2.2 MB Download
2026-04-24 542,779 2.2 MB Download
2026-04-23 542,770 2.2 MB Download
2026-04-22 542,606 2.2 MB Download
2026-04-21 542,519 2.2 MB Download
2026-04-20 542,485 2.2 MB Download
2026-04-19 542,459 2.2 MB Download
2026-04-18 541,593 2.2 MB Download
2026-04-17 541,458 2.2 MB Download
2026-04-16 541,442 2.2 MB Download
2026-04-15 541,384 2.2 MB Download
2026-04-14 540,794 2.2 MB Download
2026-04-13 540,673 2.2 MB Download
2026-04-12 540,543 2.2 MB Download
2026-04-11 540,542 2.2 MB Download
2026-04-10 540,371 2.2 MB Download
2026-04-09 540,368 2.2 MB Download
2026-04-08 540,313 2.2 MB Download
2026-04-07 540,150 2.2 MB Download
2026-04-06 539,966 2.2 MB Download
2026-04-05 539,963 2.2 MB Download
2026-04-04 539,893 2.2 MB Download
2026-04-03 538,903 2.2 MB Download
2026-04-02 538,869 2.2 MB Download
2026-04-01 538,643 2.2 MB Download
2026-03-31 538,643 2.2 MB Download
2026-03-30 538,506 2.2 MB Download
2026-03-29 538,369 2.2 MB Download
2026-03-28 538,280 2.2 MB Download
2026-03-27 538,181 2.2 MB Download
2026-03-26 538,095 2.2 MB Download
2026-03-25 538,029 2.2 MB Download
2026-03-24 537,965 2.2 MB Download
2026-03-23 537,880 2.2 MB Download
2026-03-22 537,210 2.2 MB Download
2026-03-21 537,210 2.2 MB Download
2026-03-20 537,210 2.2 MB Download
2026-03-19 537,210 2.2 MB Download
2026-03-18 537,102 2.2 MB Download
2026-03-17 536,264 2.2 MB Download
2026-03-16 532,831 2.2 MB Download
2026-03-15 532,831 2.2 MB Download
2026-03-14 532,831 2.2 MB Download
2026-03-13 532,831 2.2 MB Download
2026-03-12 532,831 2.2 MB Download
2026-03-11 532,831 2.2 MB Download
2026-03-10 532,831 2.2 MB Download
2026-03-09 532,757 2.2 MB Download
2026-03-08 532,756 2.2 MB Download
2026-03-07 532,745 2.2 MB Download
2026-03-06 532,731 2.2 MB Download
2026-03-05 532,721 2.2 MB Download
2026-03-04 532,720 2.2 MB Download
2026-03-03 532,147 2.2 MB Download
2026-03-02 532,114 2.2 MB Download
2026-03-01 532,099 2.2 MB Download
2026-02-28 532,083 2.2 MB Download
2026-02-27 532,071 2.2 MB Download
2026-02-26 532,062 2.2 MB Download
2026-02-25 532,054 2.2 MB Download
2026-02-24 532,046 2.2 MB Download
2026-02-23 532,031 2.2 MB Download
2026-02-22 532,030 2.2 MB Download
2026-02-21 532,018 2.2 MB Download
2026-02-20 532,008 2.2 MB Download
2026-02-19 532,002 2.2 MB Download
2026-02-18 532,002 2.2 MB Download
2026-02-17 531,417 2.2 MB Download
2026-02-16 531,377 2.2 MB Download
2026-02-15 531,329 2.2 MB Download
2026-02-14 531,296 2.2 MB Download
2026-02-13 531,294 2.2 MB Download
2026-02-12 531,252 2.2 MB Download
2026-02-11 531,234 2.2 MB Download
2026-02-10 531,061 2.2 MB Download
2026-02-09 531,029 2.2 MB Download
2026-02-08 531,003 2.2 MB Download
2026-02-07 530,970 2.2 MB Download
2026-02-06 530,940 2.2 MB Download
2026-02-05 530,892 2.2 MB Download
2026-02-04 530,882 2.2 MB Download
2026-02-03 530,095 2.2 MB Download
2026-02-02 530,028 2.2 MB Download
2026-02-01 530,028 2.2 MB Download
2026-01-31 529,980 2.2 MB Download
2026-01-30 529,927 2.2 MB Download
2026-01-29 529,921 2.2 MB Download
2026-01-28 529,894 2.2 MB Download
2026-01-27 529,847 2.2 MB Download
2026-01-26 529,794 2.2 MB Download
2026-01-25 529,740 2.2 MB Download
2026-01-24 529,736 2.2 MB Download
2026-01-23 529,661 2.2 MB Download
2026-01-22 529,601 2.2 MB Download
2026-01-21 529,575 2.2 MB Download
2026-01-20 529,448 2.2 MB Download
2026-01-19 529,444 2.2 MB Download
2026-01-18 528,920 2.2 MB Download
2026-01-17 528,845 2.2 MB Download
2026-01-16 528,799 2.2 MB Download
2026-01-15 528,743 2.2 MB Download
2026-01-14 528,698 2.2 MB Download
2026-01-13 528,467 2.2 MB Download
2026-01-12 528,400 2.2 MB Download
2026-01-11 528,325 2.2 MB Download
2026-01-10 528,225 2.2 MB Download
2026-01-09 528,141 2.2 MB Download
2026-01-08 528,057 2.2 MB Download
2026-01-07 528,006 2.2 MB Download
2026-01-06 527,845 2.2 MB Download
2026-01-05 527,845 2.2 MB Download
2026-01-04 527,808 2.2 MB Download
2026-01-03 527,214 2.2 MB Download
2026-01-02 527,058 2.2 MB Download
2026-01-01 526,877 2.2 MB Download
2025-12-31 526,877 2.2 MB Download
2025-12-30 526,778 2.2 MB Download
2025-12-29 526,639 2.2 MB Download
2025-12-28 526,563 2.2 MB Download
2025-12-27 526,498 2.2 MB Download
2025-12-26 526,393 2.2 MB Download
2025-12-25 526,291 2.2 MB Download
2025-12-24 526,214 2.2 MB Download
2025-12-23 526,152 2.2 MB Download
2025-12-22 526,065 2.2 MB Download
2025-12-21 525,959 2.2 MB Download
2025-12-20 306,722 1.2 MB Download
2025-12-19 306,722 1.2 MB Download
2025-12-18 306,722 1.2 MB Download
2025-12-17 307,442 1.2 MB Download
2025-12-16 307,442 1.2 MB Download
2025-12-15 307,442 1.2 MB Download
2025-12-14 307,442 1.2 MB Download
2025-12-13 307,442 1.2 MB Download
2025-12-12 307,442 1.2 MB Download
2025-12-11 307,442 1.2 MB Download
2025-12-10 307,442 1.2 MB Download
2025-12-09 307,442 1.2 MB Download
2025-12-08 307,442 1.2 MB Download
2025-12-07 307,442 1.2 MB Download
2025-12-06 307,442 1.2 MB Download
2025-12-05 307,442 1.2 MB Download
2025-12-04 307,442 1.2 MB Download
2025-12-03 308,604 1.2 MB Download
2025-12-02 308,604 1.2 MB Download
2025-12-01 308,604 1.2 MB Download
2025-11-30 308,604 1.2 MB Download
2025-11-29 308,604 1.2 MB Download
2025-11-28 308,604 1.2 MB Download
2025-11-27 308,604 1.2 MB Download
2025-11-26 308,604 1.2 MB Download
2025-11-25 308,604 1.2 MB Download
2025-11-24 308,604 1.2 MB Download
2025-11-23 308,604 1.2 MB Download
2025-11-22 308,604 1.2 MB Download
2025-11-21 308,604 1.2 MB Download
2025-11-20 308,604 1.2 MB Download
2025-11-19 308,604 1.2 MB Download
2025-11-18 308,604 1.2 MB Download
2025-11-17 308,226 1.2 MB Download
2025-11-16 308,226 1.2 MB Download
2025-11-15 308,226 1.2 MB Download
2025-11-14 308,226 1.2 MB Download
2025-11-13 308,226 1.2 MB Download
2025-11-12 308,226 1.2 MB Download
2025-11-11 308,226 1.2 MB Download
2025-11-10 308,226 1.2 MB Download
2025-11-09 308,226 1.2 MB Download
2025-11-08 308,226 1.2 MB Download
2025-11-07 308,226 1.2 MB Download
2025-11-06 308,226 1.2 MB Download
2025-11-05 308,226 1.2 MB Download
2025-11-04 308,226 1.2 MB Download
2025-11-03 304,575 1.2 MB Download
2025-11-02 304,575 1.2 MB Download
2025-11-01 304,575 1.2 MB Download
2025-10-31 304,575 1.2 MB Download
2025-10-30 304,575 1.2 MB Download
2025-10-29 304,575 1.2 MB Download
2025-10-28 304,575 1.2 MB Download
2025-10-27 304,575 1.2 MB Download
2025-10-26 304,575 1.2 MB Download
2025-10-25 304,575 1.2 MB Download
2025-10-24 304,575 1.2 MB Download
2025-10-23 304,575 1.2 MB Download
2025-10-22 304,575 1.2 MB Download
2025-10-21 304,575 1.2 MB Download
2025-10-20 304,575 1.2 MB Download
2025-10-19 304,575 1.2 MB Download
2025-10-18 304,575 1.2 MB Download
2025-10-17 307,571 1.2 MB Download
2025-10-16 307,571 1.2 MB Download
2025-10-15 307,571 1.2 MB Download
2025-10-14 307,571 1.2 MB Download
2025-10-13 307,571 1.2 MB Download
2025-10-12 307,571 1.2 MB Download
2025-10-11 307,571 1.2 MB Download
2025-10-10 307,571 1.2 MB Download
2025-10-09 307,571 1.2 MB Download
2025-10-08 307,571 1.2 MB Download
2025-10-07 307,571 1.2 MB Download
2025-10-06 307,571 1.2 MB Download
2025-10-05 307,571 1.2 MB Download
2025-10-04 307,571 1.2 MB Download
2025-10-03 309,815 1.3 MB Download
2025-10-02 309,815 1.3 MB Download
2025-10-01 309,815 1.3 MB Download
2025-09-30 309,815 1.3 MB Download
2025-09-29 309,815 1.3 MB Download
2025-09-28 309,815 1.3 MB Download
2025-09-27 309,815 1.3 MB Download
2025-09-26 309,815 1.3 MB Download
2025-09-25 309,815 1.3 MB Download
2025-09-24 309,815 1.3 MB Download
2025-09-23 309,815 1.3 MB Download
2025-09-22 309,815 1.3 MB Download
2025-09-21 309,815 1.3 MB Download
2025-09-20 309,815 1.3 MB Download
2025-09-19 309,815 1.3 MB Download
2025-09-18 309,815 1.3 MB Download
2025-09-17 311,504 1.3 MB Download
2025-09-16 311,504 1.3 MB Download
2025-09-15 311,504 1.3 MB Download
2025-09-14 311,504 1.3 MB Download
2025-09-13 311,504 1.3 MB Download
2025-09-12 311,504 1.3 MB Download
2025-09-11 311,504 1.3 MB Download
2025-09-10 311,504 1.3 MB Download
2025-09-09 311,504 1.3 MB Download
2025-09-08 311,504 1.3 MB Download
2025-09-07 311,504 1.3 MB Download
2025-09-06 311,504 1.3 MB Download
2025-09-05 311,504 1.3 MB Download
2025-09-04 311,504 1.3 MB Download
2025-09-03 312,388 1.3 MB Download
2025-09-02 312,388 1.3 MB Download
2025-09-01 312,388 1.3 MB Download
2025-08-31 312,388 1.3 MB Download
2025-08-30 312,388 1.3 MB Download
2025-08-29 312,388 1.3 MB Download
2025-08-28 312,388 1.3 MB Download
2025-08-27 312,388 1.3 MB Download
2025-08-26 312,388 1.3 MB Download
2025-08-25 312,388 1.3 MB Download
2025-08-24 312,388 1.3 MB Download
2025-08-23 312,388 1.3 MB Download
2025-08-22 312,388 1.3 MB Download
2025-08-21 312,388 1.3 MB Download
2025-08-20 312,388 1.3 MB Download
2025-08-19 312,388 1.3 MB Download
2025-08-18 312,388 1.3 MB Download
2025-08-17 313,334 1.3 MB Download
2025-08-16 313,334 1.3 MB Download
2025-08-15 313,334 1.3 MB Download
2025-08-14 313,334 1.3 MB Download
2025-08-13 313,334 1.3 MB Download
2025-08-12 313,334 1.3 MB Download
2025-08-11 313,334 1.3 MB Download
2025-08-10 313,334 1.3 MB Download
2025-08-09 313,334 1.3 MB Download
2025-08-08 313,334 1.3 MB Download
2025-08-07 313,334 1.3 MB Download
2025-08-06 313,334 1.3 MB Download
2025-08-05 313,334 1.3 MB Download
2025-08-04 313,334 1.3 MB Download
2025-08-03 315,029 1.3 MB Download
2025-08-02 315,029 1.3 MB Download
2025-07-30 315,029 1.3 MB Download
2025-07-29 315,029 1.3 MB Download
2025-07-28 315,029 1.3 MB Download
2025-07-27 161,971 730 kB Download
2025-07-26 161,879 729 kB Download
2025-07-25 161,777 729 kB Download
2025-07-24 161,684 728 kB Download
2025-07-23 161,546 728 kB Download
2025-07-22 161,527 728 kB Download
2025-07-21 161,332 727 kB Download
2025-07-20 161,257 726 kB Download
2025-07-19 161,100 726 kB Download
2025-07-18 161,003 725 kB Download
2025-07-17 160,949 725 kB Download
2025-07-16 160,926 724 kB Download
2025-07-14 160,816 724 kB Download
2025-07-13 160,757 724 kB Download
2025-07-12 160,712 723 kB Download
2025-07-11 160,677 723 kB Download
2025-07-10 160,637 723 kB Download
2025-07-09 160,612 723 kB Download
2025-07-08 160,596 723 kB Download
2025-07-07 160,557 722 kB Download
2025-07-06 160,527 722 kB Download
2025-07-05 160,492 722 kB Download
2025-07-04 160,470 722 kB Download
2025-07-03 160,425 722 kB Download
2025-07-02 160,382 722 kB Download
2025-07-01 160,348 721 kB Download
2025-06-30 160,333 721 kB Download
2025-06-29 160,286 721 kB Download
2025-06-28 160,271 721 kB Download
2025-06-27 160,243 721 kB Download
2025-06-26 160,220 721 kB Download
2025-06-25 160,200 721 kB Download
2025-06-24 160,177 721 kB Download
2025-06-23 160,143 720 kB Download
2025-06-22 160,112 720 kB Download

5. Download latest .cl domain list via API

import axios from 'axios';
import fs from 'fs';
import { pipeline } from 'stream/promises';

const response = await axios({
  method: 'GET',
  url: 'https://allzonefiles.io/api/v1/zones/cl/dl',
  responseType: 'stream',
  headers: {
    // Replace with your API key
    'Authorization': 'Bearer allzfio_5c1572d016b846ce99ce7a177922ff21'
  }
});

await pipeline(response.data, fs.createWriteStream('cl.txt.gz'));

console.log('Download complete!');
package main

import (
    "io"
    "net/http"
    "os"
)

func main() {
    url := "https://allzonefiles.io/api/v1/zones/cl/dl"
    file, _ := os.Create("cl.txt.gz")
    defer out.Close()

    req, _ := http.NewRequest("GET", url, nil)
    // Replace with your API key
    req.Header.Set("Authorization", "Bearer allzfio_5c1572d016b846ce99ce7a177922ff21")

    resp, _ := http.DefaultClient.Do(req)
    defer resp.Body.Close()

    io.Copy(out, resp.Body)
}
import requests

url = "https://allzonefiles.io/api/v1/zones/cl/dl"
# Replace with your API key
headers = {"Authorization": "Bearer allzfio_5c1572d016b846ce99ce7a177922ff21"}

with requests.get(url, headers=headers, stream=True) as r:
    r.raise_for_status()
    with open("cl.txt.gz", "wb") as f:
        for chunk in r.iter_content(chunk_size=128*1024):
            f.write(chunk)
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;

public class FileDownloader {
    public static void main(String[] args) throws Exception {
        URL url = new URL("https://allzonefiles.io/api/v1/zones/cl/dl");
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();

        connection.setRequestMethod("GET");
        // Replace with your API key
        connection.setRequestProperty("Authorization", "Bearer allzfio_5c1572d016b846ce99ce7a177922ff21");

        try (InputStream in = connection.getInputStream();
             FileOutputStream out = new FileOutputStream("cl.txt.gz")) {

            byte[] buffer = new byte[8192];
            int bytesRead;
            while ((bytesRead = in.read(buffer)) != -1) {
                out.write(buffer, 0, bytesRead);
            }
        }

        System.out.println("Download complete!");
    }
}