magent

Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.

MediaLiveeip155:8453Exactvia cdp
Euroscore-iiCardiac-surgeryMortalityEmergencyCalculator
Calls · 30d
1→ 0%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 8 snapshots so far.
$13.75
Verified settled volume
2,750 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0050
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-09-01 09:21Z
Upstream on-chain volume
Reported by the source catalog.
Paid to
0x836Be278f1739fB4308091cD1852F7971Bc19Ee2

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "PAYMENT-SIGNATURE header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "paymentFlow": "upfront",
        "resourceUrl": "https://api.magentlab.com/api/calc/euroscore_ii",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    },
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "withdrawDelay": 86400,
        "receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    }
  ],
  "resource": {
    "url": "https://api.magentlab.com/api/calc/euroscore_ii",
    "tags": [
      "euroscore-ii",
      "cardiac-surgery",
      "mortality",
      "emergency",
      "calculator"
    ],
    "mimeType": "application/json",
    "description": "Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac surgery. Age Xi is 1 if age <= 60, else age - 59. Renal function is a caller-assigned creatinine-clearance band or dialysis; magent does not run Cockcroft-Gault. Returns logit and estimated_probability_percent from the unrounded logit. Not additive EuroSCORE I, not a medical device, and Nashef 2012 publishes no low/intermediate/high percent cuts.",
    "serviceName": "magent"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "age": 60,
            "sex": "male",
            "nyha": 1,
            "renal": "cc_gt_85",
            "urgency": "elective",
            "recent_mi": false,
            "ccs_class_4": false,
            "lv_function": "good",
            "poor_mobility": false,
            "thoracic_aorta": false,
            "active_endocarditis": false,
            "weight_of_procedure": "isolated_cabg",
            "chronic_lung_disease": false,
            "pulmonary_hypertension": "none",
            "previous_cardiac_surgery": false,
            "extracardiac_arteriopathy": false,
            "insulin_dependent_diabetes": false,
            "critical_preoperative_state": false
          }
        },
        "output": {
          "type": "json",
          "example": {
            "sex": "male",
            "nyha": 1,
            "logit": -5.296,
            "renal": "cc_gt_85",
            "formula": "euroscore_ii",
            "urgency": "elective",
            "age_step": 1,
            "citation": {
              "id": "nashef-2012",
              "doi": "10.1093/ejcts/ezs043",
              "pmid": "22378855",
              "title": "EuroSCORE II",
              "source": "Eur J Cardiothorac Surg. 2012;41(4):734-745",
              "authors": "Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U"
            },
            "age_years": 60,
            "recent_mi": false,
            "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.",
            "ccs_class_4": false,
            "lv_function": "good",
            "poor_mobility": false,
            "thoracic_aorta": false,
            "formula_expression": "y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))",
            "active_endocarditis": false,
            "weight_of_procedure": "isolated_cabg",
            "chronic_lung_disease": false,
            "pulmonary_hypertension": "none",
            "previous_cardiac_surgery": false,
            "extracardiac_arteriopathy": false,
            "insulin_dependent_diabetes": false,
            "critical_preoperative_state": false,
            "estimated_probability_percent": 0.5
          }
        },
        "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": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "queryParams": {
                "type": "object",
                "required": [
                  "age",
                  "sex",
                  "renal",
                  "nyha",
                  "lv_function",
                  "urgency",
                  "weight_of_procedure",
                  "pulmonary_hypertension",
                  "extracardiac_arteriopathy",
                  "poor_mobility",
                  "previous_cardiac_surgery",
                  "chronic_lung_disease",
                  "active_endocarditis",
                  "critical_preoperative_state",
                  "insulin_dependent_diabetes",
                  "ccs_class_4",
                  "recent_mi",
                  "thoracic_aorta"
                ],
                "properties": {
                  "age": {
                    "type": "integer",
                    "description": "Age in years (18-120). Nashef 2012 Table 6: Xi = 1 if age <= 60; Xi = age - 59 if older (age 61 → 2). Coefficient 0.0285181 on the encoded step, not on raw years."
                  },
                  "sex": {
                    "enum": [
                      "male",
                      "female"
                    ],
                    "type": "string",
                    "description": "Sex as assigned by the caller. male is the reference (0). female adds 0.2196434 (Nashef 2012 Table 6)."
                  },
                  "nyha": {
                    "type": "integer",
                    "description": "NYHA class 1-4 as assigned by the caller (Nashef 2012 Table 6). class 1 is the reference (0); class 2 +0.1070545; class 3 +0.2958358; class 4 +0.5597929."
                  },
                  "renal": {
                    "enum": [
                      "cc_gt_85",
                      "cc_51_85",
                      "cc_le_50",
                      "dialysis"
                    ],
                    "type": "string",
                    "description": "Nashef 2012 renal-function band as assigned by the caller: cc_gt_85 (reference, 0), cc_51_85 (+0.303553), cc_le_50 (+0.8592256), or dialysis (+0.6421508). magent does not run Cockcroft-Gault and does not parse a creatinine number."
                  },
                  "urgency": {
                    "enum": [
                      "elective",
                      "urgent",
                      "emergency",
                      "salvage"
                    ],
                    "type": "string",
                    "description": "Nashef 2012 urgency as assigned by the caller: elective (reference, 0), urgent (+0.3174673), emergency (+0.7039121), or salvage (+1.362947)."
                  },
                  "recent_mi": {
                    "type": "boolean",
                    "description": "true if myocardial infarction within 90 days before operation (Nashef 2012 Table 6 +0.1528943). true or false."
                  },
                  "ccs_class_4": {
                    "type": "boolean",
                    "description": "true if CCS class 4 angina (Nashef 2012 Table 6 CCS4 +0.2226147). true or false."
                  },
                  "lv_function": {
                    "enum": [
                      "good",
                      "moderate",
                      "poor",
                      "very_poor"
                    ],
                    "type": "string",
                    "description": "Left-ventricular function band as assigned by the caller: good (LVEF 51% or more, reference 0), moderate (31-50%, +0.3150652), poor (21-30%, +0.8084096), or very_poor (20% or less, +0.9346919). magent does not parse an ejection-fraction number."
                  },
                  "poor_mobility": {
                    "type": "boolean",
                    "description": "true if severe impairment of mobility secondary to musculoskeletal or neurological dysfunction (Nashef 2012 Table 6 N/M mob +0.2407181). true or false."
                  },
                  "thoracic_aorta": {
                    "type": "boolean",
                    "description": "true if surgery on the thoracic aorta (Nashef 2012 Table 6 +0.6527205). true or false."
                  },
                  "active_endocarditis": {
                    "type": "boolean",
                    "description": "true if still on antibiotic treatment for endocarditis at the time of surgery (Nashef 2012 Table 6 AE +0.6194522). true or false."
                  },
                  "weight_of_procedure": {
                    "enum": [
                      "isolated_cabg",
                      "single_non_cabg",
                      "two",
                      "three_plus"
                    ],
                    "type": "string",
                    "description": "Nashef 2012 weight of the intervention as assigned by the caller: isolated_cabg (reference, 0), single_non_cabg (+0.0062118), two (+0.5521478), or three_plus (+0.9724533). magent does not classify an operative note."
                  },
                  "chronic_lung_disease": {
                    "type": "boolean",
                    "description": "true if chronic pulmonary dysfunction is present (Nashef 2012 Table 6 CPD +0.1886564). true or false."
                  },
                  "pulmonary_hypertension": {
                    "enum": [
                      "none",
                      "moderate",
                      "severe"
                    ],
                    "type": "string",
                    "description": "Nashef 2012 Table 6 PA systolic-pressure band as assigned by the caller: none (reference, 0), moderate (31-55 mmHg, +0.1788899), or severe (>=55 mmHg, +0.3491475). magent does not parse a PA pressure number."
                  },
                  "previous_cardiac_surgery": {
                    "type": "boolean",
                    "description": "true if one or more previous major cardiac operations involving opening the pericardium (Nashef 2012 Table 6 redo +1.118599). true or false."
                  },
                  "extracardiac_arteriopathy": {
                    "type": "boolean",
                    "description": "true if extracardiac arteriopathy is present (Nashef 2012 Table 6 ECA +0.5360268). true or false."
                  },
                  "insulin_dependent_diabetes": {
                    "type": "boolean",
                    "description": "true if insulin-dependent diabetes mellitus (Nashef 2012 Table 6 IDDM +0.3542749). true or false."
                  },
                  "critical_preoperative_state": {
                    "type": "boolean",
                    "description": "true if a Nashef 2012 critical preoperative state is present (Table 6 +1.086517). true or false. magent does not assign this from a chart."
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.005USDC≈ $0.005 USD
on Base · exact scheme

Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.

USD Coin contract
0x8335…02913
Payment window
10 minutes
As published
5000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2",
      "paymentFlow": "upfront",
      "resourceUrl": "https://api.magentlab.com/api/calc/euroscore_ii",
      "assetTransferMethod": "eip3009"
    },
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "amount": "5000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 600
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "items": [
            {
              "age": 60,
              "sex": "male",
              "nyha": 1,
              "renal": "cc_gt_85",
              "urgency": "elective",
              "recent_mi": false,
              "ccs_class_4": false,
              "lv_function": "good",
              "poor_mobility": false,
              "thoracic_aorta": false,
              "active_endocarditis": false,
              "weight_of_procedure": "isolated_cabg",
              "chronic_lung_disease": false,
              "pulmonary_hypertension": "none",
              "previous_cardiac_surgery": false,
              "extracardiac_arteriopathy": false,
              "insulin_dependent_diabetes": false,
              "critical_preoperative_state": false
            },
            {
              "age": 60,
              "sex": "male",
              "nyha": 1,
              "renal": "cc_gt_85",
              "urgency": "elective",
              "recent_mi": false,
              "ccs_class_4": false,
              "lv_function": "good",
              "poor_mobility": false,
              "thoracic_aorta": false,
              "active_endocarditis": false,
              "weight_of_procedure": "isolated_cabg",
              "chronic_lung_disease": false,
              "pulmonary_hypertension": "none",
              "previous_cardiac_surgery": false,
              "extracardiac_arteriopathy": false,
              "insulin_dependent_diabetes": false,
              "critical_preoperative_state": false
            }
          ]
        },
        "type": "http",
        "method": "POST"
      },
      "output": {
        "type": "json",
        "example": {
          "path": "/api/calc/euroscore_ii",
          "count": 2,
          "items": [
            {
              "sex": "male",
              "nyha": 1,
              "logit": -5.296,
              "renal": "cc_gt_85",
              "formula": "euroscore_ii",
              "urgency": "elective",
              "age_step": 1,
              "citation": {
                "id": "nashef-2012",
                "doi": "10.1093/ejcts/ezs043",
                "pmid": "22378855",
                "title": "EuroSCORE II",
                "source": "Eur J Cardiothorac Surg. 2012;41(4):734-745",
                "authors": "Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U"
              },
              "age_years": 60,
              "recent_mi": false,
              "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.",
              "ccs_class_4": false,
              "lv_function": "good",
              "poor_mobility": false,
              "thoracic_aorta": false,
              "formula_expression": "y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))",
              "active_endocarditis": false,
              "weight_of_procedure": "isolated_cabg",
              "chronic_lung_disease": false,
              "pulmonary_hypertension": "none",
              "previous_cardiac_surgery": false,
              "extracardiac_arteriopathy": false,
              "insulin_dependent_diabetes": false,
              "critical_preoperative_state": false,
              "estimated_probability_percent": 0.5
            },
            {
              "sex": "male",
              "nyha": 1,
              "logit": -5.296,
              "renal": "cc_gt_85",
              "formula": "euroscore_ii",
              "urgency": "elective",
              "age_step": 1,
              "citation": {
                "id": "nashef-2012",
                "doi": "10.1093/ejcts/ezs043",
                "pmid": "22378855",
                "title": "EuroSCORE II",
                "source": "Eur J Cardiothorac Surg. 2012;41(4):734-745",
                "authors": "Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U"
              },
              "age_years": 60,
              "recent_mi": false,
              "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.",
              "ccs_class_4": false,
              "lv_function": "good",
              "poor_mobility": false,
              "thoracic_aorta": false,
              "formula_expression": "y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))",
              "active_endocarditis": false,
              "weight_of_procedure": "isolated_cabg",
              "chronic_lung_disease": false,
              "pulmonary_hypertension": "none",
              "previous_cardiac_surgery": false,
              "extracardiac_arteriopathy": false,
              "insulin_dependent_diabetes": false,
              "critical_preoperative_state": false,
              "estimated_probability_percent": 0.5
            }
          ]
        }
      },
      "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",
                      "renal",
                      "nyha",
                      "lv_function",
                      "urgency",
                      "weight_of_procedure",
                      "pulmonary_hypertension",
                      "extracardiac_arteriopathy",
                      "poor_mobility",
                      "previous_cardiac_surgery",
                      "chronic_lung_disease",
                      "active_endocarditis",
                      "critical_preoperative_state",
                      "insulin_dependent_diabetes",
                      "ccs_class_4",
                      "recent_mi",
                      "thoracic_aorta"
                    ],
                    "properties": {
                      "age": {
                        "type": "integer",
                        "description": "Age in years (18-120). Nashef 2012 Table 6: Xi = 1 if age <= 60; Xi = age - 59 if older (age 61 → 2). Coefficient 0.0285181 on the encoded step, not on raw years."
                      },
                      "sex": {
                        "enum": [
                          "male",
                          "female"
                        ],
                        "type": "string",
                        "description": "Sex as assigned by the caller. male is the reference (0). female adds 0.2196434 (Nashef 2012 Table 6)."
                      },
                      "nyha": {
                        "type": "integer",
                        "description": "NYHA class 1-4 as assigned by the caller (Nashef 2012 Table 6). class 1 is the reference (0); class 2 +0.1070545; class 3 +0.2958358; class 4 +0.5597929."
                      },
                      "renal": {
                        "enum": [
                          "cc_gt_85",
                          "cc_51_85",
                          "cc_le_50",
                          "dialysis"
                        ],
                        "type": "string",
                        "description": "Nashef 2012 renal-function band as assigned by the caller: cc_gt_85 (reference, 0), cc_51_85 (+0.303553), cc_le_50 (+0.8592256), or dialysis (+0.6421508). magent does not run Cockcroft-Gault and does not parse a creatinine number."
                      },
                      "urgency": {
                        "enum": [
                          "elective",
                          "urgent",
                          "emergency",
                          "salvage"
                        ],
                        "type": "string",
                        "description": "Nashef 2012 urgency as assigned by the caller: elective (reference, 0), urgent (+0.3174673), emergency (+0.7039121), or salvage (+1.362947)."
                      },
                      "recent_mi": {
                        "type": "boolean",
                        "description": "true if myocardial infarction within 90 days before operation (Nashef 2012 Table 6 +0.1528943). true or false."
                      },
                      "ccs_class_4": {
                        "type": "boolean",
                        "description": "true if CCS class 4 angina (Nashef 2012 Table 6 CCS4 +0.2226147). true or false."
                      },
                      "lv_function": {
                        "enum": [
                          "good",
                          "moderate",
                          "poor",
                          "very_poor"
                        ],
                        "type": "string",
                        "description": "Left-ventricular function band as assigned by the caller: good (LVEF 51% or more, reference 0), moderate (31-50%, +0.3150652), poor (21-30%, +0.8084096), or very_poor (20% or less, +0.9346919). magent does not parse an ejection-fraction number."
                      },
                      "poor_mobility": {
                        "type": "boolean",
                        "description": "true if severe impairment of mobility secondary to musculoskeletal or neurological dysfunction (Nashef 2012 Table 6 N/M mob +0.2407181). true or false."
                      },
                      "thoracic_aorta": {
                        "type": "boolean",
                        "description": "true if surgery on the thoracic aorta (Nashef 2012 Table 6 +0.6527205). true or false."
                      },
                      "active_endocarditis": {
                        "type": "boolean",
                        "description": "true if still on antibiotic treatment for endocarditis at the time of surgery (Nashef 2012 Table 6 AE +0.6194522). true or false."
                      },
                      "weight_of_procedure": {
                        "enum": [
                          "isolated_cabg",
                          "single_non_cabg",
                          "two",
                          "three_plus"
                        ],
                        "type": "string",
                        "description": "Nashef 2012 weight of the intervention as assigned by the caller: isolated_cabg (reference, 0), single_non_cabg (+0.0062118), two (+0.5521478), or three_plus (+0.9724533). magent does not classify an operative note."
                      },
                      "chronic_lung_disease": {
                        "type": "boolean",
                        "description": "true if chronic pulmonary dysfunction is present (Nashef 2012 Table 6 CPD +0.1886564). true or false."
                      },
                      "pulmonary_hypertension": {
                        "enum": [
                          "none",
                          "moderate",
                          "severe"
                        ],
                        "type": "string",
                        "description": "Nashef 2012 Table 6 PA systolic-pressure band as assigned by the caller: none (reference, 0), moderate (31-55 mmHg, +0.1788899), or severe (>=55 mmHg, +0.3491475). magent does not parse a PA pressure number."
                      },
                      "previous_cardiac_surgery": {
                        "type": "boolean",
                        "description": "true if one or more previous major cardiac operations involving opening the pericardium (Nashef 2012 Table 6 redo +1.118599). true or false."
                      },
                      "extracardiac_arteriopathy": {
                        "type": "boolean",
                        "description": "true if extracardiac arteriopathy is present (Nashef 2012 Table 6 ECA +0.5360268). true or false."
                      },
                      "insulin_dependent_diabetes": {
                        "type": "boolean",
                        "description": "true if insulin-dependent diabetes mellitus (Nashef 2012 Table 6 IDDM +0.3542749). true or false."
                      },
                      "critical_preoperative_state": {
                        "type": "boolean",
                        "description": "true if a Nashef 2012 critical preoperative state is present (Table 6 +1.086517). true or false. magent does not assign this from a chart."
                      }
                    }
                  },
                  "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"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-09-01 09:21Z
Last indexed by Roundhouse
2026-09-07 06:20Z
Last enriched (probe, favicon, geo)
2026-09-24 07:15Z
x402 version
2
Max timeout
600s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 8 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service magent and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=magent'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://api.magentlab.com/api/calc/euroscore_ii, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.