Social Insurance Benefits API

Compute Vietnamese unemployment benefit, one-time social-insurance withdrawal with 2026 coefficients, severance, job-loss and maternity benefits.

GETPOSThttps://apibox.io.vn/v1/vn-insurance-benefits

One endpoint, five calculations chosen with type. unemployment: 60% of the average contribution wage of the last 6 months, capped at 5 × the regional minimum wage, for 3 months (12 to under 36 months of contributions) plus one month per further 12 months, up to 12 (Luật Việc làm 74/2025/QH15). The region comes from region or from a ward name.

lump_sum (BHXH một lần): send the contribution periods with their wages; each month is adjusted with the coefficients for 2026 (Công văn 340/BHXH-CSXH), then 1.5 months of average wage per year before 2014 and 2 months per year from 2014, with the official rounding of odd months (Luật BHXH 41/2024/QH15 Điều 70). The answer also says whether withdrawal is possible under the post-1/7/2025 rules.

severance and job_loss follow Bộ luật Lao động 2019 Điều 46–47 (time covered by unemployment insurance excluded), and maternity returns the lump sum (2 × the reference level, 2,530,000 đ from 1/7/2026), the mother's 6-month leave pay and the father's leave days.

Parameters

NameInTypeRequiredDefault
typequery|bodystringyesunemployment, lump_sum, severance, job_loss or maternity.
salaryquery|bodynumbernoAverage monthly wage (contribution wage, or contract wage for severance).
salariesbodyarraynoUnemployment: the last 6 monthly contribution wages.
contribution_monthsquery|bodynumbernoUnemployment: months of unemployment-insurance contributions.
regionquery|bodystringnoIUnemployment: wage region I–IV (or ward + province).
last_monthquery|bodystringnoUnemployment: last contribution month (YYYY-MM).
periodsbodyarraynoLump sum: [{"from":"2015-01","to":"2020-12","salary":8000000}].
start_datequery|bodystringnoSeverance: first working day.
end_datequery|bodystringnoSeverance: contract end date.
unemployment_insurance_monthsquery|bodynumbernoSeverance: months covered by unemployment insurance (excluded).
birth_datequery|bodystringnoMaternity: date of birth (reference level of that month).
childrenquery|bodynumberno1Maternity: number of children born.

Example

curl -X POST "https://apibox.io.vn/v1/vn-insurance-benefits" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"unemployment","salary":10000000,"contribution_months":40,"region":"I"}'

Response

{
  "type": "unemployment",
  "average_salary": 10000000,
  "contribution_months": 40,
  "eligible": true,
  "monthly_benefit": 6000000,
  "capped": false,
  "cap": {
    "amount": 26550000,
    "rule": "5 × regional minimum wage of the last contribution month",
    "region": "I",
    "region_from": "region",
    "min_wage": 5310000,
    "decree": "293/2025/NĐ-CP"
  },
  "benefit_months": 4,
  "total": 24000000,
  "reserved_months": 4,
  "payment_start": "from the 11th working day after a complete application",
  "legal": "Luật Việc làm 74/2025/QH15 Điều 38, 39 (from 1/1/2026): 60% of the average contribution wage of the last 6 months, max 5 × regional minimum wage; 12 to under 36 months -> 3 months, +1 month per further 12 months, max 12 months.",
  "reviewed": "2026-11-11"
}

Use cases

  • Add an unemployment benefit calculator to a job board
  • Estimate a one-time social-insurance withdrawal in a finance app
  • Compute severance pay in HR and payroll software
  • Show maternity benefits in an employee self-service portal

FAQ

Which coefficients are used for BHXH một lần?

The 2026 table of Công văn 340/BHXH-CSXH (5.81 before 1995 down to 1.00 for 2025–2026), applied to every month of each period.

Can everyone still withdraw BHXH một lần?

People who contributed before 1/7/2025 with under 20 years may withdraw after 12 months out of the system; others only in the special cases of Điều 70. The answer states which applies.

How is the unemployment cap found?

5 × the regional minimum wage of the last contribution month (5,310,000 đ in region I in 2026), from region or a ward looked up in the NĐ 293/2025 list.

Related APIs

Start with 1,000 free requests every month. Get free API key →