API reference/Geo & Places/France Communes

France Communes

Look up French communes by name, postcode or INSEE code: official INSEE code, postcodes, population, area, department, region, intercommunality (EPCI), SIREN and centre point (a basic record without area, EPCI or the full postcode list when the detailed service is slow).

GET/api/v1/geo/france/communes
Also included in Location 360 , which joins it with 20 other APIs in one call.

Query parameters

ParameterDescriptionTry value
name
string
Commune name (largest first)
postcode
string
5-digit postcode
code
string
5-character INSEE commune code (e.g. 69123, 2A004)
limit
number
Rows (default 5, max 20)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504. Add format= for JSON Lines, CSV, TSV, Excel, XML or YAML (how it works).