CambodiaPostalCode Dev
API ReferencePricing
CambodiaPostalCode Dev

REST API for Cambodia address data — provinces, districts, communes, and villages. Free to start, no credit card required.

GitHubTwitter / X
Early access — free API keys

Docs

  • Introduction
  • Quick Start
  • API Reference
  • Authentication
  • Error Codes
  • Rate Limits

Product

  • Pricing
  • Use Cases
  • Dashboard
  • API Keys
  • Changelog
  • Status

Community

  • GitHub
  • Blog
  • Changelog
  • Discussions
  • Contact

Company

  • About
  • Privacy Policy
  • Terms of Service

© 2026 CambodiaPostalCode Dev. Built for developers.

PrivacyTermsContactChangelogGitHub
Browse docs

Getting Started

  • Introduction
  • Authentication
  • Quick Start

API Reference

  • All Provinces
  • Province by Code
  • Districts
  • Communes
  • Villages
  • Search

Resources

  • Error Handling
  • Rate Limits
  • SDKs & Libraries
DocsAPI ReferenceCommunes

API Reference

Communes

GET /v1/communes/:district_code — returns all communes within a district.

GET/v1/communes/:district_code

Returns all communes within a specific district, each with its postal code.

Path Parameters

ParameterTypeRequiredDescription
district_codestringrequiredFour-digit district code (e.g. "1201")

Response

json
{
  "status": "success",
  "data": [
    {
      "code": "120101",
      "name_en": "Tonle Bassac",
      "name_km": "ទន្លេបាសាក់",
      "district_code": "1201",
      "postal_code": "12301"
    }
  ]
}

Playground

GET/v1/communes/:district_codePlayground

Path Parameters

district_codestringrequired

Four-digit district code

Request URL

https://api.cambodiapostalcode.com/v1/communes/1201

cURL

curl -X GET "https://api.cambodiapostalcode.com/v1/communes/1201" \
  -H "Content-Type: application/json"
PreviousDistrictsAPI ReferenceNext VillagesAPI Reference

Last updated June 2025

Try it

Live
GET/v1/communes/:district_codePlayground

Path Parameters

district_codestringrequired

Four-digit district code

Request URL

https://api.cambodiapostalcode.com/v1/communes/1201

cURL

curl -X GET "https://api.cambodiapostalcode.com/v1/communes/1201" \
  -H "Content-Type: application/json"

Quick links

View Pricing Get API Key