APImcp
GuidesGeo & Network
ConsoleDocsMCP
Geo & Network ⏱ 1 min read

IP Geolocation API — Look Up IP Address Location, ISP, and ASN

Get geolocation data for any IP address including country, city, ISP, ASN, and coordinates. Free API with no registration required.

01

What is IP Geolocation?

IP geolocation maps an IP address to its approximate geographic location including country, region, city, latitude/longitude coordinates, and timezone. The API also returns ISP (Internet Service Provider) information, ASN (Autonomous System Number), and connection type. Useful for localization, analytics, fraud detection, and content delivery optimization.

02

How to Use It

Call GET /api/v1/ip to get your own IP information. Call GET /api/v1/ip?ip=8.8.8.8 to look up a specific IP. Returns { ip: string, country: string, country_code: string, region: string, city: string, lat: number, lon: number, isp: string, asn: string, timezone: string }.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

How accurate is IP geolocation?
Country-level accuracy is near 100%. City-level accuracy varies by IP type — mobile IPs are less accurate than fixed broadband IPs.
Is my own IP tracked?
No IPs are stored or logged. The API is for real-time lookups only.