---
id: "th_bangkok_district"
kind: "datatype"
status: "draft"
is_pii: false
name: "Bangkok district (khet)"
regexp: "^(?:เขต ?)?(?:พระนคร|ดุสิต|หนองจอก|บางรัก|บางเขน|บางกะปิ|ปทุมวัน|ป้อมปราบศัตรูพ่าย|พระโขนง|มีนบุรี|ลาดกระบัง|ยานนาวา|สัมพันธวงศ์|พญาไท|ธนบุรี|บางกอกใหญ่|ห้วยขวาง|คลองสาน|ตลิ่งชัน|บางกอกน้อย|บางขุนเทียน|ภาษีเจริญ|หนองแขม|ราษฎร์บูรณะ|บางพลัด|ดินแดง|บึงกุ่ม|สาทร|บางซื่อ|จตุจักร|บางคอแหลม|ประเวศ|คลองเตย|สวนหลวง|จอมทอง|ดอนเมือง|ราชเทวี|ลาดพร้าว|วัฒนา|บางแค|หลักสี่|สายไหม|คันนายาว|สะพานสูง|วังทองหลาง|คลองสามวา|บางนา|ทวีวัฒนา|ทุ่งครุ|บางบอน)$"
categories: ["geo", "government"]
country: ["TH"]
langs: ["th"]
quality: 90
url: "https://registry.apicrafter.io/datatype/th_bangkok_district"
---

# Bangkok district (khet) (`th_bangkok_district`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Name of one of the 50 districts (khet) of Bangkok in Thai, such as พระนคร (Phra Nakhon), จตุจักร (Chatuchak) or บางรัก (Bang Rak), with or without the word เขต before it. Tables of the Bangkok Metropolitan Administration give it in columns named dname or district beside the district code (th_district_code).

- Parent datatype: [`district`](https://registry.apicrafter.io/datatype/district.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Thailand (TH)
- Languages: Thai (th)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:เขต ?)?(?:พระนคร|ดุสิต|หนองจอก|บางรัก|บางเขน|บางกะปิ|ปทุมวัน|ป้อมปราบศัตรูพ่าย|พระโขนง|มีนบุรี|ลาดกระบัง|ยานนาวา|สัมพันธวงศ์|พญาไท|ธนบุรี|บางกอกใหญ่|ห้วยขวาง|คลองสาน|ตลิ่งชัน|บางกอกน้อย|บางขุนเทียน|ภาษีเจริญ|หนองแขม|ราษฎร์บูรณะ|บางพลัด|ดินแดง|บึงกุ่ม|สาทร|บางซื่อ|จตุจักร|บางคอแหลม|ประเวศ|คลองเตย|สวนหลวง|จอมทอง|ดอนเมือง|ราชเทวี|ลาดพร้าว|วัฒนา|บางแค|หลักสี่|สายไหม|คันนายาว|สะพานสูง|วังทองหลาง|คลองสามวา|บางนา|ทวีวัฒนา|ทุ่งครุ|บางบอน)$
```

## Examples

- `พระนคร` — Phra Nakhon
- `เขตจตุจักร` — Chatuchak, with the word khet
- `บางรัก` — Bang Rak
- `เชียงใหม่` (invalid example) — Chiang Mai, a province

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `thbangkokdistrictbyname` (field, `th/th_codes.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- th: เขตของกรุงเทพมหานคร
- ru: Район Бангкока (кхет)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/List_of_districts_of_Bangkok>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/th_bangkok_district.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/TH/geo/th_bangkok_district.yaml>
