# Expressway Toll Calculator API

> Toll for Vietnam's State-owned expressways: vehicle group from seats / payload / container, per-km rates of Decree 130/2024, fee per section or trip.

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

Decree 130/2024/ND-CP sets the road-use fee on expressways owned and operated by the State: the actual distance × a rate per vehicle group. Groups (Article 5): 1 = under 12 seats, trucks under 2 t, public buses; 2 = 12–30 seats, trucks 2 to under 4 t; 3 = 31+ seats, trucks 4 to under 10 t, tractor units alone; 4 = trucks 10 to under 18 t, containers under 40 ft; 5 = trucks 18 t or more, containers 40 ft or more. "Payload" is the permitted cargo mass on the inspection certificate; a tractor with a semi-trailer pays by the towed unit. Rates (đồng/km): Level 1 1,300 / 1,950 / 2,600 / 3,250 / 5,200; Level 2 (sections without full expressway standards) 900 / 1,350 / 1,800 / 2,250 / 3,600.

Send `vehicle` (`car`, `bus`, `public_bus`, `truck`, `special`, `semi_trailer`, `tractor_unit`, `container`) with `seats`, `payload_t` or `container_ft` — or `group` — and either `section` / `sections` (ids listed in `coverage`: the North–South sections charged since 2/3, 15/7 and 15/8/2026), `from_km` + `to_km` (chainage, Bãi Vọt – Cam Lộ corridor) for an entry/exit trip, or `km` + `rate_level` for any other distance-based State expressway. The response lists each leg (km, rate, fee), the total, the ETC-only payment rule and the 10 exempt vehicle categories of Article 6.

`coverage` marks lengths that come from announcements rather than published fares (`length_verified: false`). BOT toll stations and VEC expressways use per-contract tariffs and are not included; no monthly or quarterly passes exist for these per-km fees.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `vehicle` | query | string | no |  | `car`, `bus`, `public_bus`, `truck`, `special`, `semi_trailer`, `tractor_unit`, `container`. |
| `seats` | query | number | no |  | Permitted number of people (cars, buses). |
| `payload_t` | query | number | no |  | Permitted payload, tonnes (trucks; towed unit for semi-trailers). |
| `container_ft` | query | number | no |  | Container size, feet. |
| `group` | query | number | no |  | Vehicle group 1–5 instead of vehicle. |
| `sections` | query | string | no |  | Comma list of section ids (see coverage); `section` for one, with optional `km` for part of it. |
| `from_km` | query | number | no |  | Entry chainage (km) with `to_km` — Bãi Vọt – Cam Lộ corridor. |
| `km` | query | number | no |  | Custom distance (with `rate_level` 1 / 2 or `rate_per_km`). |
| `date` | query | string | no |  | Trip date (sections not yet charged cost 0). |

## Example request

```bash
curl "https://apibox.io.vn/v1/vn-toll-fees?vehicle=truck&payload_t=15&sections=mai-son-ql45,ql45-nghi-son,nghi-son-dien-chau&date=2026-11-11" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Example response

```json
{
  "vehicle_group": 4,
  "group_vi": "Xe tải có tải trọng từ 10 tấn đến dưới 18 tấn; xe chở hàng bằng container dưới 40 feet",
  "reasoning": "Payload 15 t → group 4",
  "as_of": "2026-11-11",
  "legs": [
    {
      "section": "mai-son-ql45",
      "name": "Mai Sơn – Quốc lộ 45",
      "km": 61.01,
      "rate_per_km": 2250,
      "fee": 137273,
      "level": 2,
      "charging_since": "2026-03-02",
      "length_verified": true
    },
    {
      "section": "ql45-nghi-son",
      "name": "Quốc lộ 45 – Nghi Sơn",
      "km": 45.018,
      "rate_per_km": 2250,
      "fee": 101291,
      "level": 2,
      "charging_since": "2026-03-02",
      "length_verified": true
    },
    {
      "section": "nghi-son-dien-chau",
      "name": "Nghi Sơn – Diễn Châu",
      "km": 50.45,
      "rate_per_km": 2250,
      "fee": 113513,
      "level": 2,
      "charging_since": "2026-03-02",
      "length_verified": true
    }
  ],
  "total_km": 156.478,
  "total_fee": 352077,
  "currency": "VND",
  "payment": "ETC only (no cash lanes): free-flow entry, barrier at exit; a vehicle tag and a funded non-cash account are required.",
  "coverage": {
    "sections": [
      {
        "id": "mai-son-ql45",
        "name": "Mai Sơn – Quốc lộ 45",
        "level": 2,
        "km": 61.01,
        "since": "2026-03-02",
        "length_verified": true
      },
      {
        "id": "ql45-nghi-son",
        "name": "Quốc lộ 45 – Nghi Sơn",
        "level": 2,
        "km": 45.018,
        "since": "2026-03-02",
        "length_verified": true
      },
      {
        "id": "nghi-son-dien-chau",
        "name": "Nghi Sơn – Diễn Châu",
        "level": 2,
        "km": 50.45,
        "since": "2026-03-02",
        "length_verified": true
      }
    ],
    "count": 15,
    "not_included": [
      "BOT toll stations (per-contract tariffs)",
      "VEC expressways (Cầu Giẽ–Ninh Bình, Nội Bài–Lào Cai, TP.HCM–Long Thành–Dầu Giây, Đà Nẵng–Quảng Ngãi)",
      "Cần Thơ–Cà Mau (rates not published)"
    ],
    "passes": "No monthly / quarterly passes are published for State-owned expressways (fees are per km, ETC only)."
  },
  "exempt_vi": [
    "Xe cứu thương",
    "Xe chữa cháy",
    "Xe chuyên dùng phục vụ quốc phòng (biển đỏ), xe làm nhiệm vụ khẩn cấp"
  ],
  "legal": [
    {
      "ref": "Nghị định 130/2024/NĐ-CP quy định thu phí sử dụng đường bộ cao tốc đối với phương tiện lưu thông trên tuyến đường bộ cao tốc thuộc sở hữu toàn dân do Nhà nước đại diện chủ sở hữu và trực tiếp quản lý, khai thác (Điều 5, 6, 9, Phụ lục)",
      "effective_from": "2024-10-10",
      "url": "https://vcci.com.vn/legal-document/130-2024-nd-cp"
    }
  ],
  "disclaimer": "Reference only; the toll operator's ETC charge prevails (rounding, exact chainage).",
  "disclaimer_vi": "Thông tin tham khảo; số tiền thực trừ qua ETC là căn cứ cuối cùng.",
  "reviewed": "2026-11-11"
}
```

## Use cases

- Estimate expressway tolls in a freight quote or delivery-cost calculator
- Show the vehicle group of a truck or coach from its registration data
- Budget toll costs for a trip on the North–South expressway
- Check the per-km rate of a new expressway section before it opens

## FAQ

### Which expressways are covered?

The State-owned North–South sections charged so far in 2026 (listed in coverage). Other State expressways can be priced with km + rate_level; BOT and VEC roads are not included.

### How is a truck's group decided?

By the permitted payload on its inspection certificate (under 2 t, 2–4, 4–10, 10–18, 18 t and more); containers by size; a tractor unit alone is group 3.

### Can I pay cash?

No. These sections are ETC-only: you need an e-tag and a funded non-cash account; the exit has a barrier.
