geo_get_commune
Retrieve a French commune's official details by entering its 5-character INSEE municipality code. Get accurate administrative information for mainland France, including Corsica's 2A/2B codes.
Instructions
Return one commune by INSEE municipality code.
Args:
code: INSEE code commune (5 characters for mainland; includes Corsica 2A/2B
departments' communes with standard 5-digit codes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nom | Yes | Commune name. | |
| code | Yes | INSEE municipality code (``code commune``), 5 characters for mainland. | |
| _score | No | Relevance score for fuzzy name search; absent on exact or non-search calls. | |
| region | No | Parent region when nested in the payload. | |
| surface | No | Area in hectares when provided by the API. | |
| population | No | Population figure when requested via ``fields`` on the detail endpoint. | |
| departement | No | Parent department when nested in the payload. | |
| codesPostaux | No | Postal codes served by this commune when the API includes them. |