Geocoding · head-to-head
adresse.data.gouv.fr vs Nominatim
The Base Adresse Nationale's API Adresse geocodes and reverse-geocodes French addresses for free with no API key, backed by Etalab and IGN's data.geopf.fr infrastructure (the older api-adresse.data.gouv.fr host still answers directly and does not redirect). Requests and responses use the GeoJSON FeatureCollection format, with each result scored for match confidence and enriched with INSEE city codes, postcodes, and population. A live Origin-header probe confirms open CORS (Access-Control-Allow-Origin: *), so it works directly from browser JavaScript with no proxy.
Nominatim provides worldwide forward and reverse geocoding built entirely on OpenStreetMap data, needing no API key — only a descriptive User-Agent or Referer header identifying the calling application (the policy states a stock HTTP-library User-Agent will not do). The public instance at nominatim.openstreetmap.org mainly exists to power the search bar on openstreetmap.org and runs on donated servers with very limited capacity: its usage policy caps requests at an absolute maximum of 1 per second, forbids autocomplete-style querying outright, and requires results to be cached on the caller's side. Bulk geocoding is restricted rather than banned — a smaller one-time task is permissible on a single thread and a single machine, with distributed scripts disallowed and anything running longer than a day capped at 4 requests per minute. The policy points larger users first at commercial third-party providers, and the largest at running their own Nominatim instance.
| adresse.data.gouv.fr | Nominatim | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | GeoJSON | JSON, XML, GeoJSON |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
Nominatim supports 3 response formats, while adresse.data.gouv.fr offers fewer — pick Nominatim for more integration flexibility.