ipapi.co
Find IP address location information
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Geocoding
- Documentation / URL
- https://ipapi.co/api/#introduction
Overview
ipapi.co resolves IPs to geolocation data — city, country, timezone, and currency. Free tier is keyless but rate-limited strictly (our test from a datacenter IP hit HTTP 429 RateLimited — verified).
Quick Start
Your IP:
curl "https://ipapi.co/json/"
{
"ip": "210.61.187.110",
"city": "Kaohsiung",
"region": "Kaohsiung",
"country": "TW",
"country_name": "Taiwan",
"latitude": 22.6148,
"longitude": 120.3139,
"timezone": "Asia/Taipei",
"currency": "TWD"
}
Specific IP / formats:
curl "https://ipapi.co/8.8.8.8/json/"
curl "https://ipapi.co/8.8.8.8/country/"
curl "https://ipapi.co/8.8.8.8/csv/"
Authentication
- Anonymous: works but rate-limited (429 under load, verified).
- Free key: register at ipapi.co → key (100k/month) →
https://ipapi.co/{ip}/json/?key=YOUR_KEY.
Rate Limits & Notes
- Anonymous: very limited (shared pool); free key: 100,000 requests/month.
- Output formats:
json,csv,xml,yaml, and plain field endpoints (/country/,/city/…). - CORS-enabled — works from browsers (subject to the same rate limits).
FAQ
Is ipapi.co free? Anonymous is rate-limited; a free key gives 100k requests/month.
Why 429? The anonymous pool is heavily rate-limited (verified) — use a key.
What formats? JSON, CSV, XML, YAML, or single fields.
More in Geocoding
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Actinia Grass GIS Actinia is an open source REST API for geographical data that uses GRASS GIS | API Key | Yes | Unknown | ↗ |
| administrative-divisons-db Get all administrative divisions of a country | No auth | Yes | Yes | ↗ |
| adresse.data.gouv.fr Address database of France, geocoding and reverse | No auth | Yes | Unknown | ↗ |
| Airtel IP IP Geolocation API. Collecting data from multiple sources | No auth | Yes | Unknown | ↗ |
| Apiip Get location information by IP address | API Key | Yes | Yes | ↗ |