IP Geolocation API
Turn any IP address into rich location data instantly. Get country, city, timezone, currency, and network details with a single API call. Built for developers who need accurate, fast, and reliable geolocation data.
99.5%+
Country Accuracy
<100ms
Response Time
40+
Data Fields
300+
Edge Locations
The Hummingbird IP Geolocation API is a REST API that converts any IPv4 or IPv6 address into precise geographic location data β including country, city, region, timezone, currency, and network information β with sub-100ms response times globally.
Everything you need to add IP Geolocation support to your stack in one simple API call.
Get comprehensive IP geolocation data integrated into your applications today.
Country Detection
Get ISO alpha-2, alpha-3 country codes, and full country name for any IP address.
City-Level Precision
Pinpoint users to the city level with region, state, and postal code data.
GPS Coordinates
Get precise latitude and longitude for mapping and distance calculations.
Continent Detection
Identify which continent an IP originates from with code and full name.
EU Membership Check
Instantly identify EU users for GDPR compliance and cookie consent flows.
Timezone Detection
Get IANA timezone identifier and abbreviation for scheduling and display.
Real-Time Local Time
Access current local time with Unix timestamp and ISO 8601 format.
Daylight Saving Status
Know if DST is active to handle time calculations and scheduling correctly.
Currency Detection
Detect local currency code, name, and symbol for price localization.
Country Flag Emoji
Display country flags instantly without maintaining your own asset library.
Calling Code
Get international dialing codes for phone number formatting and validation.
Language Detection
Identify primary languages spoken in the country for content localization.
ISP Identification
Detect the Internet Service Provider for network analysis and filtering.
ASN Lookup
Get Autonomous System Number and organization for network intelligence.
Connection Type
Identify if the connection is Corporate, Residential, Mobile, or other types.
User Type Detection
Distinguish between hosting, business, residential, and other user types.
Build smarter experiences with geolocation data.
Content Localization
Show users content in their language and local currency automatically. Personalize experiences based on geographic context without asking users to set preferences.
United States visitor
Detected via IP: 8.8.8.8
Currency
$USD
Language
EN
Timezone
PST
Germany visitor
EU Member State detected
Cookie Consent Required
country_is_eu: true
GDPR Compliance
Identify EU users to display appropriate cookie consent banners and comply with privacy regulations. The API returns a simple country_is_eu boolean for easy implementation.
Fraud Prevention
Detect suspicious activity by comparing user-claimed location with actual IP geolocation data. Flag transactions where billing address doesn't match IP location.
Transaction Check
ReviewVisitor Distribution
Analytics & Insights
Understand where your users are coming from to optimize marketing spend and infrastructure decisions. Build geographic dashboards and track regional trends.
Time-Zone Aware Scheduling
Schedule notifications, emails, and events based on the user's local time. Show live chat only during business hours in their timezone, or send marketing messages at optimal times.
User's Local Time
OnlineNetwork Intelligence
Network Traffic Analysis
Identify bot traffic, data center IPs, and hosting providers. Distinguish between residential, corporate, and mobile connections to filter traffic and customize experiences.
Get started now in 3 simple steps.
From signup to your first API call in under 5 minutes.
Get your free API key.
Create a free account and get an API key in just a few clicks. No credit card required.
Create My Free AccountMake your first request.
Call the API with any IP address. Omit the IP parameter to lookup the requester's IP.
Parse the response.
Extract the data you need from the JSON response. Explore the docs for fields and examples.
What is an IP Geolocation API?
How IP Geolocation Works
An IP Geolocation API converts IP addresses into geographic location data. Here's how:
- Every internet-connected device has an IP address allocated to specific regions.
- Our database maps IP ranges to geographic coordinates, ISPs, and organizations.
- Returns 40+ data fields including location, timezone, currency, and network info.
Common Use Cases
- Content localization: Show prices in local currency and content in the user's language.
- Fraud prevention: Flag transactions where IP location doesn't match billing address.
- GDPR compliance: Identify EU users to trigger appropriate consent flows.
- Analytics: Understand geographic traffic distribution and regional trends.
Why Hummingbird?
- Frequently updated: Database refreshed freqeuntly (even multiple times per day) for accuracy.
- Edge-deployed: 300+ global locations for sub-100ms response times.
- Developer-friendly: Clean JSON responses, simple integration, in any programming language.
Discover how the IP Geolocation API works for you.
From request to response with pinpoint accuracy and low latency, anywhere in the world.
Request
Your application sends an API request with the IP address you want to lookup (or omit for the requester's IP).
Edge Processing
Our edge network processes your request at the nearest point of presence for minimal latency.
Response
You receive a JSON response with location, timezone, currency, and network data.
Explore every field in the IP Geolocation API response.
40+ data points returned with every IP Geolocation API lookup, organized into logical groups for easy integration with your application stack.
Data Fields
Data Categories
API Call
Common questions, answered.
Everything you need to know about the IP Geolocation API.
Is there a free IP geolocation API?
How accurate is the IP geolocation data?
What is the API response time?
What programming languages do you support?
Can you detect VPNs, proxies, or Tor?
network.user_type and network.connection_type fields that help identify hosting providers, data centers, and corporate networks. While not a dedicated VPN detection service, these fields flag many proxy and VPN exit nodes. Do you support both IPv4 and IPv6?
What happens if I don't pass an IP address?
How often is the geolocation database updated?
Do you store or log the IP addresses I look up?
Is there a rate limit?
Can I use this for GDPR compliance?
country_is_eu field that indicates whether the IP is located in an EU member state. This is commonly used to trigger GDPR-compliant cookie consent flows. How does Hummingbird compare to MaxMind or IPinfo?
Ready to validate and integrate?
Claim your 2,000 free requests today. No credit card required.