{
  "x402Version": 2,
  "id": 38816,
  "slug": "38816",
  "resource": "https://api.magentlab.com/api/calc/score2",
  "description": "ESC 2021 SCORE2 10-year fatal plus non-fatal CVD percent for age 40-69 from sex, current smoking, systolic BP, non-HDL cholesterol, and European geographic risk region (low, moderate, high, very_high). Published sex-specific coefficients and region scale1/scale2. Not SCORE2-OP, not SCORE2-Diabetes, not 2013 PCE, not Reynolds, not a diagnosis or statin order. magent does not assay lipids.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "age": 50,
                "european_risk_region": "low",
                "non_hdl_mmol_l": 4.2,
                "sbp_mm_hg": 140,
                "sex": "male",
                "smoker": true
              },
              {
                "age": 50,
                "european_risk_region": "low",
                "non_hdl_mmol_l": 4.2,
                "sbp_mm_hg": 140,
                "sex": "male",
                "smoker": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age": 50,
                "citation": {
                  "authors": "SCORE2 working group and ESC Cardiovascular risk collaboration",
                  "doi": "10.1093/eurheartj/ehab309",
                  "id": "score2-2021",
                  "pmid": "34120177",
                  "source": "Eur Heart J. 2021;42(25):2439-2454",
                  "title": "SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease 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.",
                "european_risk_region": "low",
                "formula": "score2",
                "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; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE",
                "hdl_mmol_l": 1.3,
                "linear_predictor": 0.2315,
                "non_hdl_mmol_l": 4.2,
                "risk_10y_percent": 5.9,
                "sbp_mm_hg": 140,
                "sex": "male",
                "smoker": true,
                "total_cholesterol_mmol_l": 5.5
              },
              {
                "age": 50,
                "citation": {
                  "authors": "SCORE2 working group and ESC Cardiovascular risk collaboration",
                  "doi": "10.1093/eurheartj/ehab309",
                  "id": "score2-2021",
                  "pmid": "34120177",
                  "source": "Eur Heart J. 2021;42(25):2439-2454",
                  "title": "SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease 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.",
                "european_risk_region": "low",
                "formula": "score2",
                "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; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE",
                "hdl_mmol_l": 1.3,
                "linear_predictor": 0.2315,
                "non_hdl_mmol_l": 4.2,
                "risk_10y_percent": 5.9,
                "sbp_mm_hg": 140,
                "sex": "male",
                "smoker": true,
                "total_cholesterol_mmol_l": 5.5
              }
            ],
            "path": "/api/calc/score2"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (integer 40-69). SCORE2 2021 is for ages 40-69. Not SCORE2-OP (age 70 or older).",
                          "type": "integer"
                        },
                        "european_risk_region": {
                          "description": "Geographic SCORE2 2021 calibration region (low, moderate, high, or very_high) as printed in that paper. Not race. Not ethnicity.",
                          "enum": [
                            "low",
                            "moderate",
                            "high",
                            "very_high"
                          ],
                          "type": "string"
                        },
                        "non_hdl_mmol_l": {
                          "description": "Non-HDL cholesterol in mmol/L (1-12). SCORE2 charts display non-HDL. The published equation uses TC and HDL at the paper HDL centering 1.3 mmol/L (TC = non-HDL + 1.3). The printed 50-year-old example is TC 5.5 and HDL 1.3 (non-HDL 4.2). magent does not assay lipids.",
                          "type": "number"
                        },
                        "sbp_mm_hg": {
                          "description": "Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure.",
                          "type": "number"
                        },
                        "sex": {
                          "description": "Sex used by the sex-specific SCORE2 2021 coefficients (female or male).",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "smoker": {
                          "description": "Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "smoker",
                        "sbp_mm_hg",
                        "non_hdl_mmol_l",
                        "european_risk_region"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "score2",
    "cvd-risk",
    "lipids",
    "esc-2021",
    "europe",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T14:37:03.332Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T14:37:02.928Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 50,
                  "european_risk_region": "low",
                  "non_hdl_mmol_l": 4.2,
                  "sbp_mm_hg": 140,
                  "sex": "male",
                  "smoker": true
                },
                {
                  "age": 50,
                  "european_risk_region": "low",
                  "non_hdl_mmol_l": 4.2,
                  "sbp_mm_hg": 140,
                  "sex": "male",
                  "smoker": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age": 50,
                  "citation": {
                    "authors": "SCORE2 working group and ESC Cardiovascular risk collaboration",
                    "doi": "10.1093/eurheartj/ehab309",
                    "id": "score2-2021",
                    "pmid": "34120177",
                    "source": "Eur Heart J. 2021;42(25):2439-2454",
                    "title": "SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease 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.",
                  "european_risk_region": "low",
                  "formula": "score2",
                  "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; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE",
                  "hdl_mmol_l": 1.3,
                  "linear_predictor": 0.2315,
                  "non_hdl_mmol_l": 4.2,
                  "risk_10y_percent": 5.9,
                  "sbp_mm_hg": 140,
                  "sex": "male",
                  "smoker": true,
                  "total_cholesterol_mmol_l": 5.5
                },
                {
                  "age": 50,
                  "citation": {
                    "authors": "SCORE2 working group and ESC Cardiovascular risk collaboration",
                    "doi": "10.1093/eurheartj/ehab309",
                    "id": "score2-2021",
                    "pmid": "34120177",
                    "source": "Eur Heart J. 2021;42(25):2439-2454",
                    "title": "SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease 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.",
                  "european_risk_region": "low",
                  "formula": "score2",
                  "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; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE",
                  "hdl_mmol_l": 1.3,
                  "linear_predictor": 0.2315,
                  "non_hdl_mmol_l": 4.2,
                  "risk_10y_percent": 5.9,
                  "sbp_mm_hg": 140,
                  "sex": "male",
                  "smoker": true,
                  "total_cholesterol_mmol_l": 5.5
                }
              ],
              "path": "/api/calc/score2"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (integer 40-69). SCORE2 2021 is for ages 40-69. Not SCORE2-OP (age 70 or older).",
                            "type": "integer"
                          },
                          "european_risk_region": {
                            "description": "Geographic SCORE2 2021 calibration region (low, moderate, high, or very_high) as printed in that paper. Not race. Not ethnicity.",
                            "enum": [
                              "low",
                              "moderate",
                              "high",
                              "very_high"
                            ],
                            "type": "string"
                          },
                          "non_hdl_mmol_l": {
                            "description": "Non-HDL cholesterol in mmol/L (1-12). SCORE2 charts display non-HDL. The published equation uses TC and HDL at the paper HDL centering 1.3 mmol/L (TC = non-HDL + 1.3). The printed 50-year-old example is TC 5.5 and HDL 1.3 (non-HDL 4.2). magent does not assay lipids.",
                            "type": "number"
                          },
                          "sbp_mm_hg": {
                            "description": "Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure.",
                            "type": "number"
                          },
                          "sex": {
                            "description": "Sex used by the sex-specific SCORE2 2021 coefficients (female or male).",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "smoker": {
                            "description": "Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "smoker",
                          "sbp_mm_hg",
                          "non_hdl_mmol_l",
                          "european_risk_region"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}