Skip to content

Find any place in Thailand, down to the subdistrict.

Province, district, subdistrict and postal code, from one search. Every value is checked against official sources.

Province

กรุงเทพมหานคร

Bangkok

10

District

เขตพระนคร

Phra Nakhon

1001

Subdistrict

พระบรมมหาราชวัง

Phra Borom Maha Ratchawang

100101

Postal code

10200

Three levels, one code.

Each code holds its parents. Read it from the left and you never need a second lookup.

  1. 10Bangkok, one of 77 provinces
  2. 1001Phra Nakhon, one of 928 districts
  3. 100101Phra Borom Maha Ratchawang, one of 7,436 subdistricts

Seven sources read every value.

When they disagree, a person reviews the difference and decides before the data ships.

One line per place.

Each subdistrict is one JSON line with its code, both names, its district, its province and its postal codes. The same tables come as CSV.

{ "code": "100101", "name_th": "พระบรมมหาราชวัง", "name_en": "Phra Borom Maha Ratchawang", "district_code": "1001", "province_code": "10", "postal_codes": ["10200"]}

Build on places you can trust.

Get the data on GitHub