{
  "schema": "ugrad-code-netgov-v1",
  "host": "code.ugrad.ai",
  "page": "https://code.ugrad.ai/tools/offline-iana",
  "graph": "https://code.ugrad.ai/data/public-samples/code-type-graph.json",
  "stamp_utc": "20260815T024514Z",
  "levels": [
    {
      "id": "ip-l0-special",
      "n": 0,
      "label": "Special-use",
      "note": "IANA special-purpose registries (RFC 1918 / 6890 / 4193). Not globally unique unicast."
    },
    {
      "id": "ip-l1-iana",
      "n": 1,
      "label": "IANA registry",
      "note": "IANA holds the /8 (IPv4), 2000::/3 unicast (IPv6), and AS number blocks."
    },
    {
      "id": "ip-l2-rir",
      "n": 2,
      "label": "RIR",
      "note": "ARIN · RIPE NCC · APNIC · LACNIC · AFRINIC — allocated from IANA."
    },
    {
      "id": "ip-l3-nir",
      "n": 3,
      "label": "NIR",
      "note": "National Internet Registry (JPNIC, CNNIC, NIC.br, …) under a parent RIR."
    },
    {
      "id": "ip-l4-lir",
      "n": 4,
      "label": "LIR allocated",
      "note": "Local Internet Registry / ISP block. Delegated status=allocated."
    },
    {
      "id": "ip-l5-assigned",
      "n": 5,
      "label": "Assigned",
      "note": "Assigned to an end organization. Delegated status=assigned."
    },
    {
      "id": "ip-l6-bgp",
      "n": 6,
      "label": "BGP more-specific",
      "note": "Announced prefix. Not in this pack — needs a routing collector (RIS / RouteViews), not IANA."
    }
  ],
  "rirs": [
    {
      "id": "gov-arin",
      "label": "ARIN",
      "since": 1997,
      "region": "North America · parts of Caribbean",
      "rdap": "https://rdap.arin.net/registry",
      "whois": "whois.arin.net",
      "site": "https://www.arin.net",
      "slug": "arin",
      "summary": {
        "asn": 32909,
        "ipv4": 80709,
        "ipv6": 88391
      },
      "records": 202009,
      "by_status": {
        "asn": {
          "assigned": 31777,
          "reserved": 1131,
          "available": 1
        },
        "ipv4": {
          "allocated": 76813,
          "reserved": 3896
        },
        "ipv6": {
          "allocated": 11397,
          "reserved": 49695,
          "available": 27299
        }
      },
      "ipv4_addresses": {
        "allocated": 1645774592,
        "reserved": 4916736
      }
    },
    {
      "id": "gov-ripe",
      "label": "RIPE NCC",
      "since": 1992,
      "region": "Europe · Middle East · Central Asia",
      "rdap": "https://rdap.db.ripe.net",
      "whois": "whois.ripe.net",
      "site": "https://www.ripe.net",
      "slug": "ripe",
      "summary": {
        "asn": 48680,
        "ipv4": 100469,
        "ipv6": 111038
      },
      "records": 260187,
      "by_status": {
        "ipv4": {
          "allocated": 75958,
          "assigned": 24163,
          "reserved": 345,
          "available": 3
        },
        "asn": {
          "allocated": 39712,
          "reserved": 982,
          "available": 7986
        },
        "ipv6": {
          "allocated": 22614,
          "assigned": 4150,
          "reserved": 83416,
          "available": 858
        }
      },
      "ipv4_addresses": {
        "allocated": 658393856,
        "assigned": 196279392,
        "reserved": 860064,
        "available": 3584
      }
    },
    {
      "id": "gov-apnic",
      "label": "APNIC",
      "since": 1993,
      "region": "Asia Pacific",
      "rdap": "https://rdap.apnic.net",
      "whois": "whois.apnic.net",
      "site": "https://www.apnic.net",
      "slug": "apnic",
      "summary": {
        "asn": 14664,
        "ipv4": 61442,
        "ipv6": 113050
      },
      "records": 189156,
      "by_status": {
        "ipv4": {
          "assigned": 15137,
          "allocated": 42859,
          "available": 2990,
          "reserved": 456
        },
        "ipv6": {
          "allocated": 9356,
          "available": 95414,
          "reserved": 575,
          "assigned": 7705
        },
        "asn": {
          "allocated": 13811,
          "available": 537,
          "reserved": 316
        }
      },
      "ipv4_addresses": {
        "assigned": 7652864,
        "allocated": 881194496,
        "available": 2999040,
        "reserved": 434176
      }
    },
    {
      "id": "gov-lacnic",
      "label": "LACNIC",
      "since": 2002,
      "region": "Latin America · Caribbean",
      "rdap": "https://rdap.lacnic.net/rdap",
      "whois": "whois.lacnic.net",
      "site": "https://www.lacnic.net",
      "slug": "lacnic",
      "summary": {
        "asn": 16420,
        "ipv4": 20739,
        "ipv6": 59715
      },
      "records": 96874,
      "by_status": {
        "ipv4": {
          "allocated": 17749,
          "reserved": 408,
          "assigned": 2581,
          "available": 1
        },
        "ipv6": {
          "allocated": 11873,
          "assigned": 1619,
          "available": 28457,
          "reserved": 17766
        },
        "asn": {
          "allocated": 14289,
          "available": 455,
          "reserved": 1676
        }
      },
      "ipv4_addresses": {
        "allocated": 170010112,
        "reserved": 140032,
        "assigned": 12348416,
        "available": 256
      }
    },
    {
      "id": "gov-afrinic",
      "label": "AFRINIC",
      "since": 2005,
      "region": "Africa",
      "rdap": "https://rdap.afrinic.net/rdap",
      "whois": "whois.afrinic.net",
      "site": "https://www.afrinic.net",
      "slug": "afrinic",
      "summary": {
        "asn": 4350,
        "ipv4": 6038,
        "ipv6": 9174
      },
      "records": 19562,
      "by_status": {
        "asn": {
          "allocated": 2766,
          "available": 1155,
          "reserved": 429
        },
        "ipv4": {
          "allocated": 3826,
          "assigned": 1650,
          "reserved": 547,
          "available": 15
        },
        "ipv6": {
          "allocated": 1264,
          "reserved": 3014,
          "available": 4514,
          "assigned": 382
        }
      },
      "ipv4_addresses": {
        "allocated": 110291968,
        "assigned": 5814016,
        "reserved": 4498432,
        "available": 645888
      }
    }
  ],
  "nirs": [
    {
      "id": "ip-nir-jpnic",
      "label": "JPNIC",
      "cc": "JP",
      "parent": "apnic",
      "note": "Japan NIR under APNIC"
    },
    {
      "id": "ip-nir-krnic",
      "label": "KRNIC / KISA",
      "cc": "KR",
      "parent": "apnic",
      "note": "Korea NIR under APNIC"
    },
    {
      "id": "ip-nir-twnic",
      "label": "TWNIC",
      "cc": "TW",
      "parent": "apnic",
      "note": "Taiwan NIR under APNIC"
    },
    {
      "id": "ip-nir-cnnic",
      "label": "CNNIC",
      "cc": "CN",
      "parent": "apnic",
      "note": "China NIR under APNIC"
    },
    {
      "id": "ip-nir-vnnic",
      "label": "VNNIC",
      "cc": "VN",
      "parent": "apnic",
      "note": "Viet Nam NIR under APNIC"
    },
    {
      "id": "ip-nir-irinn",
      "label": "IRINN",
      "cc": "IN",
      "parent": "apnic",
      "note": "India NIR under APNIC"
    },
    {
      "id": "ip-nir-idnic",
      "label": "IDNIC / APJII",
      "cc": "ID",
      "parent": "apnic",
      "note": "Indonesia NIR under APNIC"
    },
    {
      "id": "ip-nir-nicbr",
      "label": "NIC.br",
      "cc": "BR",
      "parent": "lacnic",
      "note": "Brazil NIR under LACNIC"
    },
    {
      "id": "ip-nir-nicmx",
      "label": "NIC Mexico",
      "cc": "MX",
      "parent": "lacnic",
      "note": "Mexico NIR under LACNIC"
    }
  ],
  "totals": {
    "delegated_records": 767788,
    "delegated_ipv4_rows": 269397,
    "delegated_ipv6_rows": 381368,
    "delegated_asn_rows": 117023,
    "iana_v4_slash8": 256,
    "iana_v4_special": 25,
    "iana_v6_special": 25,
    "iana_v6_unicast": 51,
    "iana_as_ranges": 174,
    "tlds": 1438,
    "root_letters": 13,
    "psl_rules": 10239,
    "slash16_painted": 56492
  },
  "iana": {
    "ipv4_slash8_by_rir": {
      "iana": 52,
      "apnic": 51,
      "ripe": 42,
      "arin": 95,
      "afrinic": 6,
      "lacnic": 10
    },
    "ipv4_special": 25,
    "ipv6_unicast": 51,
    "as_by_rir": {
      "iana": 4294892546,
      "arin": 38522,
      "ripe": 48002,
      "apnic": 33282,
      "lacnic": 16384,
      "afrinic": 4096
    },
    "tlds": 1438,
    "root_letters": [
      "A",
      "B",
      "C",
      "D",
      "E",
      "F",
      "G",
      "H",
      "I",
      "J",
      "K",
      "L",
      "M"
    ],
    "psl": {
      "rules": 10239,
      "icann": 6949,
      "private": 3290,
      "kinds": {
        "plain": 9950,
        "wildcard": 281,
        "exception": 8
      },
      "exceptions": [
        "!www.ck",
        "!city.kawasaki.jp",
        "!city.kitakyushu.jp",
        "!city.kobe.jp",
        "!city.nagoya.jp",
        "!city.sapporo.jp",
        "!city.sendai.jp",
        "!city.yokohama.jp"
      ],
      "icann_wildcards": [
        "*.nom.br",
        "*.ck",
        "*.er",
        "*.fk",
        "*.jm",
        "*.kawasaki.jp",
        "*.kitakyushu.jp",
        "*.kobe.jp",
        "*.nagoya.jp",
        "*.sapporo.jp",
        "*.sendai.jp",
        "*.yokohama.jp",
        "*.mm",
        "*.np",
        "*.pg",
        "*.sch.uk"
      ],
      "source": "https://publicsuffix.org/list/public_suffix_list.dat"
    }
  }
}
