Vietnam AI Law Risk Classifier API
Classify an AI system under Vietnam’s AI Law 134/2025, Decree 142/2026 and the high-risk list QĐ 33/2026: risk level, duties, deadlines, AI content labels.
Without parameters (or list=all / a field) it returns the 46 high-risk systems of Decision 33/2026/QĐ-TTg (education, ethnic and religious affairs, health, banking, litigation, transport and aviation) with their "only applies when" conditions and whether certification by a conformity body is required.
To classify, send role (provider, deployer, developer, user) and either system (an id of the list, with conditions_met) or field plus yes / no answers: prohibited purposes (manipulates, exploits_vulnerable, harmful_fakes, unlawful_data), high-risk exclusions of Decree 142 Article 8.2 (human_review, advisory_only, internal_only, data_processing_only), medium-risk signals (interacts_with_humans, generates_media, generates_text, deepfake) and their exclusions (office_tool, not_public, creative_fiction, technical_edit_only, backend_only). The result gives the risk level (prohibited, high, medium, low) with reasons and the duties: self-classification and file, notice to the Ministry of Science and Technology, conformity assessment, human oversight, transparency, machine-readable marking, visible labels for deepfakes, incident reports (72 hours / 5 working days).
in_use_since adds the transition deadline (1/3/2027 or 1/9/2027 for health, education and finance). Suggested label wording and IPTC / C2PA metadata are included. Items still waiting for guidance carry a status; the table is reviewed every 30 days.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
role | body|query | string | no | provider | provider, deployer, developer or user. |
system | body|query | string | no | Id of a listed high-risk system (e.g. banking-2). | |
conditions_met | body|query | boolean | no | The "only applies when" conditions of the listed system are met. | |
field | body|query | string | no | education, ethnic_religion, health, banking, litigation, transport, other. | |
interacts_with_humans | body|query | boolean | no | Talks directly with people (chatbot, voice). | |
generates_media | body|query | boolean | no | Generates audio, images or video. | |
deepfake | body|query | boolean | no | Imitates a real person or recreates real events. | |
human_review | body|query | boolean | no | Substantive human review before decisions take effect. | |
foreign_provider | body|query | boolean | no | Provider established abroad. | |
in_use_since | body|query | string | no | Date the system was put into use (YYYY-MM-DD). |
Example
curl -X POST "https://apibox.io.vn/v1/vn-ai-law" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"role":"provider","system":"banking-2","conditions_met":true,"in_use_since":"2025-06-01"}'const res = await fetch('https://apibox.io.vn/v1/vn-ai-law', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"role": "provider",
"system": "banking-2",
"conditions_met": true,
"in_use_since": "2025-06-01"
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-ai-law",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"role": "provider", "system": "banking-2", "conditions_met": True, "in_use_since": "2025-06-01"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-ai-law');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"role":"provider","system":"banking-2","conditions_met":true,"in_use_since":"2025-06-01"}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"role": "provider",
"system": {
"id": "banking-2",
"field": "banking",
"no": 2,
"vi": "Hệ thống AI tự động quyết định cấp tín dụng",
"en": "Automated credit decisions",
"cert": false
},
"risk_level": "high",
"confidence": "high",
"reasons": [
"QĐ 33/2026/QĐ-TTg Phụ lục Ngân hàng mục 2: Hệ thống AI tự động quyết định cấp tín dụng"
],
"certification_required": false,
"duties": [
{
"id": "self_classify",
"en": "Self-classify before use; re-classify after significant changes, serious incidents or list changes (notify within 15 working days if the risk rises)",
"ref": "Luật Điều 10 khoản 1; NĐ 142 Điều 11"
},
{
"id": "notify_most",
"en": "Notify the Ministry of Science and Technology through the AI one-stop portal before use (online form or API); a system ID is issued",
"ref": "Luật Điều 10 khoản 3; NĐ 142 Điều 14"
},
{
"id": "conformity",
"en": "Conformity assessment before use: self-assessment or a conformity body; repeat after significant changes",
"ref": "Luật Điều 13 khoản 2 điểm b; QĐ 33/2026 Phụ lục"
},
"…"
],
"transition": {
"deadline": "2027-09-01",
"ref": "QĐ 33/2026/QĐ-TTg Điều 4 khoản 1"
},
"status": "in_force_with_pending_guidance",
"reviewed": "2026-11-15",
"review_cadence_days": 30,
"disclaimer": "Reference only, not legal advice; check the official text."
}
Use cases
- Classify a chatbot, credit-scoring or exam-grading system before launch
- Prepare the AI risk notice to the Ministry of Science and Technology
- Decide when marketing videos and voice clones need an AI label
- Brief foreign AI providers entering Vietnam
FAQ
Is a customer-service chatbot high risk?
Usually not; it is medium risk because users may not realise they talk to AI, so it needs disclosure, a classification file and a notice before use.
When must AI-generated images be labelled?
Audio, images and video imitating a real person’s look or voice or recreating real events need a visible label when published; providers also add machine-readable marking.
What about systems already running?
Systems in use before 1/3/2026 have until 1/3/2027 (1/9/2027 in health, education and finance); listed high-risk systems follow the same dates under QĐ 33/2026.
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.