CPCCambodiaPostalCode Dev
API ReferencePricing
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
AuthenticationQuick Start
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
Getting Started

Authentication

How to authenticate API requests with API keys

API Key Authentication

The Cambodia Postal Code API uses API keys for authentication. Keys are managed through the TosKey gateway.

Obtaining an API Key

  1. Sign in to your dashboard
  2. Navigate to API Keys
  3. Click Generate New Key
  4. Copy the key — it won't be shown again

Using Your API Key

Pass your API key in the x-api-key header:

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

Key Management

  • Regenerate — Creates a new key and invalidates the old one
  • Revoke — Permanently disables the key
  • Rate limits — Each key has its own rate limit quota

Security

  • Never commit API keys to version control
  • Use environment variables to store keys
  • Rotate keys periodically
  • Use separate keys for development and production

Introduction

Get started with the Cambodia Postal Code API

Quick Start

Make your first API call in under 5 minutes