Vietnam Data Law Core / Important Data API
Core / important data under Decision 20/2025 (26 + 18 items), duties under the Data Law 60/2024 and Decree 165/2025, cross-border transfer dossiers.
Send a description q of the dataset and the counts that drive the quantitative items: basic_citizens and sensitive_citizens (Vietnamese citizens whose basic / sensitive data you hold) and org_financial_records (Vietnamese organisations whose bank accounts, payment history or debts you hold), plus state_held, public and the activity (store, share, cross_border, foreign_cloud). Decision 20/2025/QĐ-TTg makes non-public data of ≥ 1,000,000 citizens (basic), ≥ 100,000 (sensitive) or ≥ 100,000 organisations core data, and 100,000 / 10,000 / 10,000 important data; other items are sector lists, suggested by keyword with a confidence.
Obligations for core and important data come from Decree 165/2025/NĐ-CP: data-protection officer and unit, logs kept ≥ 6 months, yearly risk report, drills every 6 months, outsourcing contracts and 3-year records, proof of irreversible deletion. Cross-border transfers (including processing on a platform abroad): core data needs an assessment by the Ministry of Public Security (10 days, up to 15) before transfer; important data needs a prior dossier sent 15 days before; three exemptions (emergencies, cross-border HR, contract necessity) report within 15 days after.
The list is broad: when nothing matches the API answers no_match, never "not covered". Personal data: see /v1/vn-pdp-dossier. list=all returns the annex. Reviewed every 90 days.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
q | query | string | no | Description of the dataset. | |
basic_citizens | query | number | no | Vietnamese citizens whose basic personal data is held (cumulative). | |
sensitive_citizens | query | number | no | Citizens whose sensitive data is held. | |
org_financial_records | query | number | no | Vietnamese organisations whose bank accounts / payments / debts are held. | |
activity | query | string | no | store, share, cross_border, foreign_cloud, outsource (comma list). | |
state_held | query | boolean | no | Data collected / managed by a state body. | |
public | query | boolean | no | Data already public (the list covers non-public data). | |
contract_necessity | query | boolean | no | Exemption: transfer needed to sign / perform a contract (also emergency, cross_border_hr). | |
list | query | string | no | core, important or all: the annex. |
Example
curl "https://apibox.io.vn/v1/vn-data-law?q=CRM khách hàng thương mại điện tử&basic_citizens=1500000&activity=cross_border" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-data-law?q=CRM khách hàng thương mại điện tử&basic_citizens=1500000&activity=cross_border', {
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-data-law?q=CRM khách hàng thương mại điện tử&basic_citizens=1500000&activity=cross_border",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-data-law?q=CRM khách hàng thương mại điện tử&basic_citizens=1500000&activity=cross_border');
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
{
"classification": "core",
"confidence": "high",
"matches": [
{
"category": "core",
"no": 26,
"vi": "Dữ liệu công dân cơ bản của ≥ 1.000.000 công dân Việt Nam",
"basis": "basic_citizens = 1500000",
"confidence": "high"
}
],
"obligations": [
{
"id": "classify",
"en": "Classify data as core / important / other",
"ref": "Luật Dữ liệu Điều 13 khoản 1–2"
},
{
"id": "dpo",
"en": "Appoint a data-protection officer and unit; confidentiality undertakings; yearly training",
"ref": "NĐ 165/2025 Điều 18"
},
{
"id": "logs",
"en": "Processing logs kept at least 6 months",
"ref": "NĐ 165/2025 Điều 17 khoản 10"
},
"…"
],
"cross_border": {
"required": "prior_assessment_by_ministry",
"vi": "Dữ liệu cốt lõi: gửi hồ sơ đánh giá tác động (Báo cáo Mẫu số 02 + văn bản giao kết với bên nhận) tới Bộ Công an (quân sự, quốc phòng, cơ yếu: Bộ Quốc phòng); kết quả trong 10 ngày (phức tạp: không quá 15 ngày) kể từ khi hồ sơ hợp lệ; chỉ chuyển sau khi có kết quả đạt",
"review_days": 10,
"max_days": 15,
"ref": "NĐ 165/2025 Điều 12 khoản 1–5",
"…": "…"
},
"reviewed": "2026-11-16",
"review_cadence_days": 90,
"disclaimer": "Reference only, not legal advice; check the official text."
}
Use cases
- Check whether a CRM or fintech dataset is core or important data
- Plan the dossier before moving data to a foreign cloud
- Build a data inventory with legal classification for a DPO
- Brief SaaS vendors serving Vietnamese customers
FAQ
How many customers make personal data "important"?
Non-public basic data of 100,000 or more Vietnamese citizens, or sensitive data of 10,000 or more; core data starts at 1,000,000 (basic) or 100,000 (sensitive).
Does using a cloud abroad count as a transfer?
Yes. The Data Law art. 23(2) includes using a platform outside Vietnam to process data stored in Vietnam.
Do I need approval to transfer important data?
No approval, but an impact-assessment dossier prepared beforehand and one original sent to the Ministry of Public Security 15 days before processing (Decree 165/2025 art. 12(6)).
Related APIs
Hash Generator
Compute MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 of text or files in one call, as hex or base64, with optional HMAC signing.
B64Encode / Decode
Encode or decode text as Base64, Base64URL, hex, URL encoding, HTML entities, Unicode escapes, ROT13 or binary with one simple API call.
***Password Generator
Generate cryptographically secure random passwords (4–256 chars, up to 100 at once) or check a password’s strength, entropy and estimated crack time.