Download latest list of registered domains for .IR zone

902,816 registered domains — Last update: 04 Jul 2026

.IR domain list file

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

  • Daily updated data — last update: 04 Jul 2026
  • Total domains in the list: 902,816
  • File size: 3.2 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
902,816
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 902,816 0 0
2026-07-03 902,816 0 0
2026-07-02 902,816 0 0
2026-07-01 902,816 0 0
2026-06-30 902,816 0 0
2026-06-29 902,816 0 0
2026-06-28 902,816 0 0
2026-06-27 902,816 0 0
2026-06-26 902,816 0 0
2026-06-25 902,816 0 0
2026-06-24 902,816 0 0
2026-06-23 902,816 + 92 0
2026-06-22 902,724 + 184 0
2026-06-21 902,540 + 76 0
2026-06-20 902,464 + 73 0
2026-06-19 902,391 + 1,396 0
2026-06-18 900,995 + 100 0
2026-06-17 900,895 + 247 0
2026-06-16 900,648 + 93 0
2026-06-15 900,555 + 65 0
2026-06-14 900,490 + 62 0
2026-06-13 900,428 + 268 0
2026-06-12 900,160 + 242 0
2026-06-11 899,918 + 2,610 0
2026-06-10 897,308 + 604 0
2026-06-09 896,704 0 0
2026-06-08 896,704 + 66 0
2026-06-07 896,638 + 49 0
2026-06-06 896,589 + 177 0
2026-06-05 896,412 + 1,584 0
2026-06-04 894,828 + 253 0
2026-06-03 894,575 + 26 0
2026-06-02 894,549 + 224 0
2026-06-01 894,325 + 203 0
2026-05-31 894,122 + 309 0
2026-05-30 893,813 + 279 0
2026-05-29 893,534 + 325 0
2026-05-28 893,209 + 147 0
2026-05-27 893,062 + 126 0
2026-05-26 892,936 + 134 0
2026-05-25 892,802 + 76 0
2026-05-24 892,726 + 88 0
2026-05-23 892,638 + 69 0
2026-05-22 892,569 + 36 0
2026-05-21 892,533 + 137 0
2026-05-20 892,396 + 41 0
2026-05-19 892,355 + 1,450 0
2026-05-18 890,905 + 78 0
2026-05-17 890,827 + 63 0
2026-05-16 890,764 + 147 0
2026-05-15 890,617 + 813 0
2026-05-14 889,804 + 162 0
2026-05-13 889,642 0 0
2026-05-12 889,642 + 44 0
2026-05-11 889,598 + 189 0
2026-05-10 889,409 0 0
2026-05-09 889,409 + 132 0
2026-05-08 889,277 + 51 0
2026-05-07 889,226 + 67 0
2026-05-06 889,159 + 106 0
2026-05-05 889,053 + 1,435 0
2026-05-04 887,618 0 0
2026-05-03 887,618 + 98 0
2026-05-02 887,520 + 63 0
2026-05-01 887,457 + 67 0
2026-04-30 887,390 + 192 0
2026-04-29 887,198 + 169 0
2026-04-28 887,029 + 91 0
2026-04-27 886,938 + 235 0
2026-04-25 886,703 + 179 0
2026-04-24 886,524 + 74 0
2026-04-23 886,450 + 120 0
2026-04-22 886,330 + 39 0
2026-04-21 886,291 + 49 0
2026-04-20 886,242 + 60 0
2026-04-19 886,182 + 805 0
2026-04-18 885,377 + 87 0
2026-04-17 885,290 + 63 0
2026-04-16 885,227 + 36 0
2026-04-15 885,191 + 140 0
2026-04-14 885,051 + 31 0
2026-04-13 885,020 + 59 0
2026-04-12 884,961 + 34 0
2026-04-11 884,927 + 65 0
2026-04-10 884,862 + 69 0
2026-04-09 884,793 + 74 0
2026-04-08 884,719 + 61 0
2026-04-07 884,658 + 22 0
2026-04-06 884,636 + 63 0
2026-04-05 884,573 + 1,326 0

3. Zone Details: .ir

The .ir domain is Iran's country-code top-level domain (ccTLD), administered by NIC.ir. It encompasses reserved second-level spaces such as ac.ir for academic institutions, gov.ir for government entities and org.ir for nonprofits; some of these subdomains require specific eligibility and verification.

Typical use cases include Iranian companies, local branches of international firms, Persian-language media, cultural organizations and diaspora projects that want a clear national association. For commercial sites, .ir communicates geographic relevance, can improve local search visibility and conveys familiarity and trust to Iran-based audiences.

Organizations and individuals choose .ir to establish a local identity, meet regulatory or contractual expectations tied to Iran, or secure names that may be unavailable under global TLDs. Before registering, prospective registrants should review NIC.ir policies and any documentation required for restricted second-level domains.

Related zones:

Zone Name ir
Zone Type ccTLD
Assigned by IANA YES
Public registrations allowed YES
WHOIS Server whois.nic.ir
RDAP Server
Managing Organization Institute for Research in Fundamental Sciences
Organization Address Shahid Bahonar (Niavaran) Square
Tehran 1954851167
Iran (Islamic Republic of)

4. Historical Domain Lists for .ir zone

Access the archive of historical .IR domain lists and analyze how domains in the .IR 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 902,816 3.2 MB Download
2026-07-03 902,816 3.2 MB Download
2026-07-02 902,816 3.2 MB Download
2026-07-01 902,816 3.2 MB Download
2026-06-30 902,816 3.2 MB Download
2026-06-29 902,816 3.2 MB Download
2026-06-28 902,816 3.2 MB Download
2026-06-27 902,816 3.2 MB Download
2026-06-26 902,816 3.2 MB Download
2026-06-25 902,816 3.2 MB Download
2026-06-24 902,816 3.2 MB Download
2026-06-23 902,816 3.2 MB Download
2026-06-22 902,724 3.2 MB Download
2026-06-21 902,540 3.2 MB Download
2026-06-20 902,464 3.2 MB Download
2026-06-19 902,391 3.2 MB Download
2026-06-18 900,995 3.2 MB Download
2026-06-17 900,895 3.2 MB Download
2026-06-16 900,648 3.2 MB Download
2026-06-15 900,555 3.2 MB Download
2026-06-14 900,490 3.2 MB Download
2026-06-13 900,428 3.2 MB Download
2026-06-12 900,160 3.2 MB Download
2026-06-11 899,918 3.2 MB Download
2026-06-10 897,308 3.2 MB Download
2026-06-09 896,704 3.2 MB Download
2026-06-08 896,704 3.2 MB Download
2026-06-07 896,638 3.2 MB Download
2026-06-06 896,589 3.2 MB Download
2026-06-05 896,412 3.2 MB Download
2026-06-04 894,828 3.2 MB Download
2026-06-03 894,575 3.2 MB Download
2026-06-02 894,549 3.2 MB Download
2026-06-01 894,325 3.2 MB Download
2026-05-31 894,122 3.2 MB Download
2026-05-30 893,813 3.2 MB Download
2026-05-29 893,534 3.2 MB Download
2026-05-28 893,209 3.2 MB Download
2026-05-27 893,062 3.2 MB Download
2026-05-26 892,936 3.2 MB Download
2026-05-25 892,802 3.2 MB Download
2026-05-24 892,726 3.2 MB Download
2026-05-23 892,638 3.2 MB Download
2026-05-22 892,569 3.2 MB Download
2026-05-21 892,533 3.2 MB Download
2026-05-20 892,396 3.2 MB Download
2026-05-19 892,355 3.2 MB Download
2026-05-18 890,905 3.2 MB Download
2026-05-17 890,827 3.2 MB Download
2026-05-16 890,764 3.2 MB Download
2026-05-15 890,617 3.2 MB Download
2026-05-14 889,804 3.2 MB Download
2026-05-13 889,642 3.2 MB Download
2026-05-12 889,642 3.2 MB Download
2026-05-11 889,598 3.2 MB Download
2026-05-10 889,409 3.2 MB Download
2026-05-09 889,409 3.2 MB Download
2026-05-08 889,277 3.2 MB Download
2026-05-07 889,226 3.2 MB Download
2026-05-06 889,159 3.2 MB Download
2026-05-05 889,053 3.2 MB Download
2026-05-04 887,618 3.2 MB Download
2026-05-03 887,618 3.2 MB Download
2026-05-02 887,520 3.2 MB Download
2026-05-01 887,457 3.2 MB Download
2026-04-30 887,390 3.2 MB Download
2026-04-29 887,198 3.2 MB Download
2026-04-28 887,029 3.2 MB Download
2026-04-27 886,938 3.2 MB Download
2026-04-25 886,703 3.2 MB Download
2026-04-24 886,524 3.2 MB Download
2026-04-23 886,450 3.2 MB Download
2026-04-22 886,330 3.2 MB Download
2026-04-21 886,291 3.2 MB Download
2026-04-20 886,242 3.2 MB Download
2026-04-19 886,182 3.2 MB Download
2026-04-18 885,377 3.2 MB Download
2026-04-17 885,290 3.2 MB Download
2026-04-16 885,227 3.2 MB Download
2026-04-15 885,191 3.2 MB Download
2026-04-14 885,051 3.2 MB Download
2026-04-13 885,020 3.2 MB Download
2026-04-12 884,961 3.2 MB Download
2026-04-11 884,927 3.2 MB Download
2026-04-10 884,862 3.2 MB Download
2026-04-09 884,793 3.2 MB Download
2026-04-08 884,719 3.2 MB Download
2026-04-07 884,658 3.2 MB Download
2026-04-06 884,636 3.2 MB Download
2026-04-05 884,573 3.2 MB Download
2026-04-04 883,247 3.2 MB Download
2026-04-03 879,272 3.1 MB Download
2026-04-02 878,634 3.1 MB Download
2026-04-01 874,464 3.1 MB Download
2026-03-31 874,464 3.1 MB Download
2026-03-30 873,903 3.1 MB Download
2026-03-29 870,412 3.1 MB Download
2026-03-28 869,700 3.1 MB Download
2026-03-27 868,939 3.1 MB Download
2026-03-26 865,213 3.1 MB Download
2026-03-25 862,873 3.1 MB Download
2026-03-24 862,764 3.1 MB Download
2026-03-23 862,649 3.1 MB Download
2026-03-22 860,234 3.1 MB Download
2026-03-21 860,234 3.1 MB Download
2026-03-20 860,234 3.1 MB Download
2026-03-19 860,234 3.1 MB Download
2026-03-18 859,624 3.1 MB Download
2026-03-17 858,348 3.1 MB Download
2026-03-16 852,732 3.0 MB Download
2026-03-15 852,732 3.0 MB Download
2026-03-14 852,732 3.0 MB Download
2026-03-13 852,732 3.0 MB Download
2026-03-12 852,732 3.0 MB Download
2026-03-11 852,732 3.0 MB Download
2026-03-10 852,732 3.0 MB Download
2026-03-09 852,429 3.0 MB Download
2026-03-08 852,427 3.0 MB Download
2026-03-07 852,426 3.0 MB Download
2026-03-06 852,421 3.0 MB Download
2026-03-05 852,416 3.0 MB Download
2026-03-04 852,411 3.0 MB Download
2026-03-03 850,981 3.0 MB Download
2026-03-02 850,946 3.0 MB Download
2026-03-01 850,916 3.0 MB Download
2026-02-28 850,861 3.0 MB Download
2026-02-27 850,749 3.0 MB Download
2026-02-26 850,741 3.0 MB Download
2026-02-25 850,723 3.0 MB Download
2026-02-24 850,706 3.0 MB Download
2026-02-23 850,704 3.0 MB Download
2026-02-22 850,690 3.0 MB Download
2026-02-21 850,673 3.0 MB Download
2026-02-20 850,668 3.0 MB Download
2026-02-19 850,657 3.0 MB Download
2026-02-18 850,650 3.0 MB Download
2026-02-17 849,366 3.0 MB Download
2026-02-16 849,296 3.0 MB Download
2026-02-15 849,225 3.0 MB Download
2026-02-14 849,169 3.0 MB Download
2026-02-13 849,114 3.0 MB Download
2026-02-12 848,935 3.0 MB Download
2026-02-11 848,800 3.0 MB Download
2026-02-10 848,328 3.0 MB Download
2026-02-09 848,258 3.0 MB Download
2026-02-08 847,983 3.0 MB Download
2026-02-07 847,656 3.0 MB Download
2026-02-06 847,565 3.0 MB Download
2026-02-05 847,513 3.0 MB Download
2026-02-04 847,475 3.0 MB Download
2026-02-03 845,873 3.0 MB Download
2026-02-02 845,724 3.0 MB Download
2026-02-01 845,724 3.0 MB Download
2026-01-31 845,636 3.0 MB Download
2026-01-30 845,562 3.0 MB Download
2026-01-29 845,492 3.0 MB Download
2026-01-28 845,395 3.0 MB Download
2026-01-27 845,359 3.0 MB Download
2026-01-26 845,323 3.0 MB Download
2026-01-25 845,286 3.0 MB Download
2026-01-24 845,214 3.0 MB Download
2026-01-23 845,143 3.0 MB Download
2026-01-22 845,133 3.0 MB Download
2026-01-21 845,099 3.0 MB Download
2026-01-20 844,835 3.0 MB Download
2026-01-19 844,728 3.0 MB Download
2026-01-18 843,893 3.0 MB Download
2026-01-17 843,884 3.0 MB Download
2026-01-16 843,872 3.0 MB Download
2026-01-15 843,843 3.0 MB Download
2026-01-14 843,823 3.0 MB Download
2026-01-13 843,106 3.0 MB Download
2026-01-12 843,086 3.0 MB Download
2026-01-11 843,060 3.0 MB Download
2026-01-10 842,946 3.0 MB Download
2026-01-09 842,887 3.0 MB Download
2026-01-08 842,826 3.0 MB Download
2026-01-07 842,714 3.0 MB Download
2026-01-06 841,995 3.0 MB Download
2026-01-05 841,995 3.0 MB Download
2026-01-04 841,836 3.0 MB Download
2026-01-03 839,199 3.0 MB Download
2026-01-02 837,316 3.0 MB Download
2026-01-01 836,421 3.0 MB Download
2025-12-31 836,421 3.0 MB Download
2025-12-30 836,052 3.0 MB Download
2025-12-29 835,674 3.0 MB Download
2025-12-28 835,248 3.0 MB Download
2025-12-27 834,960 3.0 MB Download
2025-12-26 834,637 3.0 MB Download
2025-12-25 834,308 3.0 MB Download
2025-12-24 834,026 3.0 MB Download
2025-12-23 833,675 3.0 MB Download
2025-12-22 833,316 3.0 MB Download
2025-12-21 832,990 3.0 MB Download
2025-12-20 479,307 1.6 MB Download
2025-12-19 479,307 1.6 MB Download
2025-12-18 479,307 1.6 MB Download
2025-12-17 481,352 1.6 MB Download
2025-12-16 481,352 1.6 MB Download
2025-12-15 481,352 1.6 MB Download
2025-12-14 481,352 1.6 MB Download
2025-12-13 481,352 1.6 MB Download
2025-12-12 481,352 1.6 MB Download
2025-12-11 481,352 1.6 MB Download
2025-12-10 481,352 1.6 MB Download
2025-12-09 481,352 1.6 MB Download
2025-12-08 481,352 1.6 MB Download
2025-12-07 481,352 1.6 MB Download
2025-12-06 481,352 1.6 MB Download
2025-12-05 481,352 1.6 MB Download
2025-12-04 481,352 1.6 MB Download
2025-12-03 482,366 1.6 MB Download
2025-12-02 482,366 1.6 MB Download
2025-12-01 482,366 1.6 MB Download
2025-11-30 482,366 1.6 MB Download
2025-11-29 482,366 1.6 MB Download
2025-11-28 482,366 1.6 MB Download
2025-11-27 482,366 1.6 MB Download
2025-11-26 482,366 1.6 MB Download
2025-11-25 482,366 1.6 MB Download
2025-11-24 482,366 1.6 MB Download
2025-11-23 482,366 1.6 MB Download
2025-11-22 482,366 1.6 MB Download
2025-11-21 482,366 1.6 MB Download
2025-11-20 482,366 1.6 MB Download
2025-11-19 482,366 1.6 MB Download
2025-11-18 482,366 1.6 MB Download
2025-11-17 481,798 1.6 MB Download
2025-11-16 481,798 1.6 MB Download
2025-11-15 481,798 1.6 MB Download
2025-11-14 481,798 1.6 MB Download
2025-11-13 481,798 1.6 MB Download
2025-11-12 481,798 1.6 MB Download
2025-11-11 481,798 1.6 MB Download
2025-11-10 481,798 1.6 MB Download
2025-11-09 481,798 1.6 MB Download
2025-11-08 481,798 1.6 MB Download
2025-11-07 481,798 1.6 MB Download
2025-11-06 481,798 1.6 MB Download
2025-11-05 481,798 1.6 MB Download
2025-11-04 481,798 1.6 MB Download
2025-11-03 471,382 1.6 MB Download
2025-11-02 471,382 1.6 MB Download
2025-11-01 471,382 1.6 MB Download
2025-10-31 471,382 1.6 MB Download
2025-10-30 471,382 1.6 MB Download
2025-10-29 471,382 1.6 MB Download
2025-10-28 471,382 1.6 MB Download
2025-10-27 471,382 1.6 MB Download
2025-10-26 471,382 1.6 MB Download
2025-10-25 471,382 1.6 MB Download
2025-10-24 471,382 1.6 MB Download
2025-10-23 471,382 1.6 MB Download
2025-10-22 471,382 1.6 MB Download
2025-10-21 471,382 1.6 MB Download
2025-10-20 471,382 1.6 MB Download
2025-10-19 471,382 1.6 MB Download
2025-10-18 471,382 1.6 MB Download
2025-10-17 480,729 1.6 MB Download
2025-10-16 480,729 1.6 MB Download
2025-10-15 480,729 1.6 MB Download
2025-10-14 480,729 1.6 MB Download
2025-10-13 480,729 1.6 MB Download
2025-10-12 480,729 1.6 MB Download
2025-10-11 480,729 1.6 MB Download
2025-10-10 480,729 1.6 MB Download
2025-10-09 480,729 1.6 MB Download
2025-10-08 480,729 1.6 MB Download
2025-10-07 480,729 1.6 MB Download
2025-10-06 480,729 1.6 MB Download
2025-10-05 480,729 1.6 MB Download
2025-10-04 480,729 1.6 MB Download
2025-10-03 485,418 1.7 MB Download
2025-10-02 485,418 1.7 MB Download
2025-10-01 485,418 1.7 MB Download
2025-09-30 485,418 1.7 MB Download
2025-09-29 485,418 1.7 MB Download
2025-09-28 485,418 1.7 MB Download
2025-09-27 485,418 1.7 MB Download
2025-09-26 485,418 1.7 MB Download
2025-09-25 485,418 1.7 MB Download
2025-09-24 485,418 1.7 MB Download
2025-09-23 485,418 1.7 MB Download
2025-09-22 485,418 1.7 MB Download
2025-09-21 485,418 1.7 MB Download
2025-09-20 485,418 1.7 MB Download
2025-09-19 485,418 1.7 MB Download
2025-09-18 485,418 1.7 MB Download
2025-09-17 490,625 1.7 MB Download
2025-09-16 490,625 1.7 MB Download
2025-09-15 490,625 1.7 MB Download
2025-09-14 490,625 1.7 MB Download
2025-09-13 490,625 1.7 MB Download
2025-09-12 490,625 1.7 MB Download
2025-09-11 490,625 1.7 MB Download
2025-09-10 490,625 1.7 MB Download
2025-09-09 490,625 1.7 MB Download
2025-09-08 490,625 1.7 MB Download
2025-09-07 490,625 1.7 MB Download
2025-09-06 490,625 1.7 MB Download
2025-09-05 490,625 1.7 MB Download
2025-09-04 490,625 1.7 MB Download
2025-09-03 491,807 1.7 MB Download
2025-09-02 491,807 1.7 MB Download
2025-09-01 491,807 1.7 MB Download
2025-08-31 491,807 1.7 MB Download
2025-08-30 491,807 1.7 MB Download
2025-08-29 491,807 1.7 MB Download
2025-08-28 491,807 1.7 MB Download
2025-08-27 491,807 1.7 MB Download
2025-08-26 491,807 1.7 MB Download
2025-08-25 491,807 1.7 MB Download
2025-08-24 491,807 1.7 MB Download
2025-08-23 491,807 1.7 MB Download
2025-08-22 491,807 1.7 MB Download
2025-08-21 491,807 1.7 MB Download
2025-08-20 491,807 1.7 MB Download
2025-08-19 491,807 1.7 MB Download
2025-08-18 491,807 1.7 MB Download
2025-08-17 493,121 1.7 MB Download
2025-08-16 493,121 1.7 MB Download
2025-08-15 493,121 1.7 MB Download
2025-08-14 493,121 1.7 MB Download
2025-08-13 493,121 1.7 MB Download
2025-08-12 493,121 1.7 MB Download
2025-08-11 493,121 1.7 MB Download
2025-08-10 493,121 1.7 MB Download
2025-08-09 493,121 1.7 MB Download
2025-08-08 493,121 1.7 MB Download
2025-08-07 493,121 1.7 MB Download
2025-08-06 493,121 1.7 MB Download
2025-08-05 493,121 1.7 MB Download
2025-08-04 493,121 1.7 MB Download
2025-08-03 496,560 1.7 MB Download
2025-08-02 496,560 1.7 MB Download
2025-07-31 496,560 1.7 MB Download
2025-07-30 496,560 1.7 MB Download
2025-07-29 496,560 1.7 MB Download
2025-07-28 496,560 1.7 MB Download
2025-07-27 285,757 1.1 MB Download
2025-07-26 285,395 1.1 MB Download
2025-07-25 284,900 1.1 MB Download
2025-07-24 284,613 1.1 MB Download
2025-07-23 284,014 1.1 MB Download
2025-07-22 283,922 1.1 MB Download
2025-07-21 283,397 1.1 MB Download
2025-07-20 283,191 1.1 MB Download
2025-07-19 282,854 1.1 MB Download
2025-07-18 282,605 1.1 MB Download
2025-07-17 282,405 1.1 MB Download
2025-07-16 282,351 1.1 MB Download
2025-07-14 282,059 1.1 MB Download
2025-07-13 281,954 1.1 MB Download
2025-07-12 281,796 1.1 MB Download
2025-07-11 281,720 1.1 MB Download
2025-07-10 281,616 1.1 MB Download
2025-07-09 281,542 1.1 MB Download
2025-07-08 281,498 1.1 MB Download
2025-07-07 281,328 1.1 MB Download
2025-07-06 281,253 1.1 MB Download
2025-07-05 281,085 1.1 MB Download
2025-07-04 281,012 1.1 MB Download
2025-07-03 280,849 1.1 MB Download
2025-07-02 280,768 1.1 MB Download
2025-07-01 280,641 1.1 MB Download
2025-06-30 280,508 1.1 MB Download
2025-06-29 280,335 1.1 MB Download
2025-06-28 280,231 1.1 MB Download
2025-06-27 280,143 1.1 MB Download
2025-06-26 280,068 1.1 MB Download
2025-06-25 280,017 1.1 MB Download
2025-06-24 279,974 1.1 MB Download
2025-06-23 279,925 1.1 MB Download
2025-06-22 279,897 1.1 MB Download

5. Download latest .ir 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/ir/dl',
  responseType: 'stream',
  headers: {
    // Replace with your API key
    'Authorization': 'Bearer allzfio_5c1572d016b846ce99ce7a177922ff21'
  }
});

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

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

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

func main() {
    url := "https://allzonefiles.io/api/v1/zones/ir/dl"
    file, _ := os.Create("ir.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/ir/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("ir.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/ir/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("ir.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!");
    }
}