IP to City Snapshots
The endpoint lets you specify a date parameter to fetch a snapshot for that day. It delivers a ZIP archive containing several .gz files, each holding different datasets such as abuse records, ASN information, country metadata, place names, and company details. At the core of the archive is ip-to-city-db.csv, which provides district and state-level mappings enriched with attributes like accuracy radius, geo-name IDs, latitude, and longitude.
Authorization
You can make authorized requests to our API by passing API key as a query parameter. To get your API key, login to our billing dashboard and get your API key! If your API key has been compromised, you can change it by clicking on reset button in billing dashboard.
Fields Description
start_ip
Start IP address of the range
99.242.182.227
end_ip
End IP address of the range
99.242.182.227
location_identifiers
Geographical identifiers linked to the IP location
country_id
Internal country identifier
29
state_place_id
State/province place identifier
597
state_code
State/region code
CA-ON
district_place_id
District identifier
3961
city_place_id
City identifier
1650
geo_accuracy
Location accuracy and confidence metrics
accuracy_radius
Estimated accuracy radius (km)
5.49
confidence
Confidence level of geolocation result
high
dma_code
Designated Market Area code (if available)
postal_location
Postal and geographic coordinates
zip_code
Postal/ZIP code
N6A
latitude
Latitude coordinate
42.98492
longitude
Longitude coordinate
-81.24528
geo_name_id
GeoName identifier for location
10280121
time_zone_name
Time zone of the location
America/Toronto
network_info
Network and connection details
connection_type
Type of internet connection
Cable
company_details_id
Internal company identifier
2752938
asn_details_id
Autonomous System Number details ID
28986
abuse_details_id
Abuse contact record ID
5536187