CPCCambodiaPostalCode Dev
API ReferencePricing
Sign inGet started
CPCCambodiaPostalCode Dev

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

GitHubTwitter / X
Free API — no credit card required

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
CPCCambodiaPostalCode Dev
API ReferencePricing
Sign inGet started
CPCCambodiaPostalCode Dev

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

GitHubTwitter / X
Free API — no credit card required

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
CambodiaPostalCode Dev
CambodiaPostalCode Dev
DocsAPI ReferenceHomeIntroduction
API ReferenceGet all provinces GETGet province by ID GETGet districts by province GETGet district by ID GETGet communes by district GETGet commune by ID GETGet villages by commune GETGet village by ID GETSearch administrative units GETLookup postal code GET
CambodiaPostalCode Dev
CambodiaPostalCode Dev
DocsAPI ReferenceHomeIntroduction
API ReferenceGet all provinces GETGet province by ID GETGet districts by province GETGet district by ID GETGet communes by district GETGet commune by ID GETGet villages by commune GETGet village by ID GETSearch administrative units GETLookup postal code GET

Introduction

Get started with the Cambodia Postal Code API

Welcome

The Cambodia Postal Code API provides programmatic access to Cambodian postal code data, including provinces, districts, communes, and villages. Use it to build location-based applications, address validators, postal code lookups, and more.

Features

  • Comprehensive data — All 25 provinces, 197 districts, 1,646 communes, and 14,372 villages
  • Full-text search — Search across all administrative units by name or postal code
  • Postal code lookup — Reverse lookup by postal code to get the full administrative hierarchy (province → district → commune)
  • Bilingual — All names and types available in English (en) and Khmer (km) via the lang query parameter
  • RESTful API — Simple HTTP endpoints with JSON responses and consistent error handling
  • API key authentication — Secure access with TosKey gateway-managed keys

Base URL

EnvironmentBase URL
Productionhttps://api.cambodiapostalcode.com/v1

All API requests must be authenticated with an API key. See Authentication to get started.

Quick Example

curl -H "x-api-key: YOUR_API_KEY" \
  https://api.cambodiapostalcode.com/v1/provinces?lang=en

Next Steps

  • Authentication — Learn how to get and use API keys
  • Quick Start — Make your first API call
  • API Reference — Browse all 10 available endpoints

Authentication

How to authenticate API requests with API keys

Introduction

Get started with the Cambodia Postal Code API

Welcome

The Cambodia Postal Code API provides programmatic access to Cambodian postal code data, including provinces, districts, communes, and villages. Use it to build location-based applications, address validators, postal code lookups, and more.

Features

  • Comprehensive data — All 25 provinces, 197 districts, 1,646 communes, and 14,372 villages
  • Full-text search — Search across all administrative units by name or postal code
  • Postal code lookup — Reverse lookup by postal code to get the full administrative hierarchy (province → district → commune)
  • Bilingual — All names and types available in English (en) and Khmer (km) via the lang query parameter
  • RESTful API — Simple HTTP endpoints with JSON responses and consistent error handling
  • API key authentication — Secure access with TosKey gateway-managed keys

Base URL

EnvironmentBase URL
Productionhttps://api.cambodiapostalcode.com/v1

All API requests must be authenticated with an API key. See Authentication to get started.

Quick Example

curl -H "x-api-key: YOUR_API_KEY" \
  https://api.cambodiapostalcode.com/v1/provinces?lang=en

Next Steps

  • Authentication — Learn how to get and use API keys
  • Quick Start — Make your first API call
  • API Reference — Browse all 10 available endpoints

Authentication

How to authenticate API requests with API keys