API Basics
★  Fundamentals
★  Error Codes
★  Examples
★  Batch Processing
★  Specifications
★  Best Practice
★  SDKs
★  Stats
Data Tools
Security and Networking

IP Info

Get location information about an IP address and do reverse DNS (PTR) lookups.

You can determine the hostname, country, region, city, longitude and latitude of the IP address. Our geolocation data is being updated on a daily basis as internet address allocation changes and as new IP ranges come online.

This API supports both IPv4 and IPv6.

Need to determine the provider type for an IP address? Check out the IP Probe API

End Point

Test API
API Request
ipyesstringIPv4 or IPv6 address
reverse-lookupnobooleanfalseDo a reverse DNS (PTR) lookup. This option can add extra delay to the request so only use it if you need it
API Response
validbooleanIs this a valid IPv4 or IPv6 address
ipstringThe IP address
countrystringFull country name
country-codestringISO 2-letter country code
country-code3stringISO 3-letter country code
continent-codestringISO 2-letter continent code
currency-codestringISO 4217 currency code associated with the country
citystringName of the city (if detectable)
regionstringName of the region (if detectable)
longitudefloatLocation longitude
latitudefloatLocation latitude
hostnamestringThe IPs full hostname (only set if reverse-lookup has been used)
host-domainstringThe IPs host domain (only set if reverse-lookup has been used)
timezonemapMap containing timezone details for the location:
  • id - the time zone ID as per the IANA time zone database (tzdata)
  • name - the time zone name
  • abbr - the time zone abbreviation
  • date - the current date within the time zone (ISO format)
  • time - the current time within the time zone (ISO format)
Daily Limits
Free TierTier 1Tier 2Tier 3