Look Up a Vietnamese Legal Document by Its Number
Exact lookup of Vietnamese legal documents by number (e.g. 31/2024/QH15, 01/2024/QĐ-UBND): status, in-force flag, dates, agency and link.
Result
Press “Run” to see the result.
Give a document number such as 31/2024/QH15, 168/2025/NĐ-CP or 01/2024/QĐ-UBND and get every document carrying exactly that number (case, diacritics and spaces ignored). Local numbers such as 01/2024/QĐ-UBND are shared by many provinces, so the answer is a list with the issuing agency of each; truncated: true means more than 300 matches exist and you should narrow down with /v1/vn-law-search?q=<number>&agency=….
Each item has the id, number, title, type, status, inForce, issue date, agency and link; pass the id to /v1/vn-law-document/{id} for the full record and text. Typical use: turn citations found in contracts, invoices or other texts (see /v1/vn-legal-parse) into links and validity checks.
Data: national legal database vbpl.vn (Ministry of Justice), refreshed nightly; reference only.
Use this in your code
curl "https://apibox.io.vn/v1/vn-law-lookup?number=31/2024/QH15" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-law-lookup?number=31/2024/QH15', {
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-law-lookup?number=31/2024/QH15",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-law-lookup?number=31/2024/QH15');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Why can one number return several documents?
Local documents restart their numbering in every province, so 01/2024/QĐ-UBND exists in many places. Each result names its agency.
Do I need the exact format?
Case, diacritics and spaces are ignored: 31/2024/qh15 works. Use vn-law-search for partial numbers.
How do I get the text?
Call /v1/vn-law-document/{id} with content=text or content=html.