ipapi.com
Real-time Geolocation & Reverse IP Lookup REST API
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Geocoding
Overview
ipapi.com (an APILayer product) provides IP geolocation and security data. Auth is a free API key (invalid keys return HTTP 200 with "success": false — APILayer style, verified).
Quick Start
Lookup (replace YOUR_KEY):
curl "https://api.ipapi.com/api/8.8.8.8?access_key=YOUR_KEY"
{
"ip": "8.8.8.8",
"type": "ipv4",
"continent_code": "NA",
"country_code": "US",
"country_name": "United States",
"city": "Mountain View",
"latitude": 37.386,
"longitude": -122.0838,
"currency": { "code": "USD" },
"security": { "is_proxy": false, "is_crawler": false }
}
Authentication
- Register at ipapi.com → free API key (emailed).
- Send it as the
access_keyquery parameter. - Invalid keys return 200 +
"success": false(verified) — check the JSON.
Rate Limits & Notes
- Free tier: 100 requests/month (check the docs) — small; paid plans scale.
- Security data (proxy/VPN detection) included on free tier.
- No https on the free tier (http only) — check the docs.
FAQ
Is ipapi.com free? Free tier: 100 requests/month; more is paid.
Why 200 with success:false?
APILayer convention — check the success field (verified).
What’s included? IP geolocation plus proxy/VPN security flags.
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 | ↗ |