{"uid":"cap_wnBxmmGQjbU_X3ZfNle-4","slug":"score2-diabetes-10-year-cvd-risk-calculator-9f983832","name":"SCORE2-Diabetes 10-Year CVD Risk Calculator","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.","url":"https://api.magentlab.com/api/calc/score2_diabetes","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":["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."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_EsuJVIuasW03S3v1n7gAD","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":"Calculates ESC 2023 SCORE2-Diabetes 10-year fatal and non-fatal cardiovascular disease risk percentage for adults aged 40–79 with type 2 diabetes, using sex, smoking, blood pressure, cholesterol, HbA1c, eGFR, age at diagnosis, and European geographic region.","exampleAgentPrompt":"Calculate the SCORE2-Diabetes 10-year CVD risk for a 63-year-old male, current smoker, systolic BP 145 mmHg, total cholesterol 5.2 mmol/L, HDL 1.1 mmol/L, diagnosed with diabetes at age 55, HbA1c 58 mmol/mol, eGFR 72 mL/min/1.73 m², living in a high European cardiovascular risk region.","exampleUseCases":[{"title":"Pre-consultation CVD risk stratification","prompt":"Before my cardiology consult, can you run the SCORE2-Diabetes 2023 score for my 70-year-old female patient — she's a non-smoker, SBP 132 mmHg, total cholesterol 4.8 mmol/L, HDL 1.4 mmol/L, diagnosed with diabetes at 60, HbA1c 72 mmol/mol, eGFR 55, and she lives in the moderate-risk European region?"},{"title":"Comparing risk before and after risk factor improvement","prompt":"My patient is a 55-year-old non-smoking male in the low European risk region, SBP 155 mmHg, total cholesterol 6.1 mmol/L, HDL 0.9 mmol/L, diagnosed with type 2 diabetes at 48, HbA1c 88 mmol/mol, eGFR 90 — can you compute his SCORE2-Diabetes 10-year CVD risk percentage?"},{"title":"Population-level diabetes CVD risk reporting","prompt":"For a clinical audit, compute the SCORE2-Diabetes 10-year cardiovascular risk for a 78-year-old female non-smoker with SBP 160 mmHg, total cholesterol 5.5 mmol/L, HDL 1.2 mmol/L, diabetes diagnosed at age 65, HbA1c 64 mmol/mol, eGFR 38, in the very high European risk region."}],"resultDescription":"Returns the SCORE2-Diabetes 2023 estimated 10-year percentage probability of a fatal or non-fatal cardiovascular disease event, calibrated by European geographic risk region and computed from the provided clinical parameters.","failureModes":["Age outside 40–79 range returns an error or invalid result","eGFR or HbA1c value outside allowed range causes validation failure","Invalid or missing european_risk_region enum value causes request failure","Missing any required query parameter results in a 400-level error","Non-IFCC HbA1c units (% DCCT instead of mmol/mol) provided by caller leads to incorrect risk estimate"],"whenToPreferThis":"Use this endpoint specifically when you need the ESC 2023 SCORE2-Diabetes risk score for a patient aged 40–79 with type 2 diabetes and you already have lab values (HbA1c in IFCC mmol/mol, eGFR, lipids) from an external source. Do not use for patients without diabetes (use SCORE2 or SCORE2-OP), for patients outside 40–79, or when you need the algorithm to perform lab measurements — this endpoint only computes the risk formula from caller-supplied values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:20:09.686Z","isFirstParty":false}