Production-Ready Utility APIs

Fast, reliable APIs for email validation, IP geolocation, IBAN verification, and code generation. Free to use. No authentication required.

← Back to all APIs

IP Geolocation API

POST /api/v1/validate/ip

Look up any IP address to get detailed geolocation data including country, region, city, latitude/longitude coordinates, and timezone. Powered by the MaxMind GeoIP2 database.

Request Body

ip string required

The IP address to look up (IPv4 or IPv6)

Example Request

{ "ip": "8.8.8.8" }

Response

{ "validationResult": { "ip": "8.8.8.8", "country": "United States", "region": "California", "city": "Mountain View", "latitude": 37.386, "longitude": -122.0838, "timezone": "America/Los_Angeles" } }

Response Fields

country string

The country in which the IP address is located

region string

The state, province, or region associated with the IP address

city string

The city corresponding to the IP address location

latitude / longitude number

Approximate coordinates of the IP location

timezone string

The IANA timezone identifier for the IP location

Try it out