API
6,702 official Cambodian government terms, from 22 published sources, as JSON. No key, no account, CORS open to any origin. Read-only. Where the data comes from, and how accurate it is →
This exists because a website makes the data readable by people, and an API makes it usable by every other Khmer-language tool — keyboards, translation memories, editors, government systems. If you build something with it, attribution to the source ministries is requested.
Base URL /api/v1
Search
Khmer or English. Spelling is forgiven: if nothing matches exactly you get
suggestions — entries one Khmer syllable away.
GET /api/v1/search?q=blockchain
GET /api/v1/search?q=ទិន្នន័យ&limit=10
GET /api/v1/search?category=Digital%20Technology%20&%20Telecom
{
"query": "blockchain",
"total": 1,
"results": [
{ "khmer": "ប្លុកឆេន", "english": "Blockchain", "french": "",
"definition": "…", "examples": "…", "pos": "",
"category": "Digital Technology & Telecom",
"author": "Ministry of Post and Telecommunications (MPTC)",
"source": "mptc-digital-lexicon", "year": "2025" }
],
"suggestions": []
}
One term, every sense
A Khmer form defined by several ministries returns several senses.
Returns 404 with suggestions if it isn't found.
GET /api/v1/term?khmer=អភិបាលកិច្ច
Categories
GET /api/v1/categories
Check a draft
Returns the official terms used with their positions, English loanwords that have an approved Khmer form, and characters that aren't Khmer. Positions are code-point offsets, guaranteed to fall on grapheme-cluster boundaries so a highlight never splits a syllable.
POST /api/v1/check
Content-Type: application/json
{ "text": "រដ្ឋាភិបាលបានអនុម័តគោលនយោបាយ digital transformation។" }
8,000 character limit.
Limits, stated plainly
- 60 requests per minute per IP. Over that you get
429. - 100 results maximum per request, 40 by default.
- There is no bulk endpoint and no pagination. This API is for looking terms up, not for downloading the lexicon. The full dataset is not published; the repository carries a 309-entry sample.
Need bulk access for research? Ask →
Try it
curl "https://YOUR-HOST/api/v1/search?q=blockchain"