
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).
Free tier: 20000/month — more generous than ipstack
VPN/proxy detection weaker than dedicated fraud-detection services like MaxMind
Sign up for an API key. GET ipgeolocation.abstractapi.com/v1/?api_key=...&ip_address=... returns full JSON.
Uptime · 30-day window
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.
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
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)
Example request
curl https://abstractapi.com/<endpoint>Getting started
Sign up for an API key. GET ipgeolocation.abstractapi.com/v1/?api_key=...&ip_address=... returns full JSON.
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.
Technical details
- 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