STOP-Bang OSA Screening Score (Chung 2008) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).
Computes the Chung 2008 Appendix 2 STOP-Bang obstructive sleep apnea screening score (0–8) from four caller-assigned STOP flags and four calculated BANG items, returning low-risk (0–2) or elevated-risk (≥3) bands.
Chung 2008 Appendix 2 STOP-Bang OSA screen. Four caller-assigned STOP flags (loud snoring heard through closed doors, daytime tiredness, observed stop-breathing, hypertension) plus computed BANG: BMI >35, age >50, neck >40 cm, male; each 1; max 8. BMI 35, age 50, and neck 40 cm do not score. Returns bands 0-2 and >=3. Not Chung 2012 three-tier, not a medical device, and not a sleep-study order.
Returns the integer STOP-Bang total score (0–8) and the corresponding risk band: low risk (score 0–2) or elevated risk (score ≥3), following Chung 2008 Appendix 2 thresholds. BANG items are computed server-side from BMI, age, neck, and sex using strict greater-than cutoffs (>35, >50, >40 cm); STOP items are caller-supplied booleans.
GEThttps://api.magentlab.com/api/calc/stop_bangUse this endpoint when you need a fast, deterministic STOP-Bang score following exactly the Chung 2008 Appendix 2 two-band classification (low ≤2, elevated ≥3) for clinical triage, pre-operative screening, or prior-authorization workflows. Prefer it over manual calculation to avoid boundary-condition errors (e.g., BMI exactly 35 does not score). Note: this is not the Chung 2012 three-tier variant and is not a medical device or a sleep-study order generator.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"path": "/api/calc/stop_bang",
"count": 2,
"items": [
{
"sex": "female",
"score": 0,
"tired": false,
"formula": "stop_bang",
"neck_cm": 38,
"snoring": false,
"citation": {
"id": "chung-2008",
"doi": "10.1097/ALN.0b013e31816d83e4",
"pmid": "18431116",
"title": "STOP questionnaire: a tool to screen patients for obstructive sleep apnea",
"source": "Anesthesiology. 2008;108(5):812-821",
"authors": "Chung F, Yegneswaran B, Liao P, et al."
},
"age_years": 40,
"bmi_kg_m2": 30,
"max_score": 8,
"components": [
{
"factor": "snoring",
"points": 0,
"present": false
},
{
"factor": "tired",
"points": 0,
"present": false
},
{
"factor": "observed_apnea",
"points": 0,
"present": false
},
{
"factor": "hypertension",
"points": 0,
"present": false
},
{
"value": 30,
"factor": "bmi_gt_35",
"points": 0,
"present": false
},
{
"value": 40,
"factor": "age_gt_50",
"points": 0,
"present": false
},
{
"value": 38,
"factor": "neck_gt_40",
"points": 0,
"present": false
},
{
"factor": "male",
"points": 0,
"present": false
}
],
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"hypertension": false,
"observed_apnea": false,
"stop_bang_band": "0-2",
"formula_expression": "STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3"
},
{
"sex": "female",
"score": 0,
"tired": false,
"formula": "stop_bang",
"neck_cm": 38,
"snoring": false,
"citation": {
"id": "chung-2008",
"doi": "10.1097/ALN.0b013e31816d83e4",
"pmid": "18431116",
"title": "STOP questionnaire: a tool to screen patients for obstructive sleep apnea",
"source": "Anesthesiology. 2008;108(5):812-821",
"authors": "Chung F, Yegneswaran B, Liao P, et al."
},
"age_years": 40,
"bmi_kg_m2": 30,
"max_score": 8,
"components": [
{
"factor": "snoring",
"points": 0,
"present": false
},
{
"factor": "tired",
"points": 0,
"present": false
},
{
"factor": "observed_apnea",
"points": 0,
"present": false
},
{
"factor": "hypertension",
"points": 0,
"present": false
},
{
"value": 30,
"factor": "bmi_gt_35",
"points": 0,
"present": false
},
{
"value": 40,
"factor": "age_gt_50",
"points": 0,
"present": false
},
{
"value": 38,
"factor": "neck_gt_40",
"points": 0,
"present": false
},
{
"factor": "male",
"points": 0,
"present": false
}
],
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"hypertension": false,
"observed_apnea": false,
"stop_bang_band": "0-2",
"formula_expression": "STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3"
}
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"