Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/herrbischoff/country-ip-blocks

CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly. This is a read-only mirror.
https://github.com/herrbischoff/country-ip-blocks

afrinic apache apnic arin cc0 cidr cidr-notation countries country firewall geoip geolocation ip lacnic nginx ripe-ncc ripencc

Last synced: 3 months ago
JSON representation

CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly. This is a read-only mirror.

Lists

README

        

# Country IP Blocks

These have a thousand and one uses but are surprisingly hard to come by in
bulk.

* IPv4 and IPv6 ranges available.
* Compiled directly from AFRINIC, APNIC, ARIN, LACNIC and RIPENCC data.
* Deduplicated and subnets merged for efficiency.
* Simplified and sorted by country TLD.
* CIDR notation.
* Updated hourly, commits only appear when there are changes.

## Note

There are more than a dozen commercial IP geolocation database providers, and
the accuracy of each provider is different. They get IP address information
from the RIRs, but the assignment changes regularly as some companies release
unwanted IP addresses and others obtain a new block of IP addresses.

The blocks of IP addresses assigned to many companies can, in turn, assign them
to their users however they want without geographic boundaries. This makes
pinpointing geolocation of an IP address rather difficult. The accuracy of
geolocation data differs by provider. You can generally expect a 95% to 99%
accuracy for the country level. The more granular you get, the less precise the
data becomes.

This projects downloads the information directly from the local RIRs and is as
accurate as the data provided. More often than not, the country attached to an
IP range is the one the registering company is located in. There is no reliable
way to determine the physical location of any IP without tracing it separately.

For an alternative source, please see the companion repository which is likely
more accurate with regards to the expectations of many users.