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 ReferenceProvince by Code

API Reference

Province by Code

GET /v1/provinces/:code — returns a single province with all its districts.

GET/v1/provinces/:code

Returns detailed information about a specific province including all its districts.

Path Parameters

ParameterTypeRequiredDescription
codestringrequiredTwo-digit province code (e.g. "12" for Phnom Penh)

Response

json
{
  "status": "success",
  "data": {
    "code": "12",
    "name_en": "Phnom Penh",
    "name_km": "ភ្នំពេញ",
    "postal_code": "12000",
    "districts": [
      { "code": "1201", "name_en": "Chamkar Mon", "name_km": "ចំការមន" }
    ]
  }
}

Playground

GET/v1/provinces/:codePlayground

Path Parameters

codestringrequired

Two-digit province code

Request URL

https://api.cambodiapostalcode.com/v1/provinces/12

cURL

curl -X GET "https://api.cambodiapostalcode.com/v1/provinces/12" \
  -H "Content-Type: application/json"
PreviousAll ProvincesAPI ReferenceNext DistrictsAPI Reference

Last updated June 2025

Try it

Live
GET/v1/provinces/:codePlayground

Path Parameters

codestringrequired

Two-digit province code

Request URL

https://api.cambodiapostalcode.com/v1/provinces/12

cURL

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

Quick links

View Pricing Get API Key