c0mm0.com — the continuously verified register of European data

Register record·API·FRVERIFIED · checked 10h ago
C

Postal Code – INSEE Code 2015Code Postal - Code INSEE 2015

Code Postal - Code INSEE 2015Postal Code – INSEE Code 2015

Published by Opendatasoft

APIJoinable5/7Query nowOpen workbenchSubscribe🇫🇷France

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.

government
60
good

Weighted across five axes. Tap a ring for what it measures.

Data quality

Data schema (25 fields)

Dictionary: 3 of 25 labelled · 25 described · 0 with a unit · 24 with example values

Filterable via the API (22)
id_geoflacode_cominsee_comnom_comstatutx_chf_lieuy_chf_lieux_centroidy_centroidz_moyensuperficiepopulationcode_cantcode_arrcode_deptnom_deptcode_regnom_regnom_de_la_communecode_postalligne_5libelle_d_acheminement

Click a field to see example values.

FillFieldTypeDescription
—geo_point_2dGeo Pointgeo_point_2dGeographic coordinates (latitude/longitude) of the commune centroid.Geographic coordinates (latitude/longitude) of the commune centroid.
—geo_shapeShapegeo_shapeGeographic boundary shape (polygon) of the commune.Geographic boundary shape (polygon) of the commune.
—id_geoflaFilterable via the APIId geoflatextUnique Geofla® identifier for the commune record.Unique Geofla® identifier for the commune record.
—code_comFilterable via the APICode comtextINSEE commune code within its department (3 digits).INSEE commune code within its department (3 digits).
—insee_comFilterable via the APIINSEE commune codetextFull INSEE code identifying the commune.Full INSEE code identifying the commune.
—nom_comFilterable via the APINom comtextOfficial name of the commune.Official name of the commune.
—statutFilterable via the APItextAdministrative status of the commune (e.g. simple commune).Administrative status of the commune (e.g. simple commune).
—x_chf_lieuFilterable via the APIX chf lieuintX coordinate of the commune's main town location.X coordinate of the commune's main town location.
—y_chf_lieuFilterable via the APIY chf lieuintY coordinate of the commune's main town location.Y coordinate of the commune's main town location.
—x_centroidFilterable via the APIX centroidintX coordinate of the commune's geographic centroid.X coordinate of the commune's geographic centroid.
100%y_centroidFilterable via the APIY centroidintY coordinate of the commune's geographic centroid.Y coordinate of the commune's geographic centroid.
100%z_moyenFilterable via the APIZ moyenintAverage elevation of the commune in meters.Average elevation of the commune in meters.
100%superficieFilterable via the APIintSurface area of the commune, in hectares.Surface area of the commune, in hectares.
100%populationFilterable via the APIintPopulation count of the commune.Population count of the commune.
99.6%code_cantFilterable via the APICode canttextINSEE code of the canton containing the commune.INSEE code of the canton containing the commune.
99.9%code_arrFilterable via the APICode arrtextINSEE code of the arrondissement containing the commune.INSEE code of the arrondissement containing the commune.
100%code_deptFilterable via the APICode depttextINSEE code of the department containing the commune.INSEE code of the department containing the commune.
100%nom_deptFilterable via the APINom depttextName of the department containing the commune.Name of the department containing the commune.
100%code_regFilterable via the APICode regtextINSEE code of the region containing the commune.INSEE code of the region containing the commune.
100%nom_regFilterable via the APINom regtextName of the region containing the commune.Name of the region containing the commune.
—nom_de_la_communeFilterable via the APINom_communeLabel in French (fr), as the source serves ittextName of the commune as used for postal addressing.Name of the commune as used for postal addressing.
—code_postalFilterable via the APIPostal codetextPostal code assigned to the commune.Postal code assigned to the commune.
—ligne_5Filterable via the APILigne 5textAdditional address line used for postal delivery, if any.Additional address line used for postal delivery, if any.
—libelle_d_acheminementFilterable via the APILibellé_d_acheminementLabel in French (fr), as the source serves ittextPostal routing label used for mail delivery.Postal routing label used for mail delivery.
—coordonnees_gpsCoordonnees gpsgeo_point_2dGPS coordinates (latitude/longitude) of the commune.GPS coordinates (latitude/longitude) of the commune.

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": "THORIGNE-SUR-DUE",
  "nom_reg": "PAYS DE LA LOIRE",
  "z_moyen": 104,
  "code_arr": "2",
  "code_com": "358",
  "code_reg": "52",
  "nom_dept": "SARTHE",
  "code_cant": "18",
  "code_dept": "72",
  "geo_shape": "[large value omitted]",
  "id_geofla": "COMMUNE00000000000017175",
  "insee_com": "72358",
  "population": 1619,
  "superficie": 1931,
  "x_centroid": 515066,
  "x_chf_lieu": 516436,
  "y_centroid": 6773213,
  "y_chf_lieu": 6773714,
  "code_postal": "72160",
  "geo_point_2d": {
    "lat": 48.02914300582063,
    "lon": 0.5199134930459873
  },
  "coordonnees_gps": {
    "lat": 48.029262962,
    "lon": 0.519830992
  },
  "nom_de_la_commune": "THORIGNE SUR DUE",
  "libelle_d_acheminement": "THORIGNE SUR DUE"
}
Record 2statut: Commune simple · ligne_5: —
{
  "statut": "Commune simple",
  "ligne_5": null,
  "nom_com": "SAVIGNAC-DE-NONTRON",
  "nom_reg": "AQUITAINE-LIMOUSIN-POITOU-CHARENTES",
  "z_moyen": 241,
  "code_arr": "2",
  "code_com": "525",
  "code_reg": "75",
  "nom_dept": "DORDOGNE",
  "code_cant": "13",
  "code_dept": "24",
  "geo_shape": {
    "type": "Feature",
    "geometry": {
      "type": "Polygon",
      "coordinates": [
        [
          [
            0.721433505744035,
            45.56227896936606
          ],
          [
            0.722206067666291,
            45.562109956949364
          ],
          [
            0.730346791679694,
            45.558605520126044
          ],
          [
            0.736952665251459,
            45.55441470154001
          ],
          [
            0.746197379884463,
            45.54972156454032
          ],
          [
            0.746714133159168,
            45.54959410085346
          ],
          [
            0.747749308442936,
            45.549203173282585
          ],
          [
            0.751536461771188,
            45.54664768050287
          ],
          [
            0.751867541981904,
            45.546292169434274
          ],
          [
            0.750346694554125,
            45.54573113293979
          ],
          [
            0.737763299845523,
            45.539162656331044
          ],
          [
            0.724244486823751,
            45.53181525543215
          ],
          [
            0.72292500961005,
            45.530985859888595
          ],
          [
            0.722803581590203,
            45.53075908760388
          ],
          [
            0.722675479652457,
            45.53075739112254
          ],
          [
            0.722682154562691,
            45.5305323151942
          ],
          [
            0.72248998397583,
            45.53053022025775
          ],
          [
            0.719066466789308,
            45.531560680051214
          ],
          [
            0.716868895856646,
            45.53229346155596
          ],
          [
            0.715832574910454,
            45.53268317773571
          ],
          [
            0.715053697129326,
            45.53307722130777
          ],
          [
            0.714460853457933,
            45.53365341326723
          ],
          [
            0.706066757104023,
            45.53823338361857
          ],
          [
            0.700218788652291,
            45.54113887427253
          ],
          [
            0.69099899373611,
            45.54757284609306
          ],
          [
            0.690329781019427,
            45.55071209264419
          ],
          [
            0.690041762173972,
            45.55390241643561
          ],
          [
            0.690286326960325,
            45.55431102851289
          ],
          [
            0.690596177992873,
            45.55462999516491
          ],
          [
            0.697246323536109,
            45.558237477809236
          ],
          [
            0.707554158999172,
            45.56158230573847
          ],
          [
            0.715989167578539,
            45.562661215090685
          ],
          [
            0.720987330810656,
            45.56218253964183
          ],
          [
            0.721433505744035,
            45.56227896936606
          ]
        ]
      ]
    },
    "properties": {}
  },
  "id_geofla": "COMMUNE00000000000024744",
  "insee_com": "24525",
  "population": 193,
  "superficie": 1001,
  "x_centroid": 521947,
  "x_chf_lieu": 522328,
  "y_centroid": 6496998,
  "y_chf_lieu": 6496184,
  "code_postal": "24300",
  "geo_point_2d": {
    "lat": 45.54793045837596,
    "lon": 0.7185511649024104
  },
  "coordonnees_gps": {
    "lat": 45.547952958,
    "lon": 0.7178232999999999
  },
  "nom_de_la_commune": "SAVIGNAC DE NONTRON",
  "libelle_d_acheminement": "SAVIGNAC DE NONTRON"
}
Record 3statut: Commune simple · ligne_5: —
{
  "statut": "Commune simple",
  "ligne_5": null,
  "nom_com": "PARS-LES-CHAVANGES",
  "nom_reg": "ALSACE-CHAMPAGNE-ARDENNE-LORRAINE",
  "z_moyen": 129,
  "code_arr": "1",
  "code_com": "279",
  "code_reg": "44",
  "nom_dept": "AUBE",
  "code_cant": "05",
  "code_dept": "10",
  "geo_shape": "[large value omitted]",
  "id_geofla": "COMMUNE00000000000000317",
  "insee_com": "10279",
  "population": 72,
  "superficie": 844,
  "x_centroid": 810619,
  "x_chf_lieu": 810682,
  "y_centroid": 6824496,
  "y_chf_lieu": 6824039,
  "code_postal": "10330",
  "geo_point_2d": {
    "lat": 48.51748013508879,
    "lon": 4.5031604542475145
  },
  "coordonnees_gps": {
    "lat": 48.517232501,
    "lon": 4.503043474
  },
  "nom_de_la_commune": "PARS LES CHAVANGES",
  "libelle_d_acheminement": "PARS LES CHAVANGES"
}
Record 4statut: Sous-préfecture · ligne_5: —
{
  "statut": "Sous-préfecture",
  "ligne_5": null,
  "nom_com": "REDON",
  "nom_reg": "BRETAGNE",
  "z_moyen": 19,
  "code_arr": "2",
  "code_com": "236",
  "code_reg": "53",
  "nom_dept": "ILLE-ET-VILAINE",
  "code_cant": "17",
  "code_dept": "35",
  "geo_shape": "[large value omitted]",
  "id_geofla": "COMMUNE00000000000007327",
  "insee_com": "35236",
  "population": 9306,
  "superficie": 1533,
  "x_centroid": 319016,
  "x_chf_lieu": 318546,
  "y_centroid": 6740948,
  "y_chf_lieu": 6740176,
  "code_postal": "35600",
  "geo_point_2d": {
    "lat": 47.661304148609275,
    "lon": -2.0802220130303497
  },
  "coordonnees_gps": {
    "lat": 47.661216252,
    "lon": -2.08016417
  },
  "nom_de_la_commune": "REDON",
  "libelle_d_acheminement": "REDON"
}
Record 5statut: Commune simple · ligne_5: —
{
  "statut": "Commune simple",
  "ligne_5": null,
  "nom_com": "BELLEFONTAINE",
  "nom_reg": "NORMANDIE",
  "z_moyen": 235,
  "code_arr": "1",
  "code_com": "043",
  "code_reg": "28",
  "nom_dept": "MANCHE",
  "code_cant": "15",
  "code_dept": "50",
  "geo_shape": "[large value omitted]",
  "id_geofla": "COMMUNE00000000000035686",
  "insee_com": "50043",
  "population": 151,
  "superficie": 682,
  "x_centroid": 406752,
  "x_chf_lieu": 407580,
  "y_centroid": 6849271,
  "y_chf_lieu": 6850550,
  "code_postal": null,
  "geo_point_2d": {
    "lat": 48.68173952848716,
    "lon": -0.9810219823909833
  },
  "coordonnees_gps": null,
  "nom_de_la_commune": null,
  "libelle_d_acheminement": null
}

Live sample captured at profiling time — values may have changed upstream.

Verification Status

Requests to public.opendatasoft.com through this register, last 30 days

Day by day on the status page

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.

Full API documentation ↗

Rate limits

10 000 000 req/day
per ipmeasured
observed 6 days ago

Dataset

Volume & freshness

Records
41k
40629
Last upstream update
4 years ago
2022-11-21
Temporal coverage
2015 → ongoing

License

No license declared upstream.

○ Documentation○ Data dictionary○ Versioning

Source: opendatasoft

Machine-readable & source

Code Postal - Code INSEE 2015 — live verification badge

Embed this badge in a README or wiki — it always shows the latest verification state and ranking tier.