Vietnam Food Additives (INS) API
Look up permitted food additives in Vietnam by INS / E-number or name, maximum levels per food category (TT 24/2019/TT-BYT) and check a recipe.
Data from the consolidated text 09/VBHN-BYT (Circular 24/2019/TT-BYT as amended by Circular 17/2023/TT-BYT), read from the Official Gazette: the 400 permitted additives of Appendix 1 (INS, Vietnamese and English names, functions), the maximum levels (ML, mg/kg) of Appendix 2A for 246 additive groups × food-category codes, the named food groups of Appendix 2B, the additives used at GMP (Appendix 3), the food-category tree of Appendix 4 and the 458 numbered notes.
ins or q finds an additive (E211, INS 160a(ii), natri benzoat, sodium benzoate); add category (e.g. 14.1.4) to get the level that applies to that food, inherited from the parent category when the sub-category has no own row (Article 6.3.a). category alone lists every additive group with a level for that food and whether GMP additives may be used. check (JSON array of {additive, mg_kg}) with category reports for each additive: ok, over_limit, gmp, gmp_not_for_category, not_listed_for_category or not_permitted, with the notes explained.
Article 5.4 of the circular makes Appendix 2A and 3 follow the latest Codex GSFA tables; levels changed by Codex after the consolidated text are not included, so treat not_listed_for_category as “check Codex”. The dataset is rebuilt weekly from the Gazette and the build fails when a newer amending text appears.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
ins | query | string | no | INS / E-number (211, E211, 160a(ii)). | |
q | query | string | no | Additive name in Vietnamese or English (accents optional). | |
category | query | string | no | Food-category code of Appendix 4 (e.g. 01.1.4, 05.2, 14.1.4). | |
check | body | array | no | Recipe: [{"additive": "E211", "mg_kg": 300}, …] (max 100), requires category. | |
list | query | string | no | additives, categories or gmp: full lists. | |
limit | query | number | no | 10 | Max results of a name search (1–50). |
Example
curl -X POST "https://apibox.io.vn/v1/vn-food-additives" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category":"14.1.4","check":[{"additive":"E211","mg_kg":300},{"additive":"Kali sorbat","mg_kg":100},{"additive":"E330"},{"additive":"E128","mg_kg":5}]}'const res = await fetch('https://apibox.io.vn/v1/vn-food-additives', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"category": "14.1.4",
"check": [
{
"additive": "E211",
"mg_kg": 300
},
{
"additive": "Kali sorbat",
"mg_kg": 100
},
{
"additive": "E330"
},
{
"additive": "E128",
"mg_kg": 5
}
]
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-food-additives",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"category": "14.1.4", "check": [{"additive": "E211", "mg_kg": 300}, {"additive": "Kali sorbat", "mg_kg": 100}, {"additive": "E330"}, {"additive": "E128", "mg_kg": 5}]},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-food-additives');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"category":"14.1.4","check":[{"additive":"E211","mg_kg":300},{"additive":"Kali sorbat","mg_kg":100},{"additive":"E330"},{"additive":"E128","mg_kg":5}]}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"category": {
"code": "14.1.4",
"name": "Đồ uống hương liệu, bao gồm đồ uống “thể thao”, “năng lượng” hoặc “điện giải” và các đồ uống đặc biệt khác",
"chain": [
"14.1.4",
"14.1",
"14.0"
]
},
"result": "fail",
"items": [
{
"additive": "E211",
"ins": "211",
"name_vi": "Natri benzoat",
"name_en": "Sodium benzoate",
"mg_kg": 300,
"group": "BENZOATES",
"ml": "250",
"ml_mg_kg": 250,
"unit": "mg/kg",
"notes": [
{
"note": "13",
"text": "Tính theo acid benzoic"
},
{
"note": "301",
"text": "Mức tối đa tạm thời"
}
],
"status": "over_limit",
"status_vi": "Vượt mức sử dụng tối đa (ML)",
"group_ins": [
"210",
"211",
"212",
"213"
]
},
{
"additive": "Kali sorbat",
"ins": "202",
"name_vi": "Kali sorbat",
"name_en": "Potassium sorbate",
"mg_kg": 100,
"group": "SORBATES",
"ml": "500",
"ml_mg_kg": 500,
"unit": "mg/kg",
"status": "ok",
"status_vi": "Trong giới hạn ML"
},
{
"additive": "E330",
"ins": "330",
"name_vi": "Acid citric",
"name_en": "Citric acid",
"mg_kg": null,
"status": "gmp",
"status_vi": "Phụ gia dùng theo GMP (Phụ lục 3 Mục 1) cho nhóm thực phẩm thuộc Mục 2"
},
{
"additive": "E128",
"status": "not_permitted",
"status_vi": "Không có trong danh mục phụ gia được phép (Phụ lục 1)",
"mg_kg": 5
}
],
"source": "09/VBHN-BYT",
"reviewed": "2026-11-11",
"disclaimer": "Reference only, not legal advice; check the official text and the latest Codex GSFA before a product declaration."
}
Use cases
- Check a product formula before the self-declaration dossier
- Show the legal limit next to each additive in an R&D or ERP tool
- Decode E-numbers on imported food labels for consumers
- Train QA staff on which additives are permitted in which food category
FAQ
Which text is used?
Văn bản hợp nhất 09/VBHN-BYT (6/9/2024), consolidating Circular 24/2019/TT-BYT and Circular 17/2023/TT-BYT, as published in the Official Gazette.
Why is an additive "not listed for category" although it is permitted?
It has no level for that food in Appendix 2A/3. Appendix 2B, a Codex product standard or the latest Codex GSFA may still allow it; the answer lists the 2B rows to check.
Are group limits summed?
Levels are given per additive group (e.g. benzoates 210–213, expressed as benzoic acid); the combined use of the group must stay within the level.
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.