Official database of postal codes in Pays de la LoireBase officielle des codes postaux en Pays de la Loire
Base officielle des codes postaux en Pays de la LoireOfficial database of postal codes in Pays de la Loire
This API provides the official database of postal codes for the Pays de la Loire region in France, published via the regional open data portal. Each record is enriched with the INSEE official commune name, the name of the associated intercommunal body (EPCI), and an indicator for new merged communes (communes nouvelles). Despite being labeled as national in scope, the dataset covers the Pays de la Loire region specifically. It is useful for geocoding, address validation, and administrative mapping applications requiring accurate linkage between postal codes and official commune and intercommunal references.Base officielle des codes postaux de la Région des Pays de la Loire, enrichie du libelle INSEE de la commune, des Libellé des EPCI de rattachement et de la ment CN pour les communes nouvelles.
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (9 fields)
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| departementDépartement | double | Department number where the commune is located.Department number where the commune is located. |
| insee_commINSEE | text | INSEE code identifying the commune.N°INSEE de la commune |
| epci | text | Name of the EPCI (intercommunal body) the commune belongs to.EPCI de rattachement de la commune |
| nouvellesCommunes nouvelles | text | Indicates 'CN' if the commune is a merged new commune.CN si la commune est une commune nouvelle |
| nom_de_la_communeNom_commune | text | Official commune name as recorded in the INSEE registry.Nom de la commune dans le référentiel INSEE |
| code_postalPostal code | text | Postal code of the commune.Postal code of the commune. |
| ligne_5Ligne 5 | text | Former or associated locality name used for mail delivery.Former or associated locality name used for mail delivery. |
| libelle_d_acheminementLibellé_d_acheminement | text | Commune name used by La Poste for mail routing.Nom de la commune dans le référentiel de La Poste |
| coordonnees_gpsCoordonnees gps | geo_point_2d | Geographic coordinates (latitude and longitude) of the commune.Geographic coordinates (latitude and longitude) of the commune. |
Schema captured from opendatasoft 3 days ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
These rows are ODbL-1.0: share-alike. Reusing them obliges you to license any derived database on the same terms.
Record 1epci: Communauté de communes Vallées du Haut-A · ligne_5: LE LOUROUX BECONNAIS
{
"epci": "Communauté de communes Vallées du Haut-Anjou",
"ligne_5": "LE LOUROUX BECONNAIS",
"nouvelles": "CN",
"insee_comm": "49183",
"code_postal": "49370",
"departement": 49,
"coordonnees_gps": {
"lat": 47.513413776,
"lon": -0.9313900410000001
},
"nom_de_la_commune": "VAL D ERDRE AUXENCE",
"libelle_d_acheminement": "VAL D ERDRE AUXENCE"
}Record 2epci: Redon agglomération · ligne_5: BESLE SUR VILAINE
{
"epci": "Redon agglomération",
"ligne_5": "BESLE SUR VILAINE",
"nouvelles": null,
"insee_comm": "44067",
"code_postal": "44290",
"departement": 44,
"coordonnees_gps": {
"lat": 47.627776178,
"lon": -1.830896118
},
"nom_de_la_commune": "GUEMENE PENFAO",
"libelle_d_acheminement": "GUEMENE PENFAO"
}Record 3epci: Communauté de communesHaute Sarthe Alpes · ligne_5: —
{
"epci": "Communauté de communesHaute Sarthe Alpes Mancelles",
"ligne_5": null,
"nouvelles": null,
"insee_comm": "72355",
"code_postal": "72610",
"departement": 72,
"coordonnees_gps": {
"lat": 48.313238431,
"lon": 0.205119028
},
"nom_de_la_commune": "THOIRE SOUS CONTENSOR",
"libelle_d_acheminement": "THOIRE SOUS CONTENSOR"
}Record 4epci: Communauté Urbaine de Nantes Métropole · ligne_5: —
{
"epci": "Communauté Urbaine de Nantes Métropole",
"ligne_5": null,
"nouvelles": null,
"insee_comm": "44162",
"code_postal": "44800",
"departement": 44,
"coordonnees_gps": {
"lat": 47.224879732,
"lon": -1.6340884
},
"nom_de_la_commune": "ST HERBLAIN",
"libelle_d_acheminement": "ST HERBLAIN"
}Record 5epci: Communauté de communes Loire Layon Auban · ligne_5: ST AUBIN DE LUIGNE
{
"epci": "Communauté de communes Loire Layon Aubance",
"ligne_5": "ST AUBIN DE LUIGNE",
"nouvelles": "CN",
"insee_comm": "49292",
"code_postal": "49190",
"departement": 49,
"coordonnees_gps": {
"lat": 47.311025959,
"lon": -0.659320152
},
"nom_de_la_commune": "VAL DU LAYON",
"libelle_d_acheminement": "VAL DU LAYON"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Using the API
Configuration
- Base URL
- https://data.paysdelaloire.fr/api/explore/v2.1/catalog/datasets/base-officielle-des-codes-postaux-en-pays-de-la-loire
License
- ✓ Redistributable
- ✓ Attribution required
Query examples
curl -s 'https://data.paysdelaloire.fr/api/explore/v2.1/catalog/datasets/base-officielle-des-codes-postaux-en-pays-de-la-loire/records?limit=20' -H 'Accept: application/json'First 20 records of the dataset as JSON.
Uses the Opendatasoft Explore v2.1 syntax — supports select, where, group_by and order_by.
Rate limits
Dataset
Volume & freshness
License
No license declared upstream.
Source: opendatasoft
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.