IP Geolocation API provides real-time and accurate geolocation, network, abuse, and security information for any IPv4 or IPv6 address.
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.
Important References
- For details on request limits and handling rate limiting, refer here
- For a complete overview of API credit consumption and usage, refer here
Fields Description
ip
IP address being analyzed
8.8.8.8
location
Geolocation information derived from IP address
continent_code
Continent code
NA
continent_name
Continent name
North America
country_code2
2-letter ISO country code
US
country_code3
3-letter ISO country code
USA
country_name
Country name
United States
country_name_official
Official country name
United States of America
country_capital
Capital city of the country
Washington, D.C.
state_prov
State or province name
California
state_code
State or province code
US-CA
district
District or region
Santa Clara
city
City name
Mountain View
locality
Local area or locality
Mountain View
accuracy_radius
Accuracy radius of geolocation data
zipcode
Postal/ZIP code
94043-1351
latitude
Geographic latitude
37.42240
longitude
Geographic longitude
-122.08421
is_eu
Indicates whether the location is in the EU
false
geoname_id
GeoNames identifier
6301403
country_emoji
Country flag emoji
🇺🇸
country_metadata
Additional country-level metadata
calling_code
International calling code
+1
tld
Top-level domain of the country
.us
languages
List of spoken languages in the country
en-US
network
Network-related information for the IP
asn
Autonomous System Number details
as_number
AS number identifier
AS15169
organization
Organization owning the ASN
Google LLC
country
Country of ASN registration
US
asn_name
ASN name
GOOGLE
type
Type of ASN (e.g., BUSINESS)
BUSINESS
domain
Associated domain
about.google
date_allocated
ASN allocation date
allocation_status
ASN allocation status
assigned
num_of_ipv4_routes
Number of IPv4 routes
967
num_of_ipv6_routes
Number of IPv6 routes
104
rir
Regional Internet Registry
ARIN
connection_type
Type of network connection
company
Company owning the IP/network
name
Company name
Google LLC
type
Company type
domain
Company domain
currency
Local currency information based on IP location
code
Currency code
USD
name
Currency name
US Dollar
symbol
Currency symbol
$