IP geolocation API logo

IP geolocation API

IP geolocation API

AbstractAPI IP Geolocation API resolves IPv4/IPv6 to geographic info — country, city, timezone, ISP, currency, connection type (WiFi/mobile).

Visit site ↗Health checked 9h ago
Use it when

Free tier: 20000/month — more generous than ipstack

Watch for

VPN/proxy detection weaker than dedicated fraud-detection services like MaxMind

First check

Sign up for an API key. GET ipgeolocation.abstractapi.com/v1/?api_key=...&ip_address=... returns full JSON.

Auth
CORS
No
HTTPS
Yes
Signup
?
Latency
1904 ms
Protocol
REST
Pricing

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 1904ms
01

About this API

IP geolocation is a foundational capability for web apps — knowing where visitors come from directly affects region switching, fraud-detection triggers, and GDPR/CCPA compliance differences. AbstractAPI sits in the "mid-price + developer-friendly" space: free tier more generous than ipstack (20000/month vs 1000/month), clear docs, rich response fields (location plus ISP, connection type, currency, calling code). Compared to dedicated fraud-detection databases (MaxMind GeoIP2, IPQualityScore), VPN/proxy detection is weaker, but it's cheaper and suits most non-fraud scenarios. Response time typically 100-300ms.

02

What you can build

  • 1Auto-detect visitor country for content localization
  • 2Fraud detection (extra verification from high-risk countries)
  • 3Ad targeting by location
  • 4Geo-fenced content access
03

Strengths & limitations

Strengths

  • Free tier: 20000/month — more generous than ipstack
  • Full IPv6 support
  • Includes ISP and connection type info

Limitations

  • VPN/proxy detection weaker than dedicated fraud-detection services like MaxMind
  • City accuracy may be off for small cities (IP block ownership issues)
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://abstractapi.com/<endpoint>
05

Getting started

Sign up for an API key. GET ipgeolocation.abstractapi.com/v1/?api_key=...&ip_address=... returns full JSON.

06

FAQ

Is IPv6 accurate?+

Yes — AbstractAPI maintains an IPv6 database with continuous updates. Overall precision is slightly lower than IPv4 (newer allocations).

Can it detect VPNs?+

Basic detection (flags type=VPN/Tor, etc.) exists. For deep fraud detection, prefer IPQualityScore or MaxMind minFraud.

07

Technical details

CORS: NoHTTPS: YesSignup: ?Open source: No
Auth type
unknown
Pricing
unknown
Protocols
REST
SDKs
python, javascript, typescript, php, ruby, go
Response time
1904 ms
Last health check
5/12/2026, 7:36:32 AM
08

Tags