Court & Tax Office by Ward API
For a new ward or commune, get its regional people's court, specialised courts and grassroots tax office after the 1/7/2025 reorganisation.
Send a ward / commune as ward (5-digit code or name, with province) or a full address (new or pre-2025 format; old addresses are converted with the vn-provinces data). The response gives the regional people's court (Toà án nhân dân khu vực) from the appendix of Resolution 81/2025/UBTVQH15 (355 courts, every one of the 3,321 units), the provincial court, the district courts it succeeded, and the courts with specialised territorial jurisdiction: bankruptcy and restructuring (3 courts), intellectual-property cases (2 courts) and ad-hoc arbitral awards (3 provincial courts).
It also gives the grassroots tax office (Thuế cơ sở) of Decision 1378/QĐ-CT with its head-office commune, updated with the 2026 head-office moves. Reverse lookup: office=KV3&province=Hà Nội or office=Thuế cơ sở 5 Gia Lai lists the units of a court or tax office; list=courts|tax_offices&province= lists all offices of a province.
The data is rebuilt weekly from the published appendices with cross-checks (355 courts, 350 offices, every unit covered once). coverage reports what is included: courts 100 %, tax offices ≈ 99 % (a few units are named with old spellings in the decision), grassroots social-insurance offices not yet (the provincial office is returned). Court street addresses are set by the Chief Justice and are not included.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
ward | query | string | no | 5-digit ward code or ward / commune name (new units). | |
province | query | string | no | Province name or code (34 provinces); narrows a ward name, required with list / short office names. | |
address | query | string | no | Full address, new or pre-2025 format. | |
office | query | string | no | Reverse lookup: a court ("Tòa án nhân dân khu vực 3 - Hà Nội", "KV3") or tax office ("Thuế cơ sở 5 Gia Lai", "TCS5"). | |
list | query | string | no | courts or tax_offices of a province. | |
limit | query | number | no | 500 | Reverse lookup: maximum units returned. |
Example
curl "https://apibox.io.vn/v1/vn-jurisdiction?ward=B%E1%BA%BFn%20Th%C3%A0nh&province=H%E1%BB%93%20Ch%C3%AD%20Minh" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-jurisdiction?ward=B%E1%BA%BFn%20Th%C3%A0nh&province=H%E1%BB%93%20Ch%C3%AD%20Minh', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/vn-jurisdiction?ward=B%E1%BA%BFn%20Th%C3%A0nh&province=H%E1%BB%93%20Ch%C3%AD%20Minh",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-jurisdiction?ward=B%E1%BA%BFn%20Th%C3%A0nh&province=H%E1%BB%93%20Ch%C3%AD%20Minh');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"unit": {
"code": "26743",
"name": "Phường Bến Thành",
"province": "Thành phố Hồ Chí Minh",
"province_code": "79"
},
"resolved_from": "name",
"court": {
"name": "Tòa án nhân dân khu vực 1 - Thành phố Hồ Chí Minh",
"number": 1,
"province_code": "79",
"provincial_court": "Tòa án nhân dân Thành phố Hồ Chí Minh",
"unit_count": 10,
"succeeds_district_courts": [
"Quận 3",
"Quận 1",
"Quận 4"
],
"address": null,
"address_note": "Head-office addresses are set by the Chief Justice of the Supreme People's Court (NQ 81/2025 Điều 4 khoản 4); see toaan.gov.vn."
},
"specialised_jurisdiction": {
"bankruptcy_restructuring": {
"court": "Tòa án nhân dân khu vực 1 - Thành phố Hồ Chí Minh",
"legal": "NQ 81/2025/UBTVQH15 Điều 4 khoản 2 (sửa đổi bởi NQ 04/2026/UBTVQH16: thêm vụ việc phục hồi)",
"en": "Bankruptcy and restructuring cases",
"vi": "Vụ việc phá sản, phục hồi"
},
"intellectual_property": {
"court": "Tòa án nhân dân khu vực 1 - Thành phố Hồ Chí Minh",
"legal": "NQ 81/2025/UBTVQH15 Điều 4 khoản 3",
"en": "Civil, business and commercial disputes and administrative cases on intellectual property and technology transfer",
"vi": "Vụ việc dân sự, kinh doanh, thương mại, vụ án hành chính về sở hữu trí tuệ, chuyển giao công nghệ"
},
"arbitration_awards": {
"court": "Tòa án nhân dân Thành phố Hồ Chí Minh",
"legal": "NQ 81/2025/UBTVQH15 Điều 2",
"en": "Requests to set aside / register ad-hoc arbitral awards",
"vi": "Yêu cầu hủy phán quyết trọng tài, đăng ký phán quyết trọng tài vụ việc"
}
},
"tax_office": {
"name": "Thuế cơ sở 1 Thành phố Hồ Chí Minh",
"number": 1,
"province_code": "79",
"parent": "Thuế Thành phố Hồ Chí Minh",
"head_office_unit": "Phường Tân Định",
"head_office_unit_code": "26737",
"unit_count": 4
},
"social_insurance": {
"office": null,
"provincial_office": "Bảo hiểm xã hội Thành phố Hồ Chí Minh",
"note": "Grassroots BHXH offices are assigned by each provincial BHXH; not covered yet."
},
"data_version": "2026-11-11",
"admin_version": "v5.2.0",
"coverage": {
"court": 1,
"tax_office": 0.9919,
"social_insurance": 0,
"note": "Courts: all 3,321 units (NQ 81/2025 appendix). Tax offices: units the QĐ 1378 transcription names unambiguously. Grassroots social-insurance offices (BHXH cơ sở) are set by each provincial BHXH and are not covered yet."
},
"legal": [
{
"ref": "Nghị quyết 81/2025/UBTVQH15 (Phụ lục: tên gọi, phạm vi thẩm quyền theo lãnh thổ của 355 TAND khu vực)",
"effective_from": "2025-07-01",
"url": "https://cdn.nhandan.vn/files/8c7b09d44d49419e59b236170af5ab4303c7381b5d42807a471e8df9a1809f1af511fc0ebc00b89d4ab4100ea56105831e047eee7ffce7ec1f58cb11af29bf5627ae6353da32bd748fb773b9c984d3d0/nq-81-ubtvqh-thanh-lap-takv-phat-hanh.pdf"
}
],
"disclaimer": "Reference only, not legal or tax advice; check the official text and the agency before filing.",
"disclaimer_vi": "Thông tin tham khảo, không phải tư vấn pháp lý / thuế; hãy đối chiếu văn bản chính thức và cơ quan trước khi nộp hồ sơ.",
"reviewed": "2026-11-11"
}
Use cases
- Pick the right court for a lawsuit or debt-collection file from the defendant's address
- Show the tax office that manages a new business or household business
- Pre-fill the competent authority in legal and accounting forms
- Answer "which court / tax office covers my ward" in a chatbot
FAQ
Does it handle addresses written before the 2025 merger?
Yes. An old address (ward, district, province) is converted to the new unit first; when an old ward was split, the response marks it ambiguous and lists the candidates.
Why is the tax office empty for some wards?
Decision 1378/QĐ-CT still names a few units by their old or misspelt names, so they cannot be matched reliably; the response says so and gives the provincial tax office. Coverage is about 99 %.
Which court handles bankruptcy in my province?
The specialised_jurisdiction block gives it: Regional Court 2 – Hà Nội for 18 northern provinces, Regional Court 1 – Đà Nẵng for 7 central provinces and Regional Court 1 – Hồ Chí Minh City for 9 southern ones.
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.