MA
Agent Service · x402 · early usage

ESC 2021 SCORE2 10-year fatal plus non-fatal CVD percent for age 40-69 from sex, curren…

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/sca…

by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls6
30d payers3
MethodPOST
Outputjson

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 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.

Tags: score2 · cvd-risk · lipids · esc-2021 · europe · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "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
    }
  ]
}
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"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/38816.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/score2. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x836Be278f1739fB4308091cD1852F7971Bc19Ee2600s
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
curl "https://api.magentlab.com/api/calc/score2"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.magentlab.com/api/calc/score2");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.magentlab.com/api/calc/score2")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.magentlab.com
Endpoint
https://api.magentlab.com/api/calc/score2
Machine-readable
/resources/38816.json