API Basics
★  Fundamentals
★  Error Codes
★  Examples
★  Batch Processing
★  Specification
★  SDKs
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.

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
ipbooleanThe IP address
countrystringFull country name
country-codestringISO 2-letter country code
citystringFull city name (if detectable)
regionstringFull region name (if detectable)
longitudefloatLocation longitude
latitudefloatLocation latitude
hostnamestringThe IPs hostname (only set if reverse-lookup has been used)

Free limit: 25/day