# 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.

- Endpoint: `GET | POST https://apibox.io.vn/v1/vn-truck-hours`
- Category: Data & JSON
- HTML docs: https://apibox.io.vn/docs/vn-truck-hours/ (Vietnamese: https://apibox.io.vn/vi/docs/vn-truck-hours/)
- Online tool: https://apibox.io.vn/tools/vn-truck-hours/
- Authentication: `Authorization: Bearer <API key>` or `X-API-Key: <API key>` (free key: https://apibox.io.vn/dashboard/#signup)

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.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `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 request

```bash
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"
```

## Example response

```json
{
  "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.
