Skip to content
IP IPBot
Get Started

Free IP Geolocation APIs

There are several free IP geolocation APIs available. This comparison focuses on product trade-offs that matter for developers: authentication, browser use, response shape, rate limits, and whether the API includes security-oriented IP intelligence.

ServiceFree LimitAPI Key RequiredBrowser CORSRisk / Security SignalsSelf-Host
IPBot60 req/min anonymous, 200 req/min free keyNo for anonymousYesYes, evidence-first score/classification/signalsYes
IP-API.com45 req/minNoLimited by plan / endpointProxy fields are paid-orientedNo
ipapi.co1,000/dayNo for basic useYesNo dedicated risk modelNo
ipwhois.io60 req/min free endpointNoNo on free endpointSecurity data is paid-plan onlyNo
ipgeolocation.ioLow monthly free tierYesPlan-dependentSecurity fields are paid-orientedNo
Cloudflare traceNo standalone public quota promiseNoSame-origin/edge contextNoNo

URL: https://api.ipbot.com

Free access:

  • Anonymous access at 60 req/min.
  • Free API key tier at 200 req/min.
  • CORS is supported for browser-facing demos and frontend tools.
  • Rate-limit headers are exposed so clients can back off predictably.

Best for: Applications that need geolocation plus explainable risk scoring, proxy/datacenter/crawler flags, and a stable public response contract.

URL: http://ip-api.com/json/{ip}

Free access:

  • 45 requests per minute on the public endpoint.
  • HTTPS and higher-volume/commercial use are plan-sensitive.

Best for: Low-volume server-side geolocation where a simple response is enough.

URL: https://ipapi.co/{ip}/json/

Free access:

  • Public docs advertise a small daily free allocation.
  • Extended usage and support are plan-sensitive.

Best for: Geolocation plus country/timezone/currency-style enrichment when security scoring is not the main need.

URL: https://ipwho.is/{ip}

Free access:

  • Official docs describe the free endpoint as no signup, no API key, and 60 requests per minute.
  • The free endpoint is server-to-server only; CORS is not supported on the free endpoint.
  • Bulk lookup, browser CORS, currency data, security data, usage analytics, SLA, and priority routing are positioned as paid-plan capabilities.

Developer-experience ideas worth borrowing:

  • Official client libraries across several languages.
  • A fields query parameter for response projection.
  • Clear separation between free server-to-server usage and paid production features.

Best for: Server-side geolocation with a broad country metadata response and a clear paid upgrade path.

URL: https://api.ipgeolocation.io/ipgeo?ip={ip}

Free access:

  • API key required.
  • Free usage is monthly quota based.

Best for: Projects that specifically need timezone, currency, or extended country metadata and can manage API keys from day one.

URL: https://1.1.1.1/cdn-cgi/trace

Free access:

  • Useful for simple country/network hints in Cloudflare-adjacent environments.
  • Not a full geolocation or IP reputation API.

Best for: Cloudflare Workers or debugging flows that only need coarse request context.

FeatureIPBotIP-APIipapi.coipwhois.ioipgeolocation
Country / region / cityYesYesYesYesYes
Coordinates / timezoneYesYesYesYesYes
ASN / organizationYesYesYesYesYes
Field projectionYesYes, via fields listProvider-specificYesProvider-specific
Browser CORS on free tierYesLimitedYesNoPlan-dependent
No key optionYesYesYes for basic useYesNo
Rate-limit headersYesProvider-specificProvider-specificRetry-After on 429Provider-specific
Evidence-first risk scoreYesNoNoPaid security fieldsPaid security fields
Proxy / VPN / Tor signalsYesPaid-orientedNo dedicated risk modelPaid security fieldsPaid security fields
Self-host optionYesNoNoNoNo

Use IPBot when you need a free developer path, browser-friendly CORS, rate-limit transparency, and security-oriented IP intelligence in the same response.

Use IP-API.com when you need simple low-volume geolocation and can accept its protocol and commercial-use constraints.

Use ipapi.co when currency or country metadata matters more than reputation scoring.

Use ipwhois.io when you want broad country metadata and server-side free usage, or when its paid production package fits your CORS, bulk, security-data, and SLA needs.

Use ipgeolocation.io when you can manage API keys up front and need its extended timezone/device/country metadata.

Use Cloudflare trace when you only need coarse request hints inside Cloudflare-adjacent infrastructure.