published

IP Geolocation API by IPify

IP Geolocation API by IPify provides developers with a reliable service for obtaining location data based on IP addresses, ideal for analytics and personalization.

Developed by IPify

99.99%Uptime
150msLatency
1.2kStars
API KeyAuth
NoCredit Card
RESTStyle
v2Version
API Endpoints

Reference for available routes, request structures, and live examples.

Retrieves detailed geolocation data for a given IP address.

Full Endpoint URL
https://geo.ipify.org/country,city
Implementation 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
Real-World Applications
  • Personalized content localizationOptimized Capability
  • Fraud detection by IP region mismatchOptimized Capability
  • Access control / geo blockingOptimized Capability
  • Analytics and user segmentation by locationOptimized Capability
Advantages
  • High accuracy with daily-updated database
  • Simple REST-based integration
  • Strong uptime SLA (99.99%)
  • Free tier for easy testing and low‑volume use
Limitations
  • Free tier limited to 1,000 credits/month
  • No XML support—JSON only
  • Rate limit per second may restrict burst-heavy use cases
  • No official bulk‑lookup endpoint

FAQs

API Specifications

v2
Pricing Model
Credit‑based
Credit Card
Not Required
Response Formats
JSON
Supported Languages
7 Languages
SDK Support
Python, Go, JavaScript, C#
Time to Hello World

Under 5 minutes to sign up and get API key

Rate Limit

100 requests per second

Free Tier Usage

1,000 credits (requests) per month with no credit card required

Use Case: Best For

Developers needing quick IP-to-location lookups for personalization, security or analytics at modest scale

Not Recommended For

High-volume or bulk geolocation lookups that exceed 1,000/month or require non‑JSON formats

#geolocation#location#ip

Explore Related APIs

Discover similar APIs to IP Geolocation API by IPify

View All APIs
OPEN SOURCE

REST Countries API

The REST Countries API offers developers free, no-key-required access to detailed country information, suitable for various applications.

Geolocation & MappingView Details
OPEN SOURCE

Countries Now API

The Countries Now API provides developers with structured geolocation data about countries and cities, making it ideal for enhancing international features in applications.

Geolocation & MappingView Details
OPEN SOURCE

Zippopotam.us

The Zippopotam.us API provides free access to postal and ZIP code information from over 60 countries, suitable for enhancing address lookup and geocoding functionality in applications.

Geolocation & MappingView Details