Official Postal Code DatabaseBase officielle des codes postaux
Base officielle des codes postauxOfficial Postal Code Database
data.iledefrance.fr·Published by La Poste
This dataset provides the official correspondence between French postal codes and INSEE municipality codes, published by La Poste. It includes the name of each municipality, its INSEE code, and address line 5 details specifying an associated locality or place name where applicable. The dataset is intended to support accurate mapping between postal codes and administrative commune identifiers across France, useful for address validation, geocoding, and administrative data matching.It is distributed via the Île-de-France regional open data portal.La base officielle des codes postaux est un jeu de données qui fournit la correspondance entre les codes postaux et les codes INSEE des communes. Ce jeu de données comprend : Le nom de la commune Le code INSEE de la commune La ligne 5 de l'adresse postale : précision du lieu-dit associé ou du nom...
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (8 fields)
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| code_commune_inseeCode commune insee | text | INSEE code identifying the municipality (commune).INSEE code identifying the municipality (commune). |
| nom_de_la_communeNom de la commune | text | Name of the municipality (commune).Name of the municipality (commune). |
| code_postalPostal code | text | Postal code assigned to the municipality.Postal code assigned to the municipality. |
| libelle_d_acheminementLibellé_d_acheminement | text | Delivery label used for mail routing to the locality.Delivery label used for mail routing to the locality. |
| ligne_5Ligne 5 | text | Additional address line specifying a place name or locality detail.Additional address line specifying a place name or locality detail. |
| depDepartement | text | Code of the department where the municipality is located.Code of the department where the municipality is located. |
| geom | geo_shape | Geographic shape (polygon) of the municipality boundary.Geographic shape (polygon) of the municipality boundary. |
| centroid | geo_point_2d | Geographic coordinates of the municipality's centroid point.Geographic coordinates of the municipality's centroid point. |
Schema captured from opendatasoft 7 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 1dep: 78 · geom: [large value omitted]
{
"dep": "78",
"geom": "[large value omitted]",
"ligne_5": null,
"centroid": {
"lat": 48.977782952,
"lon": 1.544087499
},
"code_postal": "78980",
"nom_de_la_commune": "ST ILLIERS LA VILLE",
"code_commune_insee": "78558",
"libelle_d_acheminement": "ST ILLIERS LA VILLE"
}Record 2dep: 75 · geom: {"type":"Feature","geometry":{"type":"Mu
{
"dep": "75",
"geom": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2.376904765,
48.872048259
],
[
2.378290113,
48.870774807
],
[
2.382970657,
48.867178291
],
[
2.383583979,
48.866266822
],
[
2.387334804,
48.862960317
],
[
2.389536803,
48.858488337
],
[
2.392259138,
48.857629828
],
[
2.394345092,
48.856519817
],
[
2.39844328,
48.851218141
],
[
2.399247133,
48.848870374
],
[
2.399121129,
48.848098096
],
[
2.395957776,
48.848378054
],
[
2.384457639,
48.850127142
],
[
2.381426254,
48.850408295
],
[
2.380114712,
48.850455468
],
[
2.378895747,
48.850624521
],
[
2.374776331,
48.85162653
],
[
2.372011671,
48.852380099
],
[
2.370227747,
48.853281767
],
[
2.369123881,
48.853166231
],
[
2.368490887,
48.855805186
],
[
2.366747947,
48.863076193
],
[
2.364890494,
48.866169984
],
[
2.364306785,
48.86730905
],
[
2.363872117,
48.867516287
],
[
2.365617798,
48.868236931
],
[
2.36761059,
48.868819457
],
[
2.369358395,
48.869485196
],
[
2.373350142,
48.870722966
],
[
2.376904765,
48.872048259
]
]
]
]
},
"properties": {}
},
"ligne_5": null,
"centroid": {
"lat": 48.859054908,
"lon": 2.380025153
},
"code_postal": "75011",
"nom_de_la_commune": "PARIS 11",
"code_commune_insee": "75111",
"libelle_d_acheminement": "PARIS"
}Record 3dep: 77 · geom: [large value omitted]
{
"dep": "77",
"geom": "[large value omitted]",
"ligne_5": null,
"centroid": {
"lat": 49.077920751,
"lon": 3.128065854
},
"code_postal": "77840",
"nom_de_la_commune": "COULOMBS EN VALOIS",
"code_commune_insee": "77129",
"libelle_d_acheminement": "COULOMBS EN VALOIS"
}Record 4dep: 77 · geom: [large value omitted]
{
"dep": "77",
"geom": "[large value omitted]",
"ligne_5": null,
"centroid": {
"lat": 48.454262449,
"lon": 3.052332218
},
"code_postal": "77520",
"nom_de_la_commune": "MONTIGNY LENCOUP",
"code_commune_insee": "77311",
"libelle_d_acheminement": "MONTIGNY LENCOUP"
}Record 5dep: 95 · geom: {"type":"Feature","geometry":{"type":"Mu
{
"dep": "95",
"geom": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2.41325843,
49.056194682
],
[
2.413371455,
49.057089017
],
[
2.408520187,
49.057180327
],
[
2.407532512,
49.056327535
],
[
2.407258524,
49.056358554
],
[
2.40159432,
49.062051938
],
[
2.399117577,
49.063595149
],
[
2.400718957,
49.064982477
],
[
2.394129401,
49.068911179
],
[
2.397592247,
49.071575737
],
[
2.394819084,
49.071847739
],
[
2.405146252,
49.082481522
],
[
2.412234745,
49.080379994
],
[
2.412295228,
49.080478298
],
[
2.415097575,
49.080199741
],
[
2.415673262,
49.08134447
],
[
2.416822181,
49.081302394
],
[
2.416917452,
49.082325196
],
[
2.418071687,
49.083031231
],
[
2.418712697,
49.082997467
],
[
2.418719091,
49.083526201
],
[
2.420690413,
49.083637321
],
[
2.420741383,
49.083731079
],
[
2.422028648,
49.083808308
],
[
2.422693483,
49.083848368
],
[
2.422622039,
49.082642259
],
[
2.422759022,
49.082387557
],
[
2.424406749,
49.082051082
],
[
2.426157909,
49.082261764
],
[
2.426501081,
49.082051201
],
[
2.427832847,
49.082062043
],
[
2.427916004,
49.081596677
],
[
2.428921701,
49.081383864
],
[
2.429654903,
49.080681508
],
[
2.429801166,
49.079828003
],
[
2.42922369,
49.078445956
],
[
2.429976191,
49.078100653
],
[
2.430883081,
49.077904438
],
[
2.430925948,
49.077615112
],
[
2.432229292,
49.077461226
],
[
2.439387839,
49.075296384
],
[
2.440150966,
49.073321789
],
[
2.440095272,
49.072775738
],
[
2.439853402,
49.072360997
],
[
2.438333912,
49.071382809
],
[
2.44151356,
49.071338282
],
[
2.441680013,
49.070495641
],
[
2.441361513,
49.068809127
],
[
2.441345537,
49.067623952
],
[
2.440213167,
49.067684322
],
[
2.438927259,
49.067895923
],
[
2.434540346,
49.062585551
],
[
2.42368994,
49.058478727
],
[
2.423576006,
49.057650039
],
[
2.415619048,
49.057726696
],
[
2.415562747,
49.056044061
],
[
2.41325843,
49.056194682
]
]
]
]
},
"properties": {}
},
"ligne_5": null,
"centroid": {
"lat": 49.069977905,
"lon": 2.41751294
},
"code_postal": "95850",
"nom_de_la_commune": "MAREIL EN FRANCE",
"code_commune_insee": "95365",
"libelle_d_acheminement": "MAREIL EN FRANCE"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Using the API
Configuration
- Base URL
- https://data.iledefrance.fr/api/explore/v2.1/catalog/datasets/base-officielle-des-codes-postaux
License
- ✓ Redistributable
- ✓ Attribution required
Query examples
curl -s 'https://data.iledefrance.fr/api/explore/v2.1/catalog/datasets/base-officielle-des-codes-postaux/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.