Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: "GeoIP Locations — Monthly IPv4 GeoIP Dataset"
|
| 6 |
+
tags:
|
| 7 |
+
- geoip
|
| 8 |
+
- ip-geolocation
|
| 9 |
+
- ipv4
|
| 10 |
+
- ip-address
|
| 11 |
+
- asn
|
| 12 |
+
- rir
|
| 13 |
+
- whois
|
| 14 |
+
- networking
|
| 15 |
+
- cybersecurity
|
| 16 |
+
- osint
|
| 17 |
+
- open-data
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10M<n<100M
|
| 20 |
---
|
| 21 |
+
|
| 22 |
+
# GeoIP Locations — Monthly IPv4 GeoIP Dataset
|
| 23 |
+
|
| 24 |
+
A free, monthly dataset of the **routed IPv4 address space** at **`/24` granularity** — one row per `/24` prefix — covering geolocation, network/ASN, ownership, registry and risk attributes. Maintained by **ProdIPData** and mirrored from **https://geoiplocations.com**. Licensed **CC BY 4.0** (free to use, including commercially, with attribution).
|
| 25 |
+
|
| 26 |
+
## What's in each row (`/24` prefix)
|
| 27 |
+
|
| 28 |
+
| Group | Fields |
|
| 29 |
+
| --- | --- |
|
| 30 |
+
| **Geolocation** | `CountryCode`, `ContinentCode`, `IsInEU`, `RegionName` (ISO 3166-2), `CityName`, `Latitude`, `Longitude`, `TimeZone` |
|
| 31 |
+
| **Network / ASN** | `ASNID`, `ASNName`, `ASNOrg`, `ASNDomain`, `ASNType` (ISP / hosting / business / education / government) |
|
| 32 |
+
| **Ownership (WHOIS)** | `Company`, `CompanyCountry`, `WhoisNetName`, `AbuseContact` |
|
| 33 |
+
| **Registry (RIR)** | `RIR` (ARIN/RIPE/APNIC/LACNIC/AFRINIC), `RIRAllocationDate`, `RIRStatus` |
|
| 34 |
+
| **Risk signals** | `HasC2`, `C2Malwares`, `IsTor`, `Anonymization`, bogon flags |
|
| 35 |
+
|
| 36 |
+
Key column: `IP24Prefix` (e.g. `8.8.8.0/24`).
|
| 37 |
+
|
| 38 |
+
## Coverage
|
| 39 |
+
|
| 40 |
+
- **14M+** routed `/24` prefixes · **240+** countries · **~3.7B** IPv4 addresses represented
|
| 41 |
+
- Coordinates spatially validated against public-domain **Natural Earth** boundaries (~99.97% country-level match)
|
| 42 |
+
- Updated **monthly**; each release is tagged by month (`YYYY-MM`)
|
| 43 |
+
|
| 44 |
+
## Load it
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
# pandas — read straight from the Hub
|
| 48 |
+
import pandas as pd
|
| 49 |
+
df = pd.read_parquet(
|
| 50 |
+
"hf://datasets/ProdIPData/geoip-locations/prefix_attributes_2026-06_iso-ALL.parquet"
|
| 51 |
+
)
|
| 52 |
+
|
| 53 |
+
# duckdb (query without loading it all into memory)
|
| 54 |
+
import duckdb
|
| 55 |
+
duckdb.sql("""
|
| 56 |
+
SELECT CountryCode, COUNT(*) AS prefixes
|
| 57 |
+
FROM 'prefix_attributes_2026-06_iso-ALL.parquet'
|
| 58 |
+
GROUP BY 1 ORDER BY 2 DESC LIMIT 10
|
| 59 |
+
""").show()
|
| 60 |
+
|
| 61 |
+
# Hugging Face datasets
|
| 62 |
+
from datasets import load_dataset
|
| 63 |
+
ds = load_dataset("ProdIPData/geoip-locations")
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Formats
|
| 67 |
+
|
| 68 |
+
Also published as **CSV** and **MMDB** (MaxMind-compatible) at https://geoiplocations.com/downloads.html. The site additionally offers an in-browser **Prefix Lookup** (resolves any IP/`/24` client-side, nothing sent to a server) and density / region maps.
|
| 69 |
+
|
| 70 |
+
## Limitations
|
| 71 |
+
|
| 72 |
+
- Geolocation is **derived** from MaxMind, the RIRs and other upstream sources merged monthly — it is a **snapshot, not real-time**, and only as accurate as those sources.
|
| 73 |
+
- **Low-confidence blocks fall back to country-level centroids.** For example `8.8.8.8` resolves to the US geographic centre, not Mountain View. An explicit `AccuracyRadius` field is being added so precision is visible rather than implied.
|
| 74 |
+
- `/24` granularity: attributes describe the block, not individual hosts.
|
| 75 |
+
|
| 76 |
+
## Attribution
|
| 77 |
+
|
| 78 |
+
Please credit **ProdIPData / GeoIP Locations (geoiplocations.com)** under **CC BY 4.0**. Country/region boundaries © **Natural Earth** (public domain).
|
| 79 |
+
|
| 80 |
+
- Website: https://geoiplocations.com
|
| 81 |
+
- Downloads: https://geoiplocations.com/downloads.html
|
| 82 |
+
- Methodology: https://geoiplocations.com/methodology.html
|