{"uid":"cap_n0DwZNfvbaM1ErvnU9rFm","slug":"stop-bang-osa-screening-score-chung-2008-f167453f","name":"STOP-Bang OSA Screening Score (Chung 2008)","description":"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.","url":"https://api.magentlab.com/api/calc/stop_bang","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["snoring","tired","observed_apnea","hypertension","bmi_kg_m2","age","neck_cm","sex"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Chung 2008 Appendix 2 BANG: scores 1 when >50. Age 50 does not score."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Chung 2008 Appendix 2 BANG: male scores 1. Female scores 0."},"tired":{"type":"boolean","description":"Daytime tiredness, fatigue, or sleepiness (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."},"neck_cm":{"type":"number","description":"Neck circumference in cm (20-80). Chung 2008 Appendix 2 BANG: scores 1 when >40. Neck 40 does not score."},"snoring":{"type":"boolean","description":"Loud snoring heard through closed doors (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m^2 (10-80). Chung 2008 Appendix 2 BANG: scores 1 when >35. BMI 35 does not score. Caller-supplied; magent does not compute BMI from height and weight."},"hypertension":{"type":"boolean","description":"Has or is being treated for high blood pressure (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."},"observed_apnea":{"type":"boolean","description":"Anyone observed the patient stop breathing during sleep (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"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"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8IRPHclI1L3isOXNVKADH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"Score my patient on the Chung 2008 STOP-Bang: he snores loudly through closed doors, reports daytime tiredness, no observed apnea, no hypertension, BMI 38, age 55, neck circumference 43 cm, male — what's his risk band?","exampleUseCases":[{"title":"Pre-op OSA triage for surgical patient","prompt":"I need a STOP-Bang score for a 62-year-old male surgical patient: loud snoring yes, daytime sleepiness yes, observed stop-breathing no, hypertension yes, BMI 37, neck 44 cm — is he high or low risk for OSA?"},{"title":"Automated anesthesia screening workflow","prompt":"Run a STOP-Bang screen on this patient: female, age 48, BMI 29, neck 38 cm, no snoring, no tiredness, no observed apnea, no hypertension — flag her risk level before we proceed."},{"title":"Population health OSA risk flagging","prompt":"Calculate the STOP-Bang for a 54-year-old male: snoring true, tired true, observed apnea false, hypertension true, BMI 36, neck 42 cm — give me the total score and tell me if he's in the elevated-risk band."}],"resultDescription":"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.","failureModes":["Missing required query parameters (snoring, tired, observed_apnea, hypertension, bmi_kg_m2, age, neck_cm, sex) → 400 bad request","Age out of range 18–120 → validation error","BMI out of range 10–80 → validation error","Neck circumference out of range 20–80 → validation error","Invalid sex enum (not 'male' or 'female') → validation error","Payment not provided or insufficient → 402 Payment Required"],"whenToPreferThis":"Use 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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:50:06.570Z","isFirstParty":false}