ESC 2023 SCORE2-Diabetes 10-year fatal plus non-fatal CVD percent for type 2 diabetes,…
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, no…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: score2-diabetes · cvd-risk · type-2-diabetes · esc-2023 · europe · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"age": 60,
"age_at_diabetes_diagnosis": 60,
"egfr_ml_min_1_73m2": 90,
"european_risk_region": "moderate",
"hba1c_mmol_mol": 50,
"hdl_mmol_l": 1.3,
"sbp_mm_hg": 140,
"sex": "male",
"smoker": false,
"total_cholesterol_mmol_l": 5.5
},
{
"age": 60,
"age_at_diabetes_diagnosis": 60,
"egfr_ml_min_1_73m2": 90,
"european_risk_region": "moderate",
"hba1c_mmol_mol": 50,
"hdl_mmol_l": 1.3,
"sbp_mm_hg": 140,
"sex": "male",
"smoker": false,
"total_cholesterol_mmol_l": 5.5
}
]
}{
"count": 2,
"items": [
{
"age": 60,
"age_at_diabetes_diagnosis": 60,
"citation": {
"authors": "SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration",
"doi": "10.1093/eurheartj/ehad260",
"id": "score2-diabetes-2023",
"pmid": "37247330",
"source": "Eur Heart J. 2023;44(28):2544-2556",
"title": "SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe"
},
"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.",
"egfr_ml_min_1_73m2": 90,
"european_risk_region": "moderate",
"formula": "score2_diabetes",
"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",
"hba1c_mmol_mol": 50,
"hdl_mmol_l": 1.3,
"linear_predictor": 0.7175,
"risk_10y_percent": 11,
"sbp_mm_hg": 140,
"sex": "male",
"smoker": false,
"total_cholesterol_mmol_l": 5.5
},
{
"age": 60,
"age_at_diabetes_diagnosis": 60,
"citation": {
"authors": "SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration",
"doi": "10.1093/eurheartj/ehad260",
"id": "score2-diabetes-2023",
"pmid": "37247330",
"source": "Eur Heart J. 2023;44(28):2544-2556",
"title": "SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe"
},
"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.",
"egfr_ml_min_1_73m2": 90,
"european_risk_region": "moderate",
"formula": "score2_diabetes",
"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",
"hba1c_mmol_mol": 50,
"hdl_mmol_l": 1.3,
"linear_predictor": 0.7175,
"risk_10y_percent": 11,
"sbp_mm_hg": 140,
"sex": "male",
"smoker": false,
"total_cholesterol_mmol_l": 5.5
}
],
"path": "/api/calc/score2_diabetes"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/38815.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/score2_diabetes. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 6 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.magentlab.com/api/calc/score2_diabetes"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/score2_diabetes");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/score2_diabetes")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/score2_diabetes
- Machine-readable
/resources/38815.json