Geocoding · head-to-head
API Découpage Administratif (API Geo) vs ipapi.co
Etalab's Découpage Administratif API looks up and cross-references France's administrative hierarchy — communes, EPCIs, départements, and régions — by name, postcode, SIREN, or geographic coordinates, with no API key required. The stored api.gouv.fr/api/geoapi.html link had gone stale, 301-redirecting to a generic data.gouv.fr listing page instead of the live docs; the real service and interactive documentation are hosted at geo.api.gouv.fr. A live Origin-header probe against the real /communes endpoint confirms open CORS, reflecting back whatever Origin is sent.
ipapi.co geolocates an IP address and returns the result as JSON, XML, or YAML without requiring an API key for light use, though the no-key path is rate-limited and marketed by the vendor as a free trial rather than a permanent free tier. Paid subscriptions start at $15/month (or $12/month billed annually) for 60,000 lookups/month, scaling up to $399/month for 15 million/month.
| API Découpage Administratif (API Geo) | ipapi.co | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | freemium |
| Formats | JSON, GeoJSON | JSON, XML, YAML |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
ipapi.co supports 3 response formats, while API Découpage Administratif (API Geo) offers fewer — pick ipapi.co for more integration flexibility.