Download IP block lists by ASN - network provider addresses, updated daily
526
1,848 commits
updated Oct 20, 2026
Look up any AS or IP prefix at Lens by ipverse to explore announced prefixes and metadata.
Daily-updated datasets of autonomous systems (AS) with active BGP prefix announcements. Only includes AS that have announced at least one prefix within the last 90 days. No APIs, no databases - just simple file downloads.
Each AS gets its own directory with aggregated IPv4 and IPv6 prefixes in both JSON and plaintext formats. Prefixes are aggregated (adjacent and overlapping CIDR blocks are merged into larger blocks where possible). Perfect for firewall rules, network analysis, or tracking what IP ranges belong to specific organizations. Git history lets you see how an AS's announcements change over time.
category and networkRole fields to JSON metadatalastAnnounced field to reduce git delta size. This field is still available in as-metadata.as-ip-blocks, JSON format changed (subnets → prefixes, metadata nested).JSON and plaintext
JSON format (includes both IPv4 and IPv6):
{
"asn": 1234,
"metadata": {
"handle": "FORTUM",
"description": "Fortum",
"countryCode": "FI",
"country": "Finland",
"origin": "authoritative",
"category": "business",
"networkRole": "stub"
},
"prefixes": {
"ipv4": [
"132.171.0.0/16",
"137.96.0.0/16",
"193.110.32.0/21"
],
"ipv6": [
"2405:1800::/32"
]
}
}
Plaintext format (AS1234 IPv4):
# AS1234 (FORTUM)
# Fortum
#
132.171.0.0/16
137.96.0.0/16
193.110.32.0/21
Plaintext format (AS1234 IPv6):
# AS1234 (FORTUM)
# Fortum
#
2405:1800::/32
See as-metadata for metadata field descriptions and possible values.
Download the announced prefixes for a specific autonomous system:
AS1234 in JSON format:
curl https://raw.githubusercontent.com/ipverse/as-ip-blocks/master/as/1234/aggregated.json
AS1234 IPv4 addresses:
curl https://raw.githubusercontent.com/ipverse/as-ip-blocks/master/as/1234/ipv4-aggregated.txt
AS1234 IPv6 addresses:
curl https://raw.githubusercontent.com/ipverse/as-ip-blocks/master/as/1234/ipv6-aggregated.txt
Download all AS data in a single archive from the latest release:
curl -LO https://github.com/ipverse/as-ip-blocks/releases/latest/download/as-ip-blocks.tar.gz
tar -xzf as-ip-blocks.tar.gz
For the complete AS metadata dataset and field documentation, see as-metadata.
If you plan to use the routing data for firewalling purposes, have a look at:
cscli commandlastAnnounced timestamps and additional fields not included in the per-AS files here.Head over to the feedback repository if you have questions, issues, or suggestions.
This data is released under CC0 1.0 Universal.
7,255 followers · starred Jan 2025
309 followers · starred May 2026
50 followers · starred Sep 2026
464 followers · starred Feb 2026
Download IP block lists by ASN - network provider addresses, updated daily
526
1,848 commits
updated Oct 20, 2026
Look up any AS or IP prefix at Lens by ipverse to explore announced prefixes and metadata.
Daily-updated datasets of autonomous systems (AS) with active BGP prefix announcements. Only includes AS that have announced at least one prefix within the last 90 days. No APIs, no databases - just simple file downloads.
Each AS gets its own directory with aggregated IPv4 and IPv6 prefixes in both JSON and plaintext formats. Prefixes are aggregated (adjacent and overlapping CIDR blocks are merged into larger blocks where possible). Perfect for firewall rules, network analysis, or tracking what IP ranges belong to specific organizations. Git history lets you see how an AS's announcements change over time.
category and networkRole fields to JSON metadatalastAnnounced field to reduce git delta size. This field is still available in as-metadata.as-ip-blocks, JSON format changed (subnets → prefixes, metadata nested).JSON and plaintext
JSON format (includes both IPv4 and IPv6):
{
"asn": 1234,
"metadata": {
"handle": "FORTUM",
"description": "Fortum",
"countryCode": "FI",
"country": "Finland",
"origin": "authoritative",
"category": "business",
"networkRole": "stub"
},
"prefixes": {
"ipv4": [
"132.171.0.0/16",
"137.96.0.0/16",
"193.110.32.0/21"
],
"ipv6": [
"2405:1800::/32"
]
}
}
Plaintext format (AS1234 IPv4):
# AS1234 (FORTUM)
# Fortum
#
132.171.0.0/16
137.96.0.0/16
193.110.32.0/21
Plaintext format (AS1234 IPv6):
# AS1234 (FORTUM)
# Fortum
#
2405:1800::/32
See as-metadata for metadata field descriptions and possible values.
Download the announced prefixes for a specific autonomous system:
AS1234 in JSON format:
curl https://raw.githubusercontent.com/ipverse/as-ip-blocks/master/as/1234/aggregated.json
AS1234 IPv4 addresses:
curl https://raw.githubusercontent.com/ipverse/as-ip-blocks/master/as/1234/ipv4-aggregated.txt
AS1234 IPv6 addresses:
curl https://raw.githubusercontent.com/ipverse/as-ip-blocks/master/as/1234/ipv6-aggregated.txt
Download all AS data in a single archive from the latest release:
curl -LO https://github.com/ipverse/as-ip-blocks/releases/latest/download/as-ip-blocks.tar.gz
tar -xzf as-ip-blocks.tar.gz
For the complete AS metadata dataset and field documentation, see as-metadata.
If you plan to use the routing data for firewalling purposes, have a look at:
cscli commandlastAnnounced timestamps and additional fields not included in the per-AS files here.Head over to the feedback repository if you have questions, issues, or suggestions.
This data is released under CC0 1.0 Universal.
7,255 followers · starred Jan 2025
309 followers · starred May 2026
50 followers · starred Sep 2026
464 followers · starred Feb 2026