API Reference
GET /v1/provinces/:code — returns a single province with all its districts.
/v1/provinces/:codeReturns detailed information about a specific province including all its districts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | required | Two-digit province code (e.g. "12" for Phnom Penh) |
{
"status": "success",
"data": {
"code": "12",
"name_en": "Phnom Penh",
"name_km": "ភ្នំពេញ",
"postal_code": "12000",
"districts": [
{ "code": "1201", "name_en": "Chamkar Mon", "name_km": "ចំការមន" }
]
}
}/v1/provinces/:codePlaygroundPath Parameters
codestringrequiredTwo-digit province code
Request URL
cURL
curl -X GET "https://api.cambodiapostalcode.com/v1/provinces/12" \
-H "Content-Type: application/json"Last updated June 2025