IP Geolocation
Every IP range mapped to continent, country, region and city, with the city's coordinates, timezone, postal code and GeoNames ID, an accuracy radius, the date the location last changed, and a US range's DMA code.
| ID | ip_geolocation_v1 |
|---|---|
| Formats | csvgz, mmdb |
| Update Frequency | Daily |
| Last Updated | November 8th 2026 (today) |
| Entries | 12,313,727 |
File Size (csvgz) | 147 MB |
File Size (mmdb) | 81.9 MB |
Overview
Every IPv4 and IPv6 range mapped to a continent, a country, a region and a city, with the latitude and longitude of the city, its IANA timezone and a postal code: the range's own where it's known, else the city's main one. Every range carries a country, and all but a handful a city: a range placed only to its region or country names that area's most likely city. The few without one are in Bouvet Island (BV) and Heard Island (HM).
Each row also carries:
geoname_id: the city's ID in the GeoNames gazetteer.accuracy_radius: the radius in kilometers around the latitude and longitude that holds the true location with 67% confidence. An anycast range, which answers from many places, has 20000.last_changed: the date the range's location (its country, region, city or coordinates) last changed. The earliest date in the file means on or before that day.dma_code: a US city's TV market (DMA, designated market area) as its 3-digit code: 501 is New York, 803 Los Angeles. Empty outside the US.
The continent, the country, the timezone, the currency and the flag of every range, and nothing finer, are free in IP Country.
Formats
curl -L -o ip_geolocation_v1.csv.gz -X GET "https://internetdata.io/api/v2/database/download?id=ip_geolocation_v1&format=csvgz&apikey=$APIKEY"| Name | Type | Description |
|---|---|---|
start_ip | ipaddress | Start IP of the IP range. |
end_ip | ipaddress | End IP of the IP range. |
continent | string | Continent of the IP range. |
country | string | ISO 3166-1 alpha-2 country code. |
country_name | string | Country name of the IP range. |
region_code | string | ISO 3166-2 region code, where it has one. |
region | string | Region (state/province) name, if any. |
city | string | City name, on every row but the few in BV and HM, which have no city: a range placed only to its region or country names that area's most likely city. |
latitude | float | Latitude of the city. |
longitude | float | Longitude of the city. |
timezone | string | IANA timezone of the IP range. |
postal_code | string | The range's own postal code where known, else its city's main postal code. Empty where the country has no postal codes, or none are known for it. |
geoname_id | string | GeoNames ID of the city. |
accuracy_radius | integer | Radius in km around the latitude and longitude that holds the true location with 67% confidence; 20000 for an anycast range, which answers from many places. |
last_changed | date | Date the range's location (country, region, city or coordinates) last changed. The earliest date in the file means on or before that day. |
dma_code | string | The city's US TV market (DMA, designated market area) as its 3-digit code: 501 is New York, 803 Los Angeles. Empty outside the US. |
| start_ip | end_ip | continent | country | country_name | region_code | region | city | latitude | longitude | timezone | postal_code | geoname_id | accuracy_radius | last_changed | dma_code |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
207.201.242.208 | 207.201.242.239 | NA | US | United States | US-LA | Louisiana | Monroe | 32.50931 | -92.1193 | America/Chicago | 71201 | 4333669 | 2000 | 2026-10-02 | 628 |
96.242.255.234 | 96.242.255.234 | NA | US | United States | US-NJ | New Jersey | Newark | 40.73566 | -74.17237 | America/New_York | 07102 | 5101798 | 50 | 2026-10-06 | 501 |
110.90.92.85 | 110.90.92.85 | AS | CN | China | CN-FJ | Fujian | Sanming | 26.24861 | 117.61861 | Asia/Shanghai | 365000 | 1796663 | 50 | 2026-10-19 | N/A |
77.100.244.15 | 77.100.244.18 | EU | GB | United Kingdom | GB-ENG | England | Walsall | 52.58528 | -1.98396 | Europe/London | WS1 | 2634853 | 50 | 2026-10-05 | N/A |
76.71.97.158 | 76.71.97.207 | NA | CA | Canada | CA-ON | Ontario | St. Catharines | 43.17126 | -79.24267 | America/Toronto | L2N | 6155721 | 10 | 2026-10-13 | N/A |