InternetDataInternetData

IP Geolocation Extended

IP Geolocation with each city's GeoNames id, an accuracy radius, the date each range's location last changed, and a US range's DMA code.

Explore API
IDip_geolocation_extended_v1
Formatscsvgz, mmdb
Update FrequencyDaily
Last UpdatedOctober 8th 2026 (yesterday)
Entries10,569,864
File Size (csvgz)132 MB
File Size (mmdb)73.0 MB

Overview

Every column of IP Geolocation, and four more:

  • 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.

Formats

curl -L -o ip_geolocation_extended_v1.csv.gz -X GET "https://internetdata.io/api/v2/database/download?id=ip_geolocation_extended_v1&format=csvgz&apikey=$APIKEY"
Schema
NameTypeDescription
start_ipipaddressStart IP of the IP range.
end_ipipaddressEnd IP of the IP range.
continentstringContinent of the IP range.
countrystringISO 3166-1 alpha-2 country code.
country_namestringCountry name of the IP range.
region_codestringISO 3166-2 region code, where it has one.
regionstringRegion (state/province) name, if any.
citystringCity name, on every row but the few in BV, HM and the retired AN and CS, which have no city: a range placed only to its region or country names that area's most likely city.
latitudefloatLatitude of the city.
longitudefloatLongitude of the city.
timezonestringIANA timezone of the IP range.
postal_codestringThe city's main postal code. Empty where the country has no postal codes, or none are known for it.
geoname_idstringGeoNames id of the city.
accuracy_radiusintegerRadius 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_changeddateDate the range's location (country, region, city or coordinates) last changed. The earliest date in the file means on or before that day.
dma_codestringThe 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.
Samples
start_ipend_ipcontinentcountrycountry_nameregion_coderegioncitylatitudelongitudetimezonepostal_codegeoname_idaccuracy_radiuslast_changeddma_code
2606:54c3:0:13f3::2606:54c3:0:13f3:ffff:ffff:ffff:ffffSABRBrazilBR-RSRio Grande do SulAlegrete-29.78306-55.79194America/Sao_Paulo97540-0003472638102026-10-01N/A
75.173.31.6175.173.31.61NAUSUnited StatesUS-LALouisianaShreveport32.52515-93.75018America/Chicago711014341513102026-10-06612
107.222.147.255107.222.147.255NAUSUnited StatesUS-TXTexasRichardson32.94818-96.72972America/Chicago75080472262520002026-10-02623
208.225.83.0208.225.83.255NAUSUnited StatesUS-MIMichiganWyoming42.91336-85.70531America/Detroit49509501561820002026-10-02563
216.140.43.0216.140.43.15NAUSUnited StatesUS-CACaliforniaNorwalk33.90224-118.08173America/Los_Angeles90650537799520002026-10-02803
curl -L -o ip_geolocation_extended_v1.mmdb -X GET "https://internetdata.io/api/v2/database/download?id=ip_geolocation_extended_v1&format=mmdb&apikey=$APIKEY"
Schema
NameTypeDescription
continentstringContinent of the IP range.
countrystringISO 3166-1 alpha-2 country code.
country_namestringCountry name of the IP range.
region_codestringISO 3166-2 region code, where it has one.
regionstringRegion (state/province) name, if any.
citystringCity name, on every row but the few in BV, HM and the retired AN and CS, which have no city: a range placed only to its region or country names that area's most likely city.
latitudefloatLatitude of the city.
longitudefloatLongitude of the city.
timezonestringIANA timezone of the IP range.
postal_codestringThe city's main postal code. Empty where the country has no postal codes, or none are known for it.
geoname_idstringGeoNames id of the city.
accuracy_radiusintegerRadius 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_changeddateDate the range's location (country, region, city or coordinates) last changed. The earliest date in the file means on or before that day.
dma_codestringThe 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.
Samples
continentcountrycountry_nameregion_coderegioncitylatitudelongitudetimezonepostal_codegeoname_idaccuracy_radiuslast_changeddma_code
SABRBrazilBR-RSRio Grande do SulAlegrete-29.78306-55.79194America/Sao_Paulo97540-0003472638102026-10-01N/A
NAUSUnited StatesUS-LALouisianaShreveport32.52515-93.75018America/Chicago711014341513102026-10-06612
NAUSUnited StatesUS-TXTexasRichardson32.94818-96.72972America/Chicago75080472262520002026-10-02623
NAUSUnited StatesUS-MIMichiganWyoming42.91336-85.70531America/Detroit49509501561820002026-10-02563
NAUSUnited StatesUS-CACaliforniaNorwalk33.90224-118.08173America/Los_Angeles90650537799520002026-10-02803

On this page