{"api":"v1","generated_at":"2026-10-02T17:28:04.407Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-stop-bang-ba62cb","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-stop-bang-ba62cb/at/2026-10-02T12-31Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T12:31:46.748Z","snapshot_stamp":"2026-10-02T12-31Z","endpoint":{"slug":"api-magentlab-com-api-calc-stop-bang-ba62cb","canonical_url":"https://api.magentlab.com/api/calc/stop_bang","resource":"https://api.magentlab.com/api/calc/stop_bang","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"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.","service_name":"magent","declared_category":null,"declared_tags":["stop-bang","osa","sleep-apnea","respiratory","calculator"],"route_template":null,"registry_updated":"2026-09-28T13:48:43.410Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc stop bang","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-02T12:31:46.748Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-02T12:31:46.748Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T13:48:43.222Z"},"validation":{"latest":{"observed_at":"2026-10-02T16:24:35.775Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T16:24:35.775Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T09:09:16.815Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T08:35:46.387Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T20:43:07.024Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:47:51.139Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["stop-bang","osa","sleep-apnea","respiratory","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/stop_bang","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T13:48:43.222Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/stop_bang","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":40,"sex":"female","tired":false,"neck_cm":38,"snoring":false,"bmi_kg_m2":30,"hypertension":false,"observed_apnea":false},{"age":40,"sex":"female","tired":false,"neck_cm":38,"snoring":false,"bmi_kg_m2":30,"hypertension":false,"observed_apnea":false}]},"type":"http","method":"POST"},"output":{"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"}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"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."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"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.","lastUpdated":"2026-09-28T13:48:43.41Z","serviceName":"magent","x402Version":2}]}}