IP Geolocation APIs
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
AbstractAPI IP GeolocationLooks up a visitor's country, region, city, and timezone from their IP address. Location & Mapping › IP Geolocation | Freemium | API key | JSON | <100/day | Live |
ApiipIP geolocation lookup returning country, city, currency, timezone, and ISP data for an IP address. Location & Mapping › IP Geolocation | Freemium | API key | JSON | — | Live |
BigDataCloud's IP Geolocation APILocates an IP address to city/region level using router-topology mapping rather than WHOIS data. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Live |
BigDataCloud's Network Engineering APIASN details, BGP prefix data, IP-to-network lookups and Tor exit-node detection for network engineering. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Untested |
Country.isLooks up a visitor's country (and optionally city/ASN) from their IP address. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
FreeGeoIPLegacy free IP-to-location lookup; the domain now silently redirects requests to IPBase's API. Location & Mapping › IP Geolocation | None | JSON | — | Deprecated | |
GeoJSFree IP geolocation lookup returning country, city, coordinates and ASN, no key required. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
Geolocated.ioIP-to-location lookups (country, city, ISP, lat/long) with single, batch, and self-lookup endpoints. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Untested |
GeoPluginIP-to-location lookup returning country, city, coordinates, timezone and currency, now paid-only. Location & Mapping › IP Geolocation | Paid | API key | JSON | — | Live |
HackMyIPKeyless IP geolocation, VPN/proxy scoring, email breach checks, DNS and WHOIS lookups. Location & Mapping › IP Geolocation | Free | None | JSON | 10k+/day | Live |
icanhazipReturns the caller's public IP address as plain text; also available on ipv4/ipv6 subdomains. Location & Mapping › IP Geolocation | None | text/plain | Unlimited | Live | |
IP 2 CountryLegacy IPv4/IPv6-to-country lookup; the provider now redirects users to ipapi.com's geolocation API. Location & Mapping › IP Geolocation | None | JSON | Unlimited | Deprecated | |
ip-apiLooks up city, region, ISP and coordinates for an IP address or domain, no key needed. Location & Mapping › IP Geolocation | Freemium | None | JSON | 10k+/day | Live |
IP-API.ioIP geolocation with VPN, proxy, Tor detection and risk scoring, paid plans only. Location & Mapping › IP Geolocation | Paid | API key | JSON | — | Live |
ip.appReturns caller's IP, ASN, geolocation, timezone, user-agent and basic bot/security signals. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
Ip2GeoConverts an IPv4/IPv6 address into country, city, coordinates, timezone, currency and ASN data. Location & Mapping › IP Geolocation | Freemium | API key | JSON | <100/day | Live |
IP2Location.ioLooks up country, region, city, and coordinates for an IP address, plus optional domain WHOIS data. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Live |
IP99IP address risk scoring — proxy, VPN, and datacenter detection — plus city-level geolocation, no key needed. Location & Mapping › IP Geolocation | Freemium | None | JSON | 1k–10k/day | Live |
ipapi.coLooks up city, region, country, coordinates, timezone, and ASN for any IPv4/IPv6 address. Location & Mapping › IP Geolocation | Freemium | None | JSON | 100–1k/day | Live |
ipapi.comIPv4/IPv6 geolocation and reverse lookup: city, coordinates, ISP, proxy/TOR detection. Location & Mapping › IP Geolocation | Freemium | API key | JSON | <100/day | Untested |
ipfind.ioLooks up country, city, timezone, currency and languages for an IP address. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Live |
ipgeolocation.ioIP-to-location, timezone, ASN, currency, and (paid) security/company data for any IP address. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Live |
ipgeolocationapiIP-to-location lookup with ASN, timezone, currency and (paid) VPN/proxy threat detection, no key for basics. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Live |
ipifyReturns the caller's public IPv4 or IPv6 address as plain text, JSON, or JSONP. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
IPinfoMaps an IPv4 or IPv6 address to country and ASN free; paid tiers add city, VPN/proxy and carrier data Location & Mapping › IP Geolocation | Freemium | API key | JSON | Unlimited | Live |
IPLocateIP geolocation plus ASN, hosting, company and privacy/threat data (VPN, proxy, Tor detection) for any IP. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Live |
IPQueryFree keyless IP lookup: geolocation, ISP/ASN, and VPN, Tor, proxy and datacenter risk flags. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
ipstackLooks up city, region, coordinates, timezone, currency and connection type for an IP address. Location & Mapping › IP Geolocation | Freemium | API key | JSON | <100/day | Live |
ipwhoisIP-to-location lookup with country, city, timezone, currency, ISP and optional proxy/VPN detection. Location & Mapping › IP Geolocation | Freemium | None | JSON | 1k–10k/day | Live |
KeyCDN IP Location FinderCountry, region, city, coordinates and timezone for an IP address or hostname, from MaxMind GeoLite data. Location & Mapping › IP Geolocation | Free | None | JSON | — | Untested |
MY IPReturns the caller's public IP address, country name and ISO country code. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Down |
MyIPRightNowReturns the caller's public IP, ASN, ISP, geolocation and timezone as JSON with no key needed. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
PointpinIP address to continent, country, region, city, postcode, coordinates and time zone lookup. Location & Mapping › IP Geolocation | Paid | API key | JSON | — | Live |
Proweblook IP CheckerEdge-hosted IP geolocation returning country, city, ASN, ISP, timezone and VPN/proxy risk flags. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Live |
The IP APIIP geolocation, ASN/WHOIS lookup and VPN/datacenter/bogon detection for IPv4 and IPv6. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Degraded |
Unblock Master IPIPv4/IPv6 lookup returning geolocation plus VPN or datacenter detection, no key needed. Location & Mapping › IP Geolocation | Free | None | JSON | 10k+/day | Live |
Choosing an IP Geolocation API
Is there a free IP Geolocation API?
Yes. GeoJS, Country.is, HackMyIP, ip.app, ipify and 4 others are free to use, and IPinfo, ipapi.co, AbstractAPI IP Geolocation, Apiip, BigDataCloud's IP Geolocation API and 15 others have a free tier alongside paid plans.
Which IP Geolocation APIs work without an API key?
ipapi.co, GeoJS, Country.is, HackMyIP, icanhazip and 9 others need no key or sign-up, so you can try them with a plain request.
Can I call an IP Geolocation API from front-end JavaScript?
ipapi.co, GeoJS, Country.is, HackMyIP, icanhazip and 8 others allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.
Can I use IP Geolocation APIs in a commercial project?
IPinfo, BigDataCloud's Network Engineering API, Country.is, Geolocated.io, HackMyIP and 8 others permit commercial use. ipapi.co, AbstractAPI IP Geolocation, Apiip, ip-api, ipapi.com and 2 others restrict it, for example to non-commercial or attributed use, so read the terms first.
Which IP Geolocation APIs work with AI agents?
ip.app and IP99 have both an MCP server and an OpenAPI spec. AbstractAPI IP Geolocation, HackMyIP, IP2Location.io, ipgeolocationapi and Proweblook IP Checker publish an OpenAPI spec for generating clients and tools.
More specific: VPN & Proxy Detection APIs · ASN Lookup APIs
More in Location & Mapping: Geocoding APIs · Address & Postal Code APIs · Maps APIs · Routing APIs · Places APIs · Countries APIs
Related: Fraud Detection APIs