---
id: "ca_qc_municipality_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo", "government"]
country: ["CA"]
langs: ["fr"]
quality: 80
url: "https://registry.apicrafter.io/datatype/ca_qc_municipality_code"
---

# Québec municipal geographic code (`ca_qc_municipality_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Five-digit geographic code (code géographique) of a municipality or territory in the directory of municipalities of the Québec ministry of municipal affairs (MAMH).

- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Canada (CA)
- Languages: French (fr)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{5}$
```

## Examples

- `46005` — Municipality in the MAMH directory
- `48028` — Municipality in the MAMH directory
- `4600` (invalid example) — Four digits

## Translations

- fr: Code géographique de la municipalité

## Sources

- doc: <https://www.mamh.gouv.qc.ca/repertoire-des-municipalites/>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/ca_qc_municipality_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/geo/ca_qc_municipality_code.yaml>
