Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
December 10, 2023 02:38
December 8, 2021 15:32
December 18, 2022 15:23


Drop-in replacement for the network lists previously available at based on Internet number resource usage data published by the Regional Internet Registries (RIR). The data is organized by country code (ISO 3166).

This repository is updated daily (if the underlying data changes).

Update notes

  • 2022-12-18: Fixed prefixes for some delegated networks as reported by RF3, see this thread for details

How to use

To download the delegated IPv4 networks for Switzerland, try:
$ curl

To download the delegated IPv6 networks for Switzerland, try:
$ curl

The data (IPv4 + IPv6 combined) is available in JSON format as well:
$ curl

The resulting JSON will look similar to this:

  "country": "Switzerland",
  "country-code": "CH",
  "delegation-status": [
  "mode": "aggregated",
  "subnets": {
    "ipv4": [
    "ipv6": [

Want moar IP addresses?

Instead of carpet banning an entire geographic region, it might be more effective to just ban specific internet providers based on their autonomous system number (ASN). Check out the ipverse-asn-ip repository for more information.

Migrating from

While all download URLs pointing to are being redirected to the corresponding file in this Github repository, you may choose to directly download the data from the new location. Here's how to change the download-URL:

Old URL:

New URL: