Vietnam City Truck Ban Hours API
Is a truck, pickup, van or coach allowed in the inner city of Hà Nội, Ho Chi Minh City or Đà Nẵng at a given time? Ban windows, next allowed time, permits.
Pick a city (hanoi, hcm, danang), a vehicle (truck, van, pickup, specialised, garbage, public_service, coach, fixed_route) with its weight and a datetime (Vietnam time, default now). The answer says whether it may run in the restricted inner-city zone now, the allowed windows of the day, the next allowed time, who approves exceptions and the urban-route fine (5–7 million VND, 2 licence points).
Hà Nội (Decision 01/2026/QĐ-UBND from 15/1/2026, amended by 52/2026 from 30/4/2026) uses the gross weight gvw_t: under 2 t outside peak hours (06:00–09:00, 16:00–19:30), 2 t and more only 21:00–06:00 (approval by the city police for 2–10 t, Department of Construction from 10 t), pickups 24/24, contract coaches of 28+ seats outside peak hours. Ho Chi Minh City (Decision 23/2018, amended 2019) uses the payload payload_t: light trucks up to 2.5 t banned 06:00–09:00 and 16:00–20:00, heavier trucks 06:00–22:00; a replacement draft is listed under pending. Đà Nẵng rules come from signage reports and are marked unverified.
Every answer has status, coverage and the legal references; rules are reviewed every 30 days. Route signs, temporary orders and the Hà Nội low-emission zone (see /v1/vn-low-emission-zone) are not covered.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
city | query | string | no | hanoi | hanoi, hcm or danang. |
vehicle | query | string | no | truck | truck, van, pickup, specialised, garbage, public_service, coach, fixed_route. |
gvw_t | query | number | no | Hà Nội: gross vehicle mass (t). | |
payload_t | query | number | no | HCMC / Đà Nẵng: permitted payload (t). | |
seats | query | number | no | coach: seats excluding the driver. | |
datetime | query | string | no | YYYY-MM-DDTHH:MM Vietnam time (default now). | |
zone | query | string | no | inner | inner (restricted zone) or outer. |
permit | query | boolean | no | The vehicle has an approval / permit. |
Example
curl "https://apibox.io.vn/v1/vn-truck-hours?city=hanoi&vehicle=truck&gvw_t=5&datetime=2026-11-17T08:00" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-truck-hours?city=hanoi&vehicle=truck&gvw_t=5&datetime=2026-11-17T08:00', {
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-truck-hours?city=hanoi&vehicle=truck&gvw_t=5&datetime=2026-11-17T08:00",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-truck-hours?city=hanoi&vehicle=truck&gvw_t=5&datetime=2026-11-17T08:00');
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
{
"city": "Hà Nội",
"city_status": "in_force",
"zone": "inner",
"date": "2026-11-17",
"datetime_vn": "2026-11-17T08:00",
"vehicle": "truck",
"gvw_t": 5,
"allowed_now": false,
"next_allowed": "2026-11-17T21:00",
"allowed_windows": [
{
"from": "21:00",
"to": "06:00"
}
],
"rule": {
"vi": "Xe tải thông dụng từ 2 tấn trở lên: chỉ hoạt động từ 21h00 đến 06h00 sáng hôm sau",
"en": "Trucks of 2 t or more: 21:00–06:00 only",
"ref": "QĐ 01/2026/QĐ-UBND Điều 5 khoản 2",
"status": "in_force",
"outside_windows": "Written approval of Công an Thành phố (2 t to under 10 t)"
},
"fine": {
"vi": "Xe tải chạy sai tuyến, phạm vi, thời gian quy định trong đô thị: 5–7 triệu đồng, trừ 2 điểm GPLX (NĐ 168/2024 Điều 21 khoản 6 điểm d)",
"en": "Truck outside permitted route / time in an urban area: 5–7 million VND, 2 licence points (NĐ 168/2024 Điều 21 k6 đ.d)"
},
"reviewed": "2026-11-16",
"review_cadence_days": 30
}
Use cases
- Schedule deliveries into Hà Nội or HCMC without fines
- Show the next allowed entry time in a dispatch app
- Answer drivers asking whether a pickup may enter by day
- Track changes to city truck rules with the status field
FAQ
Which weight does Hà Nội use?
The gross mass (khối lượng toàn bộ) of the vehicle under Decision 01/2026; HCMC uses the permitted payload. Send gvw_t for Hà Nội and payload_t for HCMC / Đà Nẵng.
Can pickups enter Hà Nội by day?
Yes, from 30/4/2026 Decision 52/2026 lets pickups run 24/24 in the inner city.
Has HCMC lowered the threshold to 1 tonne?
Not yet: the draft banning trucks over 1 t from 06:00 to 22:00 was still in consultation; the answer lists it under pending.
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.