FreeAPIHub
HomeAPIsAI ModelsAI ToolsBlog
Favorites
FreeAPIHub

The central hub for discovering, testing, and integrating the world's best AI models and APIs.

Platform

  • Categories
  • AI Models
  • APIs

Company

  • About Us
  • Contact
  • FAQ

Help

  • Terms of Service
  • Privacy Policy
  • Cookies

© 2026 FreeAPIHub. All rights reserved.

GitHubTwitterLinkedIn
  1. Home
  2. Categories
  3. Geolocation & Mapping
  4. IP Geolocation API by IPify
published

IP Geolocation API by IPify

The IP Geolocation API by IPify allows developers to track IP-based geographic information, providing country, city, ISP, and VPN data with high accuracy.

Developed by IPify

Live API
99.90%Uptime
150msLatency
1.2kStars
API KeyAuth
NoCredit Card
RESTStyle
v2Version

Reference

API Endpoints

Endpoints

Available routes, request structures, and code examples.

Retrieves detailed geolocation data for a given IP address.

Endpoint URL
https://geo.ipify.org/country,city
Code Example
curl -X GET 'https://geo.ipify.org/country,city' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Request Payload
{
  "ipAddress": "string (optional) - IP address to lookup"
}
Expected Response
{
  "ip": "8.8.8.8",
  "isp": "Google LLC",
  "location": {
    "city": "Mountain View",
    "region": "California",
    "country": "US",
    "timezone": "-07:00",
    "postalCode": "94035"
  }
}
Version:v2
Limit:1000 requests/month free tier

Integration

Quick Start

cURL ExampleREST
curl -X GET "https://geo.ipify.org/api/v2/api/v2?apiKey=YOUR_API_KEY&ipAddress=8.8.8.8"

Docs

Technical Documentation

What this API does

The IP Geolocation API by IPify delivers accurate geographic details for any IP address, including country, city, ISP, ASN, timezone, and VPN detection. This functionality enables developers to customize application content based on user location.

How it works

Developers issue GET requests to the API to obtain location data for an IP address. The responses are provided in structured JSON format. The API efficiently handles both IPv4 and IPv6 addresses, ensuring broad compatibility.

Authentication

The API utilizes a straightforward authentication mechanism through an API key. Developers can acquire an API key by signing up on the IPify platform, granting access to the service with the required secure identifier.

Example usage

  • https://geo.ipify.org/api/v1?apiKey=YOUR_API_KEY&ipAddress=8.8.8.8 - Retrieves geolocation data for the specified IP address.

Limits

The API allows up to 1,000 free requests per month. No credit card is required for this tier, making it accessible for small projects and testing.

Ideal use cases

  • Enhancing web application user experience through location-based content.
  • Analyzing user demographics for marketing purposes.
  • Implementing security measures based on IP location.
  • Integrating location data into analytics platforms for better insights.

Examples

Real-World Applications

  • Enhancing user experience by delivering location-specific content
  • Improving security by detecting unusual IP address locations
  • Augmenting analytics with geographic user behavior data
  • Building location-based features in web and mobile apps

Evaluation

Advantages & Limitations

Advantages
  • ✓ Supports both IPv4 and IPv6 addresses
  • ✓ Includes ISP and ASN information for deeper insights
  • ✓ Provides accurate VPN detection for security use cases
  • ✓ Generous free tier with 1,000 free requests per month
Limitations
  • ✗ No official SDKs for some popular languages
  • ✗ Rate limiting may restrict high volume usage
  • ✗ Free tier limited to 1,000 requests/month, which may not suffice for large apps
  • ✗ Authentication requires passing API key in query parameter which could expose keys if not careful

Support

Frequently Asked Questions

Important Notice

Verify Before You Decide

Last verified · Apr 30, 2026

The details on this page — including pricing, features, and availability — are based on our last review and may not reflect the provider's current offering. Providers update their products frequently, sometimes without prior notice.

What may have changed

Pricing Plans
Features & Limits
Availability
Terms & Policies

Always visit the official provider website to confirm the latest pricing, terms, and feature availability before subscribing or integrating.

Check official site

External Resources

Documentation Official Website Pricing Details Postman Collection

API Specifications

v2
Pricing Model
Pay-as-you-go with subscription options for higher usage
Credit Card
Not Required
Response Formats
JSON
Supported Languages
7 Languages
SDK Support
JavaScript, Python
Rate Limit

60 requests per minute

Time to Hello World

5 minutes

Free Tier

1,000 free requests per month with no credit card required

Best For

Developers needing reliable IP geolocation data for small to medium scale applications

Not Ideal For

Applications requiring extremely high request volumes without custom pricing

Tags

#vpn-detection#ipify#freemium#isp#asn#ip-geolocation#network#location

You Might Also Like

More APIs Similar to IP Geolocation API by IPify

Zippopotam.us API

The Zippopotam.us API offers developers free access to geographic data based on postal codes, ideal for address validation and auto-fill applications.

publicREST

REST Countries API

The REST Countries API offers free access to comprehensive data for over 250 countries, making it ideal for applications that require reliable country information.

publicREST

Countries Now API

The Countries Now API offers developers straightforward access to comprehensive country data, enhancing applications that require location-specific information.

publicREST