OCOP Self-Scoring and Star Estimate API
Turn OCOP part scores (A 40, B 25, C 35) into a star estimate under Decision 26/2026, with points to the next star, evaluation level and session deadlines.
Send the part scores a, b, c from the official form of your product group (Part A production and community strength, max 40; Part B marketing and product story, max 25; Part C quality, max 35), several evaluators as scores=[{A,B,C},…] (averaged) or per-criterion criteria=[{part, code, score, max}]. The answer gives the total, the star class of Decision 26/2026/QĐ-TTg (from 22/5/2026): under 30 one star, 30–49 two, 50–69 three, 70–89 four (provincial), 90–100 five (national), the points needed for the next star and the weakest part.
For three stars and more it estimates the timeline from submit_date: commune check within 15 working days (official holidays skipped), the next provincial session (dossiers recommended before 30/4 → evaluated before 30/6, before 30/10 → 30/12) and, for 90+, the national session (before 30/7 → 30/9, before 30/1 → 30/3). Certificates are valid 36 months.
group is one of the six product groups (food, beverage, herbal, handicraft, ornamental, tourism). The detailed per-criterion questionnaire of Appendix II is not bundled: score it on the official form. Reference only.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
a | query | number | no | Part A score (0–40); b (0–25), c (0–35). | |
b | query | number | no | Part B score (0–25). | |
c | query | number | no | Part C score (0–35). | |
scores | body | array | no | Several evaluators: [{A, B, C}, …] → average. | |
criteria | body | array | no | Per criterion: [{part, code, name, score, max}]. | |
group | query | string | no | food | food, beverage, herbal, handicraft, ornamental, tourism. |
submit_date | query | string | no | Dossier date (default today) for the timeline. |
Example
curl "https://apibox.io.vn/v1/vn-ocop-score?a=32&b=20&c=25&submit_date=2026-11-16" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-ocop-score?a=32&b=20&c=25&submit_date=2026-11-16', {
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-ocop-score?a=32&b=20&c=25&submit_date=2026-11-16",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-ocop-score?a=32&b=20&c=25&submit_date=2026-11-16');
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
{
"group": "food",
"scores": {
"A": 32,
"B": 20,
"C": 25
},
"total": 77,
"stars": 4,
"class": {
"vi": "Sản phẩm OCOP 4 sao (cấp tỉnh)",
"en": "4 stars (provincial)"
},
"evaluation_level": "province",
"certified": true,
"next_star": {
"stars": 5,
"min_score": 90,
"points_needed": 13,
"focus_part": "C"
},
"timeline": {
"submit_date": "2026-11-16",
"commune_review_by": "2026-12-08",
"province_session": {
"recommended_before": "2027-04-30",
"evaluated_before": "2027-06-30"
},
"certificate_valid_months": 36,
"note": "Sessions: province — recommended before 30/4 → evaluated before 30/6, before 30/10 → before 30/12; national — before 30/7 → 30/9, before 30/01 → 30/3. Extra sessions are possible."
}
}
Use cases
- Estimate the star class before filing an OCOP dossier
- Show cooperatives which part to improve for the next star
- Plan the provincial or national session date
- Average the scores of several internal reviewers
FAQ
What changed with Decision 26/2026?
It replaced Decision 148/2023 from 22/5/2026: parts are now A 40, B 25, C 35 (previously 35 / 25 / 40) with the same star thresholds.
Who awards 5 stars?
The Ministry of Agriculture and Environment, for products the province scores 90 or more; 3 and 4 stars are recognised by the provincial People’s Committee.
Is 2 stars a certificate?
No. Products under 50 points are not recognised and get no certificate.
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.