{"api":"v1","generated_at":"2026-11-02T08:20:14.182Z","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-score2-diabetes-4f8ab6","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-score2-diabetes-4f8ab6/at/2026-11-02T05-58Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-11-02T05:58:47.762Z","snapshot_stamp":"2026-11-02T05-58Z","endpoint":{"slug":"api-magentlab-com-api-calc-score2-diabetes-4f8ab6","canonical_url":"https://api.magentlab.com/api/calc/score2_diabetes","resource":"https://api.magentlab.com/api/calc/score2_diabetes","http_method":"POST","type":"http","x402_version":2,"registries":[],"primary_registry":"cdp","curated_by_coinbase":false,"description":"ESC 2023 SCORE2-Diabetes 10-year fatal plus non-fatal CVD percent for type 2 diabetes, age 40-79, from sex, smoking, systolic BP, total and HDL cholesterol, age at diagnosis, IFCC HbA1c, eGFR, and European geographic risk region. Not SCORE2, not SCORE2-OP, not a diagnosis or statin order. magent does not assay lipids, HbA1c, or eGFR.","service_name":"magent","declared_category":null,"declared_tags":["score2-diabetes","cvd-risk","type-2-diabetes","esc-2023","europe"],"route_template":null,"registry_updated":"2026-10-12T14:09:11.314Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc score2 diabetes","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-13T14:08:52.397Z","observation_began":"2026-09-10"},"presence":{"listed_now":false,"first_absent_at":"2026-11-01T05:59:15.529Z","delisting_confirmed_at":"2026-11-01T13:19:08.063Z","events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"},{"registry":"cdp","at":"2026-11-01T05:59:15.529Z","event":"delisted"},{"registry":"cdp","at":"2026-11-01T13:19:08.063Z","event":"delisting_confirmed"}]},"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-13T14:08:52.397Z","calls_30d":5,"unique_payers_30d":3,"last_called_at":"2026-10-12T14:09:11.165Z"},"validation":{"latest":{"observed_at":"2026-10-30T07:59:54.165Z","state":"fail","failed_checks":["returns_402"],"endpoint_http_status":404,"run_id":"daily-2026-10-30"},"uptime":[{"days":7,"observed":5,"passed":2,"ratio":0.4},{"days":30,"observed":26,"passed":15,"ratio":0.5769230769230769},{"days":90,"observed":33,"passed":22,"ratio":0.6666666666666666}],"history_90d":[{"observed_at":"2026-10-30T07:59:54.165Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-10-30","state_changed":false},{"observed_at":"2026-10-29T07:40:23.040Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-10-29","state_changed":true},{"observed_at":"2026-10-28T08:02:52.978Z","state":"pass","failed_checks":["bazaar.info.output.example"],"run_id":"daily-2026-10-28","state_changed":false},{"observed_at":"2026-10-27T07:50:41.351Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-10-27","state_changed":true},{"observed_at":"2026-10-26T13:08:59.060Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-26","state_changed":false},{"observed_at":"2026-10-24T22:31:51.711Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-24","state_changed":false},{"observed_at":"2026-10-23T07:52:37.370Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-23","state_changed":false},{"observed_at":"2026-10-22T06:09:15.274Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-22","state_changed":false},{"observed_at":"2026-10-21T10:28:55.186Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-21","state_changed":false},{"observed_at":"2026-10-20T10:01:45.800Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-20","state_changed":false},{"observed_at":"2026-10-19T07:36:44.343Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-19","state_changed":false},{"observed_at":"2026-10-18T09:42:46.894Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-18","state_changed":false},{"observed_at":"2026-10-17T19:50:06.598Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-10-17","state_changed":true},{"observed_at":"2026-10-16T05:54:15.777Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-16","state_changed":false},{"observed_at":"2026-10-15T07:35:37.438Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-15","state_changed":false},{"observed_at":"2026-10-14T05:46:25.238Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-14","state_changed":false},{"observed_at":"2026-10-13T10:24:19.105Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-13","state_changed":false},{"observed_at":"2026-10-12T07:44:51.681Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-12","state_changed":false},{"observed_at":"2026-10-11T06:20:03.862Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-11","state_changed":false},{"observed_at":"2026-10-10T14:28:54.421Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-10","state_changed":false},{"observed_at":"2026-10-09T06:53:50.601Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-09","state_changed":false},{"observed_at":"2026-10-08T08:23:35.630Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-08","state_changed":false},{"observed_at":"2026-10-07T07:37:00.979Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-07","state_changed":false},{"observed_at":"2026-10-06T08:27:49.296Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-06","state_changed":false},{"observed_at":"2026-10-05T07:43:15.836Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-05","state_changed":false},{"observed_at":"2026-10-04T10:19:22.007Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-04","state_changed":false},{"observed_at":"2026-10-03T05:15:06.064Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-03","state_changed":false},{"observed_at":"2026-10-02T14:31:57.958Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T07:29:21.873Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T06:46:56.984Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:06:04.538Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:55:50.549Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:41:51.743Z","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":845,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["score2-diabetes","cvd-risk","type-2-diabetes","esc-2023","europe"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/score2_diabetes","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-10-12T14:09:11.165Z","l30DaysTotalCalls":5,"l30DaysUniquePayers":3},"resource":"https://api.magentlab.com/api/calc/score2_diabetes","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":60,"sex":"male","smoker":false,"sbp_mm_hg":140,"hdl_mmol_l":1.3,"hba1c_mmol_mol":50,"egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","total_cholesterol_mmol_l":5.5,"age_at_diabetes_diagnosis":60},{"age":60,"sex":"male","smoker":false,"sbp_mm_hg":140,"hdl_mmol_l":1.3,"hba1c_mmol_mol":50,"egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","total_cholesterol_mmol_l":5.5,"age_at_diabetes_diagnosis":60}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/score2_diabetes","count":2,"items":[{"age":60,"sex":"male","smoker":false,"formula":"score2_diabetes","citation":{"id":"score2-diabetes-2023","doi":"10.1093/eurheartj/ehad260","pmid":"37247330","title":"SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe","source":"Eur Heart J. 2023;44(28):2544-2556","authors":"SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration"},"sbp_mm_hg":140,"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.","hdl_mmol_l":1.3,"hba1c_mmol_mol":50,"linear_predictor":0.7175,"risk_10y_percent":11,"egfr_ml_min_1_73m2":90,"formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; ctc=(TC-6)/1; chdl=(HDL-1.3)/0.5; cdiabage=(age_at_dx-50)/5; chba1c=(HbA1c_mmol_mol-31)/9.34; cegfr=(ln(eGFR)-4.5)/0.15; diabetes=1; men S0=0.9605 lp=0.5368*cage+0.4774*smoke+0.1322*csbp+0.6457*diabetes+0.1102*ctc-0.1087*chdl-0.0672*cage*smoke-0.0268*cage*csbp-0.0983*cage*diabetes-0.0181*cage*ctc+0.0095*cage*chdl-0.0998*diabetes*cdiabage+0.0955*chba1c-0.0591*cegfr+0.0058*cegfr^2-0.0134*cage*chba1c+0.0115*cage*cegfr; women S0=0.9776 lp=0.6624*cage+0.6139*smoke+0.1421*csbp+0.8096*diabetes+0.1127*ctc-0.1568*chdl-0.1122*cage*smoke-0.0167*cage*csbp-0.1272*cage*diabetes-0.0200*cage*ctc+0.0186*cage*chdl-0.118*diabetes*cdiabage+0.1173*chba1c-0.0640*cegfr+0.0062*cegfr^2-0.0196*cage*chba1c+0.0169*cage*cegfr; region scale1/scale2 SCORE2 age<70 and SCORE2-OP age 70-79; age 40-79; type 2 diabetes only; geographic region not race; not SCORE2; not SCORE2-OP","european_risk_region":"moderate","total_cholesterol_mmol_l":5.5,"age_at_diabetes_diagnosis":60},{"age":60,"sex":"male","smoker":false,"formula":"score2_diabetes","citation":{"id":"score2-diabetes-2023","doi":"10.1093/eurheartj/ehad260","pmid":"37247330","title":"SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe","source":"Eur Heart J. 2023;44(28):2544-2556","authors":"SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration"},"sbp_mm_hg":140,"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.","hdl_mmol_l":1.3,"hba1c_mmol_mol":50,"linear_predictor":0.7175,"risk_10y_percent":11,"egfr_ml_min_1_73m2":90,"formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; ctc=(TC-6)/1; chdl=(HDL-1.3)/0.5; cdiabage=(age_at_dx-50)/5; chba1c=(HbA1c_mmol_mol-31)/9.34; cegfr=(ln(eGFR)-4.5)/0.15; diabetes=1; men S0=0.9605 lp=0.5368*cage+0.4774*smoke+0.1322*csbp+0.6457*diabetes+0.1102*ctc-0.1087*chdl-0.0672*cage*smoke-0.0268*cage*csbp-0.0983*cage*diabetes-0.0181*cage*ctc+0.0095*cage*chdl-0.0998*diabetes*cdiabage+0.0955*chba1c-0.0591*cegfr+0.0058*cegfr^2-0.0134*cage*chba1c+0.0115*cage*cegfr; women S0=0.9776 lp=0.6624*cage+0.6139*smoke+0.1421*csbp+0.8096*diabetes+0.1127*ctc-0.1568*chdl-0.1122*cage*smoke-0.0167*cage*csbp-0.1272*cage*diabetes-0.0200*cage*ctc+0.0186*cage*chdl-0.118*diabetes*cdiabage+0.1173*chba1c-0.0640*cegfr+0.0062*cegfr^2-0.0196*cage*chba1c+0.0169*cage*cegfr; region scale1/scale2 SCORE2 age<70 and SCORE2-OP age 70-79; age 40-79; type 2 diabetes only; geographic region not race; not SCORE2; not SCORE2-OP","european_risk_region":"moderate","total_cholesterol_mmol_l":5.5,"age_at_diabetes_diagnosis":60}]}},"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","smoker","sbp_mm_hg","total_cholesterol_mmol_l","hdl_mmol_l","age_at_diabetes_diagnosis","hba1c_mmol_mol","egfr_ml_min_1_73m2","european_risk_region"],"properties":{"age":{"type":"integer","description":"Age in years (integer 40-79). SCORE2-Diabetes 2023 is for ages 40-79. Not SCORE2 (40-69 without diabetes labs). Not SCORE2-OP."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used by the sex-specific SCORE2-Diabetes 2023 coefficients (female or male)."},"smoker":{"type":"boolean","description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history."},"sbp_mm_hg":{"type":"number","description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure."},"hdl_mmol_l":{"type":"number","description":"HDL cholesterol in mmol/L (0.4-4). Enters as (HDL-1.3)/0.5. magent does not assay lipids."},"hba1c_mmol_mol":{"type":"number","description":"HbA1c in IFCC mmol/mol (20-195), not % DCCT. Enters as (HbA1c-31)/9.34. magent does not assay HbA1c."},"egfr_ml_min_1_73m2":{"type":"number","description":"Caller-assigned eGFR in mL/min/1.73 m² (5-200). Enters as (ln(eGFR)-4.5)/0.15 plus the squared term. magent does not compute CKD-EPI."},"european_risk_region":{"enum":["low","moderate","high","very_high"],"type":"string","description":"Geographic SCORE2/SCORE2-OP calibration region (low, moderate, high, or very_high) as printed for SCORE2-Diabetes. Not race. Not ethnicity."},"total_cholesterol_mmol_l":{"type":"number","description":"Total cholesterol in mmol/L (1.5-15). Enters as (TC-6). magent does not assay lipids."},"age_at_diabetes_diagnosis":{"type":"integer","description":"Age at type 2 diabetes diagnosis in years (integer 1-79, not after current age). Enters as (age_at_dx-50)/5. Patient is assumed to have type 2 diabetes."}}},"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":"ESC 2023 SCORE2-Diabetes 10-year fatal plus non-fatal CVD percent for type 2 diabetes, age 40-79, from sex, smoking, systolic BP, total and HDL cholesterol, age at diagnosis, IFCC HbA1c, eGFR, and European geographic risk region. Not SCORE2, not SCORE2-OP, not a diagnosis or statin order. magent does not assay lipids, HbA1c, or eGFR.","lastUpdated":"2026-10-12T14:09:11.314Z","serviceName":"magent","x402Version":2}]}}