Fast Free & Open API for
Cambodia Geography
An open API for Cambodia geography data providing complete 4-tier administrative hierarchy (Provinces, Districts, Communes, Villages), 100% free to use for everyone, with ultra-fast sub-millisecond response times.
curl http://localhost:3000/api/admin/provinces
រាជធានី / ខេត្ត
ខណ្ឌ / ក្រុង / ស្រុក
សង្កាត់ / ឃុំ
ភូមិ
Test Cambodia Geographic Endpoints
Cascading Address Selector
< 1ms// Connecting to OpenGeo Cambodia API...
Open API for Cambodia Geography Data
Built to solve Cambodia's address and geographic data resolution challenges through three foundational pillars: complete 4-tier hierarchy, 100% free accessibility, and ultra-fast sub-millisecond response times.
Administrative Hierarchy
Complete official coverage: 25 Provinces, 210 Districts, 1,661 Communes, and 14,576 Villages with standardized administrative codes.
100% Free to Use
Zero cost, zero API keys, no subscriptions, and no paywalls. Free for developers, startups, logistics, fintech KYC, government forms, and NGOs under the MIT license.
Fast Response Time
Sub-1ms latency. Pre-indexed RAM architecture serves cascading dropdowns and address lookups in under 1 millisecond with zero database overhead.
Bilingual & GPS Geocoder
Full support for native Khmer script (អក្សរខ្មែរ) and Latin Romanization with smart OpenStreetMap GPS reverse geocoding into 4-tier addresses.
Cambodia 4-Tier Administrative System
The Kingdom of Cambodia organizes territorial governance into four cascading administrative levels. OpenGeo Cambodia models each tier with standard government identification codes sourced from the official Ministry of Economy and Finance Open Data Portal (data.mef.gov.kh):
Province & Capital
រាជធានី និង ខេត្ត (Khaet / Reach Theani)
24 Provinces and 1 Autonomous Municipality (Phnom Penh Capital). Codes range from 01 to 25.
District, Khan & Krong
ខណ្ឌ ក្រុង និង ស្រុក (Srok / Krong / Khan)
162 Rural Districts (ស្រុក), 34 Municipalities (ក្រុង), and 14 Urban Khans (ខណ្ឌ) in Phnom Penh.
Commune & Sangkat
សង្កាត់ និង ឃុំ (Khum / Sangkat)
1,405 Rural Communes (ឃុំ) and 256 Urban Quarters / Sangkats (សង្កាត់).
Villages
ភូមិ (Phum)
Foundational human settlements across rural and urban Cambodia, mapped directly to parent communes.
Selected Cambodian Provinces & Geographic Codes
Quick reference table for major economic and cultural provincial centers.
| Code | Province Name (English) | ឈ្មោះជាភាសាខ្មែរ | Type | Districts |
|---|---|---|---|---|
| 12 | Phnom Penh | រាជធានីភ្នំពេញ | Autonomous Municipality (Capital) | 14 Khans |
| 17 | Siem Reap | ខេត្តសៀមរាប | Province (Angkor Wat Hub) | 12 Districts |
| 02 | Battambang | ខេត្តបាត់ដំបង | Province (Northwest Agricultural Hub) | 14 Districts |
| 18 | Preah Sihanouk | ខេត្តព្រះសីហនុ | Coastal Province (Deep Sea Port) | 5 Districts |
| 08 | Kandal | ខេត្តកណ្តាល | Province (Metropolitan Ring) | 11 Districts |
| 07 | Kampot | ខេត្តកំពត | Coastal Province (Agriculture & Tourism) | 8 Districts |
Integrate in 30 Seconds
OpenGeo Cambodia is a frictionless REST API with CORS enabled for all origins, zero API keys required, and standard JSON responses.
Frequently Asked Questions
Common questions regarding Cambodia administrative boundaries, geography queries, and OpenGeo API usage.
01. What is OpenGeo Cambodia and its purpose?
OpenGeo Cambodia is an open API for Cambodia geography data designed around three core pillars:
- Administrative Hierarchy: Complete coverage across all 4 official tiers (25 Provinces, 210 Districts, 1,661 Communes, and 14,576 Villages).
- Allow users to use for free: 100% free and open-access under the MIT license with zero API keys and no paywalls.
- Provide fast response time: Sub-1ms (<1ms) in-memory query speed with zero database overhead.
02. How many provinces and administrative tiers exist in Cambodia?
03. Does OpenGeo Cambodia support both Khmer script and English Romanization?
04. How fast is the OpenGeo Cambodia cascading lookup?
05. How does reverse geocoding work in Cambodia with OpenGeo?
06. Is OpenGeo Cambodia free to use for commercial projects?
07. Where is the Cambodia geography and administrative data sourced from?
All Cambodian geographic and administrative datasets (covering all 25 Provinces, 210 Districts, 1,661 Communes, and 14,576 Villages) are officially sourced from the Ministry of Economy and Finance (MEF) Open Data Portal at https://data.mef.gov.kh/.
Geospatial coordinates and reverse geocoding boundaries are cross-referenced with OpenStreetMap and Nominatim data.