Postal Code – INSEE Code 2015Code Postal - Code INSEE 2015
Code Postal - Code INSEE 2015Postal Code – INSEE Code 2015
This API provides a cross-reference dataset linking French postal codes to INSEE municipality codes, built by combining the 2015 edition of the Geofla Communes geographic database with the official postal code database. It covers all municipalities in France and is useful for matching postal codes to administrative commune identifiers, geolocation tasks, and other applications requiring correspondence between postal and INSEE coding systems. The dataset is published as open data with free, unauthenticated access.Croisement de la base Geofla® Communes 2015 et de la Base officielle des codes postaux.
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (25 fields)
Click a field to see example values.
| Fill | Field | Type | Description |
|---|---|---|---|
| — | geo_point_2dGeo Point | geo_point_2d | — |
| — | geo_shapeShape | geo_shape | — |
| — | id_geoflaId geofla | text | — |
| — | code_comCode com | text | — |
| — | insee_comINSEE commune code | text | — |
| — | nom_comNom com | text | — |
| — | statut | text | — |
| — | x_chf_lieuX chf lieu | int | — |
| — | y_chf_lieuY chf lieu | int | — |
| — | x_centroidX centroid | int | — |
| 100% | y_centroidY centroid | int | — |
| 100% | z_moyenZ moyen | int | — |
| 100% | superficie | int | — |
| 100% | population | int | — |
| 99.6% | code_cantCode cant | text | — |
| 99.9% | code_arrCode arr | text | — |
| 100% | code_deptCode dept | text | — |
| 100% | nom_deptNom dept | text | — |
| 100% | code_regCode reg | text | — |
| 100% | nom_regNom reg | text | — |
| — | nom_de_la_communeNom_commune | text | — |
| — | code_postalPostal code | text | — |
| — | ligne_5Ligne 5 | text | — |
| — | libelle_d_acheminementLibellé_d_acheminement | text | — |
| — | coordonnees_gpsCoordonnees gps | geo_point_2d | — |
Schema captured from opendatasoft 6 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)
Record 1statut: Commune simple · ligne_5: —
{
"statut": "Commune simple",
"ligne_5": null,
"nom_com": "CARDEILHAC",
"nom_reg": "LANGUEDOC-ROUSSILLON-MIDI-PYRENEES",
"z_moyen": 419,
"code_arr": "2",
"code_com": "108",
"code_reg": "76",
"nom_dept": "HAUTE-GARONNE",
"code_cant": "14",
"code_dept": "31",
"geo_shape": "[large value omitted]",
"id_geofla": "COMMUNE00000000000009253",
"insee_com": "31108",
"population": 257,
"superficie": 1842,
"x_centroid": 511346,
"x_chf_lieu": 511633,
"y_centroid": 6236093,
"y_chf_lieu": 6235984,
"code_postal": "31350",
"geo_point_2d": {
"lat": 43.19567252647871,
"lon": 0.6758856076974612
},
"coordonnees_gps": {
"lat": 43.195769137,
"lon": 0.676189624
},
"nom_de_la_commune": "CARDEILHAC",
"libelle_d_acheminement": "CARDEILHAC"
}Record 2statut: Commune simple · ligne_5: —
{
"statut": "Commune simple",
"ligne_5": null,
"nom_com": "MOLIERES",
"nom_reg": "LANGUEDOC-ROUSSILLON-MIDI-PYRENEES",
"z_moyen": 471,
"code_arr": "2",
"code_com": "195",
"code_reg": "76",
"nom_dept": "LOT",
"code_cant": "16",
"code_dept": "46",
"geo_shape": "[large value omitted]",
"id_geofla": "COMMUNE00000000000010131",
"insee_com": "46195",
"population": 376,
"superficie": 1279,
"x_centroid": 615821,
"x_chf_lieu": 615784,
"y_centroid": 6410883,
"y_chf_lieu": 6411080,
"code_postal": "46120",
"geo_point_2d": {
"lat": 44.790850264840216,
"lon": 1.9396135691527452
},
"coordonnees_gps": {
"lat": 44.790564485,
"lon": 1.939871621
},
"nom_de_la_commune": "MOLIERES",
"libelle_d_acheminement": "MOLIERES"
}Record 3statut: Commune simple · ligne_5: —
{
"statut": "Commune simple",
"ligne_5": null,
"nom_com": "VILLENEUVE-DE-RIVIERE",
"nom_reg": "LANGUEDOC-ROUSSILLON-MIDI-PYRENEES",
"z_moyen": 413,
"code_arr": "2",
"code_com": "585",
"code_reg": "76",
"nom_dept": "HAUTE-GARONNE",
"code_cant": "14",
"code_dept": "31",
"geo_shape": "[large value omitted]",
"id_geofla": "COMMUNE00000000000020739",
"insee_com": "31585",
"population": 1702,
"superficie": 1394,
"x_centroid": 510138,
"x_chf_lieu": 509984,
"y_centroid": 6227733,
"y_chf_lieu": 6227436,
"code_postal": "31800",
"geo_point_2d": {
"lat": 43.1224144447344,
"lon": 0.6698319059986966
},
"coordonnees_gps": {
"lat": 43.122320671,
"lon": 0.6699340020000001
},
"nom_de_la_commune": "VILLENEUVE DE RIVIERE",
"libelle_d_acheminement": "VILLENEUVE DE RIVIERE"
}Record 4statut: Commune simple · ligne_5: —
{
"statut": "Commune simple",
"ligne_5": null,
"nom_com": "AIGUES-VIVES",
"nom_reg": "LANGUEDOC-ROUSSILLON-MIDI-PYRENEES",
"z_moyen": 38,
"code_arr": "2",
"code_com": "004",
"code_reg": "76",
"nom_dept": "GARD",
"code_cant": "21",
"code_dept": "30",
"geo_shape": "[large value omitted]",
"id_geofla": "COMMUNE00000000000031661",
"insee_com": "30004",
"population": 3105,
"superficie": 1205,
"x_centroid": 795012,
"x_chf_lieu": 795109,
"y_centroid": 6293855,
"y_chf_lieu": 6294102,
"code_postal": "30670",
"geo_point_2d": {
"lat": 43.734416941117686,
"lon": 4.190605747518338
},
"coordonnees_gps": {
"lat": 43.734369424,
"lon": 4.191106098
},
"nom_de_la_commune": "AIGUES VIVES",
"libelle_d_acheminement": "AIGUES VIVES"
}Record 5statut: Commune simple · ligne_5: —
{
"statut": "Commune simple",
"ligne_5": null,
"nom_com": "HUBY-SAINT-LEU",
"nom_reg": "NORD-PAS-DE-CALAIS-PICARDIE",
"z_moyen": 82,
"code_arr": "4",
"code_com": "461",
"code_reg": "32",
"nom_dept": "PAS-DE-CALAIS",
"code_cant": "06",
"code_dept": "62",
"geo_shape": "[large value omitted]",
"id_geofla": "COMMUNE00000000000010928",
"insee_com": "62461",
"population": 935,
"superficie": 1257,
"x_centroid": 630289,
"x_chf_lieu": 631424,
"y_centroid": 7033530,
"y_chf_lieu": 7032034,
"code_postal": "62140",
"geo_point_2d": {
"lat": 50.39446212481149,
"lon": 2.0250405958567286
},
"coordonnees_gps": {
"lat": 50.394806697,
"lon": 2.025234397
},
"nom_de_la_commune": "HUBY ST LEU",
"libelle_d_acheminement": "HUBY ST LEU"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Using the API
Configuration
- Base URL
- https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/code-postal-code-insee-2015
License
- ✓ Redistributable
- ✓ Attribution required
Query examples
curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/code-postal-code-insee-2015/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.