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
DocsGetting StartedAuthentication

Getting Started

Authentication

Authenticate API requests with your secret API key passed in the x-api-key header.

Every request must include your API key in the x-api-key header.

bash
curl -X GET "https://api.cambodiapostalcode.com/v1/provinces" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
ℹ
Note: Note: Keep your API key secret. Never commit it to source control — use environment variables instead.

Using environment variables

bash
# .env.local
CAMBODIA_POSTAL_API_KEY=your_key_here
⚠
Warning: Free tier includes 1,000 requests/month. Upgrade for higher limits.
PreviousIntroductionGetting StartedNext Quick StartGetting Started

Last updated June 2025

On this page

  • Overview
  • Parameters
  • Response
  • Examples

Quick links

View Pricing Get API Key Authentication