{"api":"v1","generated_at":"2026-10-01T02:45:22.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-ada-diabetes-5552a9","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-ada-diabetes-5552a9/at/2026-09-30T22-14Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-30T22:14:11.940Z","snapshot_stamp":"2026-09-30T22-14Z","endpoint":{"slug":"api-magentlab-com-api-calc-ada-diabetes-5552a9","canonical_url":"https://api.magentlab.com/api/calc/ada_diabetes","resource":"https://api.magentlab.com/api/calc/ada_diabetes","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Bang 2009 Table 2 development screening score for undiagnosed diabetes. Age (<40 → 0, 40–49 → 1, 50–59 → 2, ≥60 → 3); male 1; family history of diabetes 1; hypertension 1; BMI (≥40 extremely obese 3; 30–<40 obese 2; 25–<30 overweight 1; else 0); physically active −1. Returns score and high_risk (true iff score ≥ 5). BMI-only, no waist. Not Appendix ARIC/CHS, not a diagnosis.","service_name":"magent","declared_category":null,"declared_tags":["ada-diabetes","diabetes-risk","glucose","calculator","bang-2009"],"route_template":null,"registry_updated":"2026-09-28T14:17:14.066Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc ada diabetes","category":"identity","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-09-30T22:14:11.940Z","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-09-30T22:14:11.940Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:17:13.938Z"},"validation":{"latest":{"observed_at":"2026-09-30T06:52:26.211Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"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-09-30T06:52:26.211Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:11:14.549Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:56:21.852Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:42:20.061Z","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":["ada-diabetes","diabetes-risk","glucose","calculator","bang-2009"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/ada_diabetes","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:17:13.938Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/ada_diabetes","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":40,"sex":"female","bmi_kg_m2":22,"hypertension":false,"physically_active":true,"family_history_diabetes":false},{"age":40,"sex":"female","bmi_kg_m2":22,"hypertension":false,"physically_active":true,"family_history_diabetes":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/ada_diabetes","count":2,"items":[{"sex":"female","score":0,"formula":"ada_diabetes","citation":{"id":"bang-2009","doi":"10.7326/0003-4819-151-11-200912010-00005","pmid":"19949143","title":"Development and validation of a patient self-assessment score for diabetes risk","source":"Ann Intern Med. 2009;151(11):775-783","authors":"Bang H, Edwards AM, Bomback AS, Ballantyne CM, Brillon D, Callahan MA, Teutsch SM, Mushlin AI, Kern LM"},"age_years":40,"bmi_kg_m2":22,"high_risk":false,"max_score":9,"components":[{"value":40,"factor":"age","points":1,"present":true},{"value":"female","factor":"sex","points":0,"present":false},{"factor":"family_history_diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"value":22,"factor":"bmi","points":0,"present":true},{"factor":"physically_active","points":-1,"present":true}],"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.","formula_expression":"score = age + sex + family_history_diabetes + hypertension + obesity + physically_active; age <40 -> 0, 40-49 -> 1, 50-59 -> 2, >=60 -> 3; female 0, male 1; family history yes 1; hypertension yes 1; BMI >=40 -> 3, 30 <= BMI < 40 -> 2, 25 <= BMI < 30 -> 1, else 0; physically_active yes -> -1; high_risk iff score>=5; Bang 2009 Table 2 development scores"},{"sex":"female","score":0,"formula":"ada_diabetes","citation":{"id":"bang-2009","doi":"10.7326/0003-4819-151-11-200912010-00005","pmid":"19949143","title":"Development and validation of a patient self-assessment score for diabetes risk","source":"Ann Intern Med. 2009;151(11):775-783","authors":"Bang H, Edwards AM, Bomback AS, Ballantyne CM, Brillon D, Callahan MA, Teutsch SM, Mushlin AI, Kern LM"},"age_years":40,"bmi_kg_m2":22,"high_risk":false,"max_score":9,"components":[{"value":40,"factor":"age","points":1,"present":true},{"value":"female","factor":"sex","points":0,"present":false},{"factor":"family_history_diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"value":22,"factor":"bmi","points":0,"present":true},{"factor":"physically_active","points":-1,"present":true}],"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.","formula_expression":"score = age + sex + family_history_diabetes + hypertension + obesity + physically_active; age <40 -> 0, 40-49 -> 1, 50-59 -> 2, >=60 -> 3; female 0, male 1; family history yes 1; hypertension yes 1; BMI >=40 -> 3, 30 <= BMI < 40 -> 2, 25 <= BMI < 30 -> 1, else 0; physically_active yes -> -1; high_risk iff score>=5; Bang 2009 Table 2 development scores"}]}},"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":["age","sex","bmi_kg_m2","family_history_diabetes","hypertension","physically_active"],"properties":{"age":{"type":"integer","description":"Age in years (20-120). Bang 2009 Table 2: <40 scores 0; 40-49 scores 1; 50-59 scores 2; ≥60 scores 3. Age 40 and 49 score 1; 50 and 59 score 2; 60 scores 3."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Bang 2009 Table 2: female scores 0; male scores 1."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Bang 2009 Table 2 obesity from BMI only (no waist): ≥40 extremely obese scores 3; 30 ≤ BMI < 40 obese scores 2; 25 ≤ BMI < 30 overweight scores 1; else 0. 25.0 scores 1; 30.0 scores 2; 40.0 scores 3."},"hypertension":{"type":"boolean","description":"History of hypertension (Bang 2009 Table 2). true scores 1; false scores 0. magent does not read a medication list or measure blood pressure."},"physically_active":{"type":"boolean","description":"Physically active (Bang 2009 Table 2). true scores −1; false scores 0. The total may be −1."},"family_history_diabetes":{"type":"boolean","description":"Family history of diabetes (Bang 2009 Table 2). true scores 1; false scores 0."}}},"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":"Bang 2009 Table 2 development screening score for undiagnosed diabetes. Age (<40 → 0, 40–49 → 1, 50–59 → 2, ≥60 → 3); male 1; family history of diabetes 1; hypertension 1; BMI (≥40 extremely obese 3; 30–<40 obese 2; 25–<30 overweight 1; else 0); physically active −1. Returns score and high_risk (true iff score ≥ 5). BMI-only, no waist. Not Appendix ARIC/CHS, not a diagnosis.","lastUpdated":"2026-09-28T14:17:14.066Z","serviceName":"magent","x402Version":2}]}}