IPstack
Locate and identify website visitors by IP address
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Geocoding
Overview
IPstack (an APILayer product) provides IP geolocation — country, city, currency, 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.ipstack.com/8.8.8.8?access_key=YOUR_KEY"
{
"ip": "8.8.8.8",
"continent_code": "NA",
"country_code": "US",
"country_name": "United States",
"city": "Mountain View",
"zip": "94035",
"latitude": 37.386,
"longitude": -122.0838,
"currency": { "code": "USD" }
}
Authentication
- Register at ipstack.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.
- Free tier has limited fields; security/VAT fields are paid.
- Bulk and batch lookups on paid plans.
FAQ
Is IPstack free? Free tier: 100 requests/month; more is paid.
Why 200 with success:false?
APILayer convention — check the success field (verified).
What’s the free limit? 100 requests/month.
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 | ↗ |