Thai address dataset
Thailand's provinces, districts and subdistricts with DOPA codes, Thai and English (RTGS) names, history (status, abolition dates) and postal codes, built from official sources (DOPA, Thailand Post, MDES, ISO 3166-2) and published as immutable, versioned JSON and CSV snapshots.
Full documentation, written for people and for language models: llms-full.txt (short index: llms.txt).
Files
Every snapshot is immutable. Find the newest published id in v1/snapshots.json and pin it; v1/latest.json is for discovery only.
v1/{snapshot}/provinces.json
v1/{snapshot}/districts.json
v1/{snapshot}/subdistricts.json
v1/{snapshot}/postal_codes.json
v1/{snapshot}/changes.json
v1/{snapshot}/thailand-address.csv
v1/{snapshot}/schema.json
v1/{snapshot}/manifest.json
Sources, licences and attribution
- DOPA ทำเนียบท้องที่ (ccaatt), Department of Provincial Administration (DOPA), Ministry of Interior. Licence: no licence stated. Department of Provincial Administration (DOPA), ทำเนียบท้องที่. No licence is stated on the download page; published government record data.
- Thailand Post track web: getSubdistrict, Thailand Post Co., Ltd.. Licence: no licence stated. Thailand Post Co., Ltd. No licence is stated; terms: https://postbase.thailandpost.co.th/th/terms-and-conditions. Thailand Post is the authority on postal codes.
- สถานที่ทำการไปรษณีย์ (post offices), Office of the Permanent Secretary, Ministry of Digital Economy and Society (MDES). Licence: CC-BY. Ministry of Digital Economy and Society (MDES), dataset "สถานที่ทำการไปรษณีย์" on data.go.th, Creative Commons Attribution (version not stated).
- iso-codes iso_3166-2.json (ISO 3166-2 subdivision codes), Debian iso-codes project. Licence: LGPL-2.1-or-later. Debian iso-codes v4.20.1 (LGPL-2.1-or-later); the codes themselves are ISO 3166-2:TH.
MDES post-office data is published under Creative Commons Attribution. DOPA and Thailand Post state no licence.