Military Service Check (VN) API
Is a citizen called up in 2027? Age 18–25 (27 for students), BMI 18.0–29.9, myopia, health grade, education, deferment and exemption cases, timeline.
From birth_date (or birth_year) and the call-up year (default: the next February) the API checks the age at the February–March call-up window (from 18 to the end of 25, the end of 27 for college / university students who were deferred – Luật NVQS Điều 30), flags birthdays inside the window and gives the first registration (April of the year you turn 17).
Health: height_cm, weight_kg, chest_cm are scored with the physical table of Thông tư 105/2023/TT-BQP (points 1–6), the BMI must be 18.0–29.9, myopia above 1.5 D and any hyperopia are not called up (Thông tư 148/2018/TT-BQP as amended by Thông tư 68/2025/TT-BQP), and a health_grade from the council must be 1–3. education_grade checks the grade-8 standard. circumstances (e.g. sibling_in_service, student, sole_breadwinner, child_of_martyr) map to the deferment and exemption cases of Điều 41 (amended up to Luật 14/2026/QH16) and the registration bars of Điều 13–14.
The answer has a status (callable, deferred, exempt, not_fit, too_young, over_age…), the reasons with their articles, the timeline (health checks 01/11–31/12, call-up in February or March, 24 months of service) and the legal sources. Nothing is stored; the military service council decides.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
birth_date | query | string | no | Date of birth (or birth_year). | |
year | query | number | no | Call-up year (default: next February). | |
gender | query | string | no | male | male or female. |
height_cm | query | number | no | Height; with weight_kg (BMI) and chest_cm. | |
myopia_diopters | query | number | no | Myopia in diopters (sign ignored); hyperopia=true for any hyperopia. | |
health_grade | query | number | no | Health grade 1–6 from the health council. | |
education_grade | query | string | no | Highest grade completed (0–12, or university). | |
studying | query | string | no | high_school, college or university (full-time, deferment). | |
circumstances | query | string | no | Comma-separated codes; the response lists all deferment_codes / exemption_codes. | |
deferred_as_student | query | boolean | no | Was deferred for college / university: age limit 27. |
Example
curl "https://apibox.io.vn/v1/vn-military-service?birth_date=2007-05-10&year=2027&height_cm=170&weight_kg=60&myopia_diopters=-1&education_grade=12" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-military-service?birth_date=2007-05-10&year=2027&height_cm=170&weight_kg=60&myopia_diopters=-1&education_grade=12', {
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-military-service?birth_date=2007-05-10&year=2027&height_cm=170&weight_kg=60&myopia_diopters=-1&education_grade=12",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-military-service?birth_date=2007-05-10&year=2027&height_cm=170&weight_kg=60&myopia_diopters=-1&education_grade=12');
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
{
"year": 2027,
"status": "callable",
"status_vi": "Thuộc diện gọi nhập ngũ nếu đạt kết luận khám sức khỏe và tiêu chuẩn chính trị",
"reasons": [],
"deferments": [],
"exemptions": [],
"checks": {
"age": {
"at_window_start": 19,
"at_window_end": 19,
"window": [
"2027-02-01",
"2027-03-31"
],
"range": "18–25",
"ok": true,
"turns_18": "2025-05-10",
"last_callable_day": "2033-05-09",
"first_registration": "Tháng 4/2024 (đăng ký nghĩa vụ quân sự lần đầu năm đủ 17 tuổi, Điều 16)"
},
"physical": {
"points": {
"height": 1,
"weight": 1,
"bmi": 1
},
"physical_grade": 1,
"bmi": 20.76,
"bmi_call_up_range": "18.0–29.9",
"bmi_ok": true,
"table": "…"
},
"myopia": {
"diopters": 1,
"ok": true
},
"education": {
"grade": 12,
"ok": true,
"rule": "…"
}
},
"timeline": {
"health_check": "01/11/2026 – 31/12/2026 (Luật NVQS Điều 40 khoản 5)",
"call_up": "Tháng 2 hoặc tháng 3/2027 (Điều 33)",
"service": "24 tháng, có thể kéo dài tối đa 6 tháng (Điều 21)",
"decision": "…"
},
"standards": {
"…": "…"
},
"legal": [
{
"ref": "Luật Nghĩa vụ quân sự 78/2015/QH13, văn bản hợp nhất 09/2026 (sửa đổi bởi Luật 48/2019/QH14, 98/2025/QH15, 14/2026/QH16)",
"effective_from": "2016-01-01",
"…": "…"
},
"…"
],
"reviewed": "2026-11-15",
"privacy": "Nothing you send is stored.",
"disclaimer": "Reference only, not legal advice; the military service council decides. Check the official text."
}
Use cases
- Answer “do I have to go in 2027?” on a commune portal or chatbot
- Pre-screen BMI and eyesight before the health check
- Explain deferment for students and families
- Show the call-up timeline in a citizen app
FAQ
What BMI is accepted?
18.0 to 29.9 (Thông tư 68/2025/TT-BQP, from 1/7/2025). Below 18.0 or above 29.9 is not called up.
Are university students called up?
Full-time university / college students are deferred during one course; after it they can be called up until the end of age 27.
Is myopia of 1.5 diopters allowed?
Yes: only myopia above 1.5 D (and any hyperopia) is excluded.
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.