{"api":"v1","generated_at":"2026-10-02T13:58:01.909Z","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-bap-65-df050e","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-bap-65-df050e/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-bap-65-df050e","canonical_url":"https://api.magentlab.com/api/calc/bap_65","resource":"https://api.magentlab.com/api/calc/bap_65","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"BAP-65 (Tabak 2009) class I–V for acute exacerbation of COPD. Three caller-assigned main factors: BUN >25 mg/dL, altered mental status (GCS <14 or disoriented/stupor/coma), and pulse >109/min. Age >65 splits class I from II only when zero main factors are present; age is not a fourth additive point. magent does not compute GCS, BUN, or pulse. Not a medical device and not a ventilation or ICU-admission order.","service_name":"magent","declared_category":null,"declared_tags":["bap-65","copd","respiratory","calculator"],"route_template":null,"registry_updated":"2026-09-28T13:48:35.553Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc bap 65","category":"compute","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:35.396Z"},"validation":{"latest":{"observed_at":"2026-10-01T09:41:45.350Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-01"},"uptime":[{"days":7,"observed":4,"passed":4,"ratio":1},{"days":30,"observed":4,"passed":4,"ratio":1},{"days":90,"observed":4,"passed":4,"ratio":1}],"history_90d":[{"observed_at":"2026-10-01T09:41:45.350Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T09:09:15.727Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T21:14:26.051Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:49:46.449Z","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":["bap-65","copd","respiratory","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/bap_65","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T13:48:35.396Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/bap_65","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age_gt_65":false,"bun_gt_25":false,"pulse_gt_109":false,"altered_mental_status":false},{"age_gt_65":false,"bun_gt_25":false,"pulse_gt_109":false,"altered_mental_status":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/bap_65","count":2,"items":[{"formula":"bap_65","citation":{"id":"tabak-2009","doi":"10.1001/archinternmed.2009.270","pmid":"19786679","title":"Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score","source":"Arch Intern Med. 2009;169(17):1595-1602","authors":"Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF"},"criteria":[{"met":false,"factor":"bun_gt_25"},{"met":false,"factor":"altered_mental_status"},{"met":false,"factor":"pulse_gt_109"},{"met":false,"factor":"age_gt_65"}],"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.","bap65_class":"I","main_factor_count":0,"formula_expression":"class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point"},{"formula":"bap_65","citation":{"id":"tabak-2009","doi":"10.1001/archinternmed.2009.270","pmid":"19786679","title":"Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score","source":"Arch Intern Med. 2009;169(17):1595-1602","authors":"Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF"},"criteria":[{"met":false,"factor":"bun_gt_25"},{"met":false,"factor":"altered_mental_status"},{"met":false,"factor":"pulse_gt_109"},{"met":false,"factor":"age_gt_65"}],"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.","bap65_class":"I","main_factor_count":0,"formula_expression":"class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point"}]}},"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":["bun_gt_25","altered_mental_status","pulse_gt_109","age_gt_65"],"properties":{"age_gt_65":{"type":"boolean","description":"Age >65 years (strict greater than). Used only when zero of the three main factors are present, to split class I from II. true or false as assigned by the caller. magent does not compute age."},"bun_gt_25":{"type":"boolean","description":"BUN >25 mg/dL (strict greater than; 25 does not meet). true or false as assigned by the caller. magent does not compute BUN."},"pulse_gt_109":{"type":"boolean","description":"Pulse >109/min (strict greater than; 109 does not meet). true or false as assigned by the caller. magent does not compute pulse."},"altered_mental_status":{"type":"boolean","description":"GCS <14 or physician designation of disoriented, stupor, or coma (Tabak 2009). true or false as assigned by the caller. magent does not compute GCS."}}},"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":"BAP-65 (Tabak 2009) class I–V for acute exacerbation of COPD. Three caller-assigned main factors: BUN >25 mg/dL, altered mental status (GCS <14 or disoriented/stupor/coma), and pulse >109/min. Age >65 splits class I from II only when zero main factors are present; age is not a fourth additive point. magent does not compute GCS, BUN, or pulse. Not a medical device and not a ventilation or ICU-admission order.","lastUpdated":"2026-09-28T13:48:35.553Z","serviceName":"magent","x402Version":2}]}}