65trust / 100

Calc Hfa Icos Myeloma

by magent in Security & trust

x402 APIFailing, checked 2 h ago

Lyon 2020 HFA-ICOS baseline CV risk before proteasome inhibitors and immunomodulatory drugs for multiple myeloma. Returns risk_level low, medium, high, or very_high plus medium_points and the paper's expert-opinion cardiotoxicity_guide. Age >=75 is High; 65-74 is Medium 1. Caller assigns labs, BMI >30, and high-dose dexamethasone. magent does not examine the patient or read imaging. Not a medical device or treatment order.

POST
https://api.magentlab.com/api/calc/hfa_icos_myeloma
Price
$0.007
per call in USDC
Uptime
88.9%
last 30 days
Response time
270 ms
813 ms slowest 5%
Last check
Failed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 2 h ago: Timed out

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://api.magentlab.com/api/calc/hfa_icos_myeloma

Each call costs $0.007 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.magentlab.com/api/calc/hfa_icos_myeloma
content-type: application/json

{
  "items": [
    {
      "age_years": 50,
      "arrhythmia": false,
      "arterial_vascular_disease": false,
      "cardiac_amyloidosis": false,
      "ckd": false,
      "current_or_significant_smoker": false,
      "diabetes": false,
      "elevated_bnp": false,
      "elevated_troponin": false,
      "family_history_thrombophilia": false,
      "heart_failure_or_cardiomyopathy": false,
      "high_dose_dexamethasone": false,
      "hyperlipidemia": false,
      "hypertension": false,
      "left_ventricular_hypertrophy": false,
      "lvef_percent": 60,
      "obesity": false,
      "prior_anthracycline": false,
      "prior_immunomodulatory_drug_cv_toxicity": false,
      "prior_proteasome_inhibitor_cardiotoxicity": false,
      "prior_thoracic_spine_radiotherapy": false,
      "venous_thrombosis": false
    },
    {
      "age_years": 50,
      "arrhythmia": false,
      "arterial_vascular_disease": false,
      "cardiac_amyloidosis": false,
      "ckd": false,
      "current_or_significant_smoker": false,
      "diabetes": false,
      "elevated_bnp": false,
      "elevated_troponin": false,
      "family_history_thrombophilia": false,
      "heart_failure_or_cardiomyopathy": false,
      "high_dose_dexamethasone": false,
      "hyperlipidemia": false,
      "hypertension": false,
      "left_ventricular_hypertrophy": false,
      "lvef_percent": 60,
      "obesity": false,
      "prior_anthracycline": false,
      "prior_immunomodulatory_drug_cv_toxicity": false,
      "prior_proteasome_inhibitor_cardiotoxicity": false,
      "prior_thoracic_spine_radiotherapy": false,
      "venous_thrombosis": false
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
itemsarray of objectYes

Example response

The provider's example. We can't check it without paying. Shortened for display.

Example response, 286 lines
{
  "count": 2,
  "items": [
    {
      "age_years": 50,
      "cardiotoxicity_guide": "<2%",
      "citation": {
        "authors": "Lyon AR, Dent S, Stanway S, et al.",
        "doi": "10.1002/ejhf.1920",
        "id": "lyon-2020",
        "pmid": "32458582",
        "source": "Eur J Heart Fail. 2020;22(11):1945-1960",
        "title": "Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"
      },
      "components": [
        {
          "factor": "heart_failure_or_cardiomyopathy",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "prior_proteasome_inhibitor_cardiotoxicity",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "venous_thrombosis",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "cardiac_amyloidosis",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "arterial_vascular_disease",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "prior_immunomodulatory_drug_cv_toxicity",
          "points": 0,
          "present": false,
          "tier": "high"
        },
        {
          "factor": "elevated_bnp",
          "points": 0,
          "present": false,
          "tier": "high"
        },
        {
          "factor": "prior_anthracycline",
          "points": 0,
          "present": false,
          "tier": "high"
        },
        {
          "factor": "arrhythmia",
          "points": 0,
          "present": false,
          "tier": "medium_2"
        },
        {
          "factor": "elevated_troponin",
          "points": 0,
          "present": false,
          "tier": "medium_2"
        },
        {
          "factor": "left_ventricular_hypertrophy",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "hypertension",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "diabetes",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "hyperlipidemia",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "ckd",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "family_history_thrombophilia",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "prior_thoracic_spine_radiotherapy",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "high_dose_dexamethasone",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "current_or_significant_smoker",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "obesity",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        }
      ],
      "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.",
      "formula": "hfa_icos_myeloma",
      "formula_expression": "very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent<50, elevated_bnp, age_years>=75, prior_anthracycline) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%",
      "lvef_percent": 60,
      "medium_points": 0,
      "risk_level": "low"
    },
    {
      "age_years": 50,
      "cardiotoxicity_guide": "<2%",
      "citation": {
        "authors": "Lyon AR, Dent S, Stanway S, et al.",
        "doi": "10.1002/ejhf.1920",
        "id": "lyon-2020",
        "pmid": "32458582",
        "source": "Eur J Heart Fail. 2020;22(11):1945-1960",
        "title": "Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"
      },
      "components": [
        {
          "factor": "heart_failure_or_cardiomyopathy",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "prior_proteasome_inhibitor_cardiotoxicity",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "venous_thrombosis",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "cardiac_amyloidosis",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "arterial_vascular_disease",
          "points": 0,
          "present": false,
          "tier": "very_high"
        },
        {
          "factor": "prior_immunomodulatory_drug_cv_toxicity",
          "points": 0,
          "present": false,
          "tier": "high"
        },
        {
          "factor": "elevated_bnp",
          "points": 0,
          "present": false,
          "tier": "high"
        },
        {
          "factor": "prior_anthracycline",
          "points": 0,
          "present": false,
          "tier": "high"
        },
        {
          "factor": "arrhythmia",
          "points": 0,
          "present": false,
          "tier": "medium_2"
        },
        {
          "factor": "elevated_troponin",
          "points": 0,
          "present": false,
          "tier": "medium_2"
        },
        {
          "factor": "left_ventricular_hypertrophy",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "hypertension",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "diabetes",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "hyperlipidemia",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "ckd",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "family_history_thrombophilia",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "prior_thoracic_spine_radiotherapy",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "high_dose_dexamethasone",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "current_or_significant_smoker",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        },
        {
          "factor": "obesity",
          "points": 0,
          "present": false,
          "tier": "medium_1"
        }
      ],
      "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.",
      "formula": "hfa_icos_myeloma",
      "formula_expression": "very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent<50, elevated_bnp, age_years>=75, prior_anthracycline) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%",
      "lvef_percent": 60,
      "medium_points": 0,
      "risk_level": "low"
    }
  ],
  "path": "/api/calc/hfa_icos_myeloma"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.007.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.magentlab.com/api/calc/hfa_icos_myeloma' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false}]}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.magentlab.com/api/calc/hfa_icos_myeloma' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false}]}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.007 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.007" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.007 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fhfa_icos_myeloma&method=POST
const res = await pay("https://api.magentlab.com/api/calc/hfa_icos_myeloma", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "items": [
      {
        "age_years": 50,
        "arrhythmia": false,
        "arterial_vascular_disease": false,
        "cardiac_amyloidosis": false,
        "ckd": false,
        "current_or_significant_smoker": false,
        "diabetes": false,
        "elevated_bnp": false,
        "elevated_troponin": false,
        "family_history_thrombophilia": false,
        "heart_failure_or_cardiomyopathy": false,
        "high_dose_dexamethasone": false,
        "hyperlipidemia": false,
        "hypertension": false,
        "left_ventricular_hypertrophy": false,
        "lvef_percent": 60,
        "obesity": false,
        "prior_anthracycline": false,
        "prior_immunomodulatory_drug_cv_toxicity": false,
        "prior_proteasome_inhibitor_cardiotoxicity": false,
        "prior_thoracic_spine_radiotherapy": false,
        "venous_thrombosis": false
      },
      {
        "age_years": 50,
        "arrhythmia": false,
        "arterial_vascular_disease": false,
        "cardiac_amyloidosis": false,
        "ckd": false,
        "current_or_significant_smoker": false,
        "diabetes": false,
        "elevated_bnp": false,
        "elevated_troponin": false,
        "family_history_thrombophilia": false,
        "heart_failure_or_cardiomyopathy": false,
        "high_dose_dexamethasone": false,
        "hyperlipidemia": false,
        "hypertension": false,
        "left_ventricular_hypertrophy": false,
        "lvef_percent": 60,
        "obesity": false,
        "prior_anthracycline": false,
        "prior_immunomodulatory_drug_cv_toxicity": false,
        "prior_proteasome_inhibitor_cardiotoxicity": false,
        "prior_thoracic_spine_radiotherapy": false,
        "venous_thrombosis": false
      }
    ]
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.007 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.007"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.magentlab.com/api/calc/hfa_icos_myeloma",
        json={
            "items": [
                {
                    "age_years": 50,
                    "arrhythmia": False,
                    "arterial_vascular_disease": False,
                    "cardiac_amyloidosis": False,
                    "ckd": False,
                    "current_or_significant_smoker": False,
                    "diabetes": False,
                    "elevated_bnp": False,
                    "elevated_troponin": False,
                    "family_history_thrombophilia": False,
                    "heart_failure_or_cardiomyopathy": False,
                    "high_dose_dexamethasone": False,
                    "hyperlipidemia": False,
                    "hypertension": False,
                    "left_ventricular_hypertrophy": False,
                    "lvef_percent": 60,
                    "obesity": False,
                    "prior_anthracycline": False,
                    "prior_immunomodulatory_drug_cv_toxicity": False,
                    "prior_proteasome_inhibitor_cardiotoxicity": False,
                    "prior_thoracic_spine_radiotherapy": False,
                    "venous_thrombosis": False,
                },
                {
                    "age_years": 50,
                    "arrhythmia": False,
                    "arterial_vascular_disease": False,
                    "cardiac_amyloidosis": False,
                    "ckd": False,
                    "current_or_significant_smoker": False,
                    "diabetes": False,
                    "elevated_bnp": False,
                    "elevated_troponin": False,
                    "family_history_thrombophilia": False,
                    "heart_failure_or_cardiomyopathy": False,
                    "high_dose_dexamethasone": False,
                    "hyperlipidemia": False,
                    "hypertension": False,
                    "left_ventricular_hypertrophy": False,
                    "lvef_percent": 60,
                    "obesity": False,
                    "prior_anthracycline": False,
                    "prior_immunomodulatory_drug_cv_toxicity": False,
                    "prior_proteasome_inhibitor_cardiotoxicity": False,
                    "prior_thoracic_spine_radiotherapy": False,
                    "venous_thrombosis": False,
                },
            ],
        },
    )
    print(res.status_code, res.text)

Security scan

1 finding

  • Charges more than its listed price in payment
    Listed at $0.005, charges $0.007

Recent checks

WhenResultHTTPTimePrice
2 h agoTimed out---
8 h agoTimed out---
13 h agoTimed out---
18 h agoTimed out---
22 h agoPassed402184 ms$0.007
Show 10 older checks
27 h agoPassed402426 ms$0.007
32 h agoPassed402168 ms$0.007
37 h agoPassed402339 ms$0.007
41 h agoPassed402358 ms$0.007
46 h agoPassed402813 ms$0.007
2 days agoPassed402289 ms$0.007
2 days agoPassed402355 ms$0.007
2 days agoPassed402208 ms$0.007
3 days agoPassed402151 ms$0.007
3 days agoPassed402180 ms$0.007

History

11 Oct 2026Price changed from $0.005 to $0.007