# Vietnam E-commerce Law Checker API

> Obligations of sellers, livestreamers, affiliates and platforms under Vietnam’s 2025 E-commerce Law, plus a listing checker for missing info and claims.

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

`role` returns the obligations of one actor under the E-commerce Law 122/2025/QH15 (in force 1 July 2026) and Decree 248/2026/NĐ-CP: `seller`, `livestream_seller`, `livestreamer`, `affiliate`, `affiliate_service`, `own_website`, `marketplace`, `social_commerce`, `integrated_platform`, `foreign_platform`. Options: `ordering` (online ordering function, default true), `large_platform`, `small_business` (1-year contract data retention for micro firms and household businesses), `foreign`. Each item has its article and deadline (24-hour takedowns, annual report before 15 February, 100,000-transaction threshold for foreign platforms…).

`listing` (JSON) checks one product listing: seller name and address, title, price and shipping fee, proof for conditional business lines, the mandatory label information of Decree 37/2026/NĐ-CP for the `product_group` (date, lot and chassis numbers are not required online), mandatory phrases, and risky advertising claims through the vn-ad-check lexicon (absolute claims, medical claims, off-platform contact).

Identity verification (VNeID) is done by the platform; this endpoint does not touch personal data.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `role` | body|query | string | no |  | Actor: seller, livestream_seller, livestreamer, affiliate, affiliate_service, own_website, marketplace, social_commerce, integrated_platform, foreign_platform. |
| `ordering` | body|query | boolean | no | `true` | The platform has an online ordering function. |
| `large_platform` | body|query | boolean | no | `false` | Large digital platform under consumer protection law. |
| `small_business` | body|query | boolean | no | `false` | Micro firm, household business or innovative start-up (own website). |
| `foreign` | body|query | boolean | no | `false` | Foreign seller. |
| `listing` | body | object | no |  | Listing to check: title, description, price, shipping_fee, seller_name, seller_address, product_group, imported, conditional_business, conditional_proof, label {field: value}. |
| `date` | body|query | string | no |  | Reference date (YYYY-MM-DD). |

## Example request

```bash
curl -X POST "https://apibox.io.vn/v1/vn-ecom-compliance" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listing":{"title":"Kem dưỡng trắng da số 1","description":"Cam kết hiệu quả 100%, inbox zalo","price":199000,"product_group":"cosmetics","imported":true,"label":{"origin":"Hàn Quốc","quantity":"50 ml"}}}'
```

## Example response

```json
{
  "ok": false,
  "summary": {
    "high": 3,
    "medium": 8,
    "low": 1
  },
  "product_group": {
    "id": "cosmetics",
    "vi": "Mỹ phẩm",
    "en": "Cosmetics"
  },
  "imported": true,
  "issues": [
    {
      "field": "seller_name",
      "severity": "high",
      "vi": "Thiếu tên người bán (tên doanh nghiệp / hộ kinh doanh theo đăng ký hoặc họ tên cá nhân)",
      "en": "Seller name missing",
      "ref": "Luật TMĐT 122/2025/QH15 Điều 21 khoản 1 điểm b"
    },
    {
      "field": "shipping_fee",
      "severity": "low",
      "vi": "Nên ghi phí vận chuyển (tổng tiền phải hiển thị trước khi đặt hàng)",
      "en": "State the shipping fee (the full amount must be shown before ordering)",
      "ref": "Luật TMĐT 122/2025/QH15 Điều 12 khoản 1 điểm d"
    },
    {
      "field": "label.importer",
      "severity": "medium",
      "vi": "Thiếu thông tin bắt buộc trên nhãn: Tên, địa chỉ tổ chức, cá nhân nhập khẩu",
      "en": "Mandatory label information missing: Importer name and address",
      "ref": "Luật TMĐT 122/2025/QH15 Điều 21 khoản 1 điểm c; NĐ 37/2026/NĐ-CP (Điều 42 khoản 1 điểm b, Điều 44 khoản 2)"
    },
    "…"
  ],
  "note": "Lot-specific label data (production / expiry date, lot, chassis and engine numbers) need not be shown on the listing (Luật TMĐT Điều 21 khoản 1 điểm c). Identity verification is done by the platform, not here.",
  "reviewed": "2026-11-11"
}
```

## Use cases

- Onboarding checklist for new marketplace sellers and livestream hosts
- Pre-publication check of product pages in a shop plugin
- Compliance review for a new e-commerce website or app
- Training material for agencies running livestream sales

## FAQ

### How long must livestream recordings be kept?

The platform keeps the images and sound of livestream sales for at least 1 year from the start of the broadcast (Law Article 22.7).

### Does a household business need a notice for its own web shop?

Yes, a direct-sales website or app with online ordering must be notified to the Ministry of Industry and Trade before operating; sites notified before 1 July 2026 may run until 30 June 2027.

### Are the advertising checks a legal opinion?

No. They flag wording that commonly breaks the Advertising Law or platform rules; final responsibility stays with the seller.
