Official Geographical Code (GOC)

Open data API in a single place

Provided by Institut national de la statistique et des études économiques (Insee)

Get early access to Official Geographical Code (GOC) API!

Let us know and we will figure it out for you.

Dataset information

Country of origin
Updated
2026.02.24 13:15
Created
2017.03.15
Available languages
English
Keywords
decoupages-administratifs, hvd, code-geographique, geospatiales
Quality scoring

Dataset description

Each year, INSEE makes available on its website (insee.fr) the official geographical code which brings together the codes and denominations of the municipalities, cantons, districts, departments, regions and foreign countries and territories on 1 January. Since 2021, INSEE has also made available the list of local and regional authorities with departmental competences. Since 2022, INSEE has been offering two new files for overseas communities. Since 21 December 2020, the official geographical code is also accessible from a web service, the [metadata API](https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=M%C3%A9tadonn%C3%A9es&version=V1&provider=insee), which allows access to the history of the COG. This web service is available on the [API](https://api.insee.fr/catalogue/site/pages/list-apis.jag) portal of insee.fr ** Warning:** The COG files have evolved significantly in their format and structure, starting in the 2019 vintage. They are now available in dBase (ISO8859-15 encoding) and CSV (Comma separator, UTF-8 encoding) format. The contents of the files of the French administrative divisions (commune canton, district, department and region) have been simplified and standardised. The wording with article (“La Rochelle”) is added to the enriched wording, to the uppercase wording and to the article code. The historical file of the communes is replaced by a file of movements of communes which gives the state of the communes before and after the events that affect them (merger, creation of new commune, change of name...). In 2021, the number of new municipalities is still limited: 19 municipalities merged to form 9 new municipalities between 2 January 2021 and 1 January 2022. In addition, 15 delegated municipalities and one associated municipality have been removed, 28 cantons have been amended and 2 municipalities have changed boroughs (a district change was also made following the merger of two municipalities that were not in the same arrondissement). INSEE also makes available two new files for overseas communities: The first list of overseas authorities as of 1 January 2022, the second lists the municipalities of overseas authorities.
European data infrastructure with broad catalog discovery, free evaluation access and production-grade API options.
190K+
indexed dataset pages
32
countries and EU institutions
2019
API-first since
Free API quota
for evaluation and prototypes
SLA
history and push on production APIs
FAQ

Questions before production use

Practical answers on evaluation, licensing, freshness, versioning and support.

api.store is built and operated by Apitalks s.r.o. Company details and a direct contact path are linked in the footer for vendor checks and procurement review.
Yes. Selected APIs include a free API quota, so your team can validate coverage, freshness, response shape and workflow fit before asking for a production plan.
Often yes, but usage rights depend on the source license and dataset. We surface source, license and update metadata where available, and can help review terms before a production integration.
Maintained APIs include update metadata where available. For production integrations, we can add history, monitoring and push updates so changes are easier to detect and act on.
Production APIs can add SLA, stable identifiers, versioning support, history, push updates and direct support around the data your product or AI workflow depends on.

Didn't find the API you need?

Let us know and we will figure it out for you.

European data discovery with free evaluation access and production-grade API options.

Copyright © 2026. Made by Apitalks