Pinpoint Location Insights with our IP Geolocation API in Milliseconds

Enterprise-grade IP Location API for Threat Intelligence: Pinpointing Users’ Geographic Location with City-Level Accuracy and Radius at Global Scale.

curl --location --request GET 'https://api.whoisfreaks.com/v1.0/geolocation?apiKey=API_KEY&ip=8.8.8.8'
[
  {
    "ip": "8.8.8.8",
    "location": {
      "continent_code": "NA",
      "continent_name": "North America",
      "country_code2": "US",
      "country_code3": "USA",
      "country_name": "United States",
      "country_name_official": "United States of America",
      "country_capital": "Washington, D.C.",
      "state_prov": "California",
      "state_code": "US-CA",
      "district": "Santa Clara",
      "city": "Mountain View",
      "locality": "Mountain View",
      "accuracy_radius": "",
      "zipcode": "94043-1351",
      "latitude": "37.42240",
      "longitude": "-122.08421",
      "is_eu": false,
      "geoname_id": "6301403",
      "country_emoji": "🇺🇸"
    },
    "country_metadata": {
      "calling_code": "+1",
      "tld": ".us",
      "languages": [
        "en-US",
        "es-US",
        "haw",
        "fr"
      ]
    },
    "network": {
      "asn": {
        "as_number": "AS15169",
        "organization": "Google LLC",
        "country": "US",
        "asn_name": "GOOGLE",
        "type": "BUSINESS",
        "domain": "about.google",
        "date_allocated": "",
        "allocation_status": "assigned",
        "num_of_ipv4_routes": "967",
        "num_of_ipv6_routes": "104",
        "rir": "ARIN"
      },
      "connection_type": "",
      "company": {
        "name": "Google LLC",
        "type": "",
        "domain": ""
      }
    },
    "currency": {
      "code": "USD",
      "name": "US Dollar",
      "symbol": "$"
    }
  }
]
pricing backgroundEclipse Top RightEclipse Top LeftEclipse WHOIS Stats

Product

IP Geolocation API

Identify IP locations with precision for targeting, localization, and threat detection using our real-time IP Geolocation API.

IP Geolocation API

Our lightning-fast IP Location API pinpoints every visitor’s country, city, ZIP/postal code, latitude-longitude pair, and even neighbourhood-level locality with an accompanying accuracy radius. It provides well parsed data in JSON and XML format.

monitoring

Product

Bulk Geolocation Lookup

Instantly process and geolocate multiple IP addresses at once using our Bulk Geolocation API.

Bulk Geolocation API

The Bulk Geolocation API lets you submit up to 100 IPv4 or IPv6 addresses in a single request and instantly receive detailed geolocation data for each one in JSON format. It’s optimized for high-volume processing, making it ideal for applications that need to analyze large numbers of IPs quickly and efficiently.

monitoring

Features

What Our Geolocation API Offers

Real-time IP lookup and comprehensive geolocation database for targeting, personalization, and threat detection.

Feature icon

IP Location Module

It pinpoints users to the correct city in most lookups and often down to the exact neighbourhood.

Feature icon

Country Metadata

We enrich every IP response with country-specific metadata like calling codes, ccTLDs, and primary languages.

Feature icon

Network Module

The Network module provides full ASN intel like organization, country, type, RIR, allocation, company, and connection type.

Feature icon

Bulk IP Address Lookup

Use our Bulk IP Lookup endpoint to perform batch lookup of multiple IPs in one go. This will speed up your Analysis.

Feature icon

Country Level Accuracy

Determines the country associated with a given IP address with accuracy slightly above 90%.

Feature icon

City Level Accuracy

Accurately maps an IP address to a specific city or metro area with high precision for fraud detection and access control.

Feature icon

Zip Code & Timezone

Identifies an IP’s postal/ZIP code and time zone to enable precise delivery, localized experiences, and anomaly detection.

Feature icon

Latitude and Longitude

Provides the geographical coordinates (latitude and longitude) corresponding to the IP address location.

Product

IP Geolocation Database

Locates suspicious activity accurately with city and state-level Geo IP data.

IP Geolocation Database

Pinpoint the true origin of suspicious activity with WhoisFreaks’ Geo IP Database. Whether you're tracking threat actors, preventing fraud, or customizing user experiences, our data gives you accurate location insights down to the city and state level. It also includes IP to City and IP to country database.

monitoring

Use Cases

Geolocation in Action

See how IP address location insights power targeted marketing and real-time threat detection.

Feature icon

Threat Origin Detection

Use geolocation data to correlate IP addresses with precise locations, trace threat origins, and mitigate attacks in time.

Feature icon

Anomaly Detection

Flag unusual activity such as rapid logins from distant locations that may indicate account compromise.

Feature icon

Policy Enforcement and Compliance

Comply with data residency laws (e.g., GDPR) by restricting access or applying region-aware policies on the website.

Feature icon

Personalize Content

Deliver geo-targeted content by region using an IP location API to boost engagement and increase conversions.

Feature icon

Fraud Scoring

Compare the user’s IP against historical data and flag extreme or rapid shifts to high-risk locations or VPN usage.

Feature icon

Geofencing and Content Filtering

Use an IP location API to block risky access, protect sensitive services, and restrict adult content by region.

Request demo background

Use IP geolocation for location context to logins and transactions. Correlate anomalies such as impossible travel to detect and block suspicious activity.

FAQs

Common questions on geo enrichment: update frequency, free usage and rate-limiting.

What is an IP Geolocation API and what does it do?

An IP Geolocation API allows you to fetch a device’s physical location using its IP address. It provides real-time data such as country, city, ISP, timezone, and currency. We enhance this with VPN, proxy, and TOR detection powered by multiple reliable data sources and frequent updates for both IPv4 and IPv6.

What data does the IP Location API provide?

The IP Location API returns detailed IP-based data, including country, region, city, ZIP code, latitude/longitude, timezone, ISP, ASN, and organization. It also detects VPN/proxy usage, threat indicators, and parses user-agent data for device-level insights.

What’s the process to get access to the IP Geolocation API?

To access the API, simply sign up for a free account at WhoisFreaks and then get your API key from our billing dashboard, allowing you to start making requests right away.

What is a VPN and what does it do?

A VPN (Virtual Private Network) is a service that encrypts your internet traffic by creating a secure tunnel between your device and a remote server. This process hides your real IP address and routes your data through the VPN server, making it appear as if you're browsing from a different location. Unlike a proxy, a VPN not only masks your IP and changes your virtual location but also ensures your online activity and sensitive data remain private and protected from prying eyes, offering a higher level of anonymity and security.

Are there any free options for IP Geolocation API access?

Yes, we offer 500 free credits for new users. These allow access to core features like country, city, ISP, timezone, and currency. You can upgrade for higher usage limits and advanced features such as VPN/proxy/TOR detection.

How reliable is the location data from Geolocation API?

The API delivers over 99% accuracy at the country level and around 85%+ at the city level, with a typical accuracy range of 20-50 km. The database is updated daily and built from trusted sources for precise geolocation and supporting details like ISP and timezone.

How is the IP Location API secured?

All requests to the API are encrypted via HTTPS. Internally, it also uses globally distributed servers and edge nodes for uptime and DDoS protection, and it fully complies with data privacy laws like GDPR to ensure secure and ethical data use.

Can I perform bulk IP lookups with the IP Location API?

Yes, the API supports bulk IP lookups for up to 100 IPs per request. This feature is available on paid plans, and each IP in the batch counts toward your overall API usage.

What is the update frequency of the IP Location API data?

IP data is refreshed every 24 hours to ensure accuracy. Additionally, downloadable geolocation databases are available with weekly and monthly update options.

What is the number of free API credits available for new users, and are these credits rate-limited?

We will provide 500 API credits to new users and yes, those credits have a rate-limiting of 10 requests per minute for Live APIs, 5 requests per minute for Bulk Domain Lookup, and 1 request per minute for Reverse/Historical Endpoints.

Do you have rate limiting on number of requests being made on your paid plans?

Yes, we have rate limiting on requests being made on all of our paid plans. The requests limit is shown in the following table.

The Table is divided into three types of plans:

1) API Credits

Credits Live-rpm Bulk-rpm Historical/Reverse-rpm
5000 20 8 3
15000 35 12 5
50000 80 20 10
150000 120 25 15
450000 150 35 20
1000000 200 50 25
3000000 300 70 35

2) API Subscription

Credits Live-rpm Bulk-rpm Historical/Reverse-rpm
5000 20 8 3
15000 35 12 5
50000 80 20 10
150000 120 25 15
450000 150 35 20
1000000 200 50 25
3000000 300 70 35
  • Live-rpm: API requests per minute limit for live WHOIS lookup API, domain availability API, SSL certificate lookup API, and DNS lookup API endpoints.
  • Bulk-rpm: API requests per minute limit for bulk domain WHOIS lookup API endpoint.
  • Historical/Reverse-rpm: API requests per minute limit for historical, and reverse WHOIS API endpoints.

In case, the request per minute exceeds, it'll throw an error with HTTP error code of 429.

Do you provide any headers in API response regarding rate limiting?

Yes, there are following three header parameters in the response:
  • X-RateLimit-Allowed-Requests: Tells the max allowed API requests per minute on a specific plan.
  • X-RateLimit-Remaining-Requests: Tells the remaining API requests per minute for that plan.
  • X-RateLimit-Remaining-Time: Tells after how much time the API requests per minute will be reset.
Ready to get started?Join now and claim 500 credits for free!

Elevate your cybersecurity strategy with our all-in-one domain and IP intelligence platform empowering analysts, researchers, and brand owners with real-time WHOIS, DNS, IP, and subdomain insights.

Sign Up For Free