API Reference
GET /v1/communes/:district_code — returns all communes within a district.
/v1/communes/:district_codeReturns all communes within a specific district, each with its postal code.
| Parameter | Type | Required | Description |
|---|---|---|---|
| district_code | string | required | Four-digit district code (e.g. "1201") |
{
"status": "success",
"data": [
{
"code": "120101",
"name_en": "Tonle Bassac",
"name_km": "ទន្លេបាសាក់",
"district_code": "1201",
"postal_code": "12301"
}
]
}/v1/communes/:district_codePlaygroundPath Parameters
district_codestringrequiredFour-digit district code
Request URL
cURL
curl -X GET "https://api.cambodiapostalcode.com/v1/communes/1201" \
-H "Content-Type: application/json"Last updated June 2025