Calc Hfa Icos Vegf
by magent in Security & trust
Lyon 2020 HFA-ICOS baseline CV risk before VEGF inhibitors or VEGF TKIs. Very high if heart failure/cardiomyopathy or arterial vascular disease. High if venous thrombosis, LVEF <50%, QTc >=480 ms, age >=75, hypertension, prior anthracycline, or >=5 medium points. Medium if 2-4 medium points. Guide <2% / 2-9% / 10-19% / >=20%. Not a device or treatment order.
https://api.magentlab.com/api/calc/hfa_icos_vegf- Price
- $0.007
- per call in USDC
- Uptime
- 91.4%
- last 30 days
- Response time
- 338 ms
- 683 ms slowest 5%
- Last check
- Failed
- 6 h ago, next any minute now
Reliability
Latest check failed 6 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_vegf
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_vegf
content-type: application/json
{
"items": [
{
"age_years": 50,
"arrhythmia": false,
"arterial_vascular_disease": false,
"ckd": false,
"current_or_significant_smoker": false,
"diabetes": false,
"elevated_bnp": false,
"elevated_troponin": false,
"heart_failure_or_cardiomyopathy": false,
"hyperlipidemia": false,
"hypertension": false,
"lvef_percent": 60,
"obesity": false,
"prior_anthracycline": false,
"prior_left_chest_or_mediastinal_rt": false,
"proteinuria": false,
"qtc_ms": 400,
"sex": "female",
"venous_thrombosis": false
},
{
"age_years": 50,
"arrhythmia": false,
"arterial_vascular_disease": false,
"ckd": false,
"current_or_significant_smoker": false,
"diabetes": false,
"elevated_bnp": false,
"elevated_troponin": false,
"heart_failure_or_cardiomyopathy": false,
"hyperlipidemia": false,
"hypertension": false,
"lvef_percent": 60,
"obesity": false,
"prior_anthracycline": false,
"prior_left_chest_or_mediastinal_rt": false,
"proteinuria": false,
"qtc_ms": 400,
"sex": "female",
"venous_thrombosis": false
}
]
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
items | array of object | Yes |
Example response
The provider's example. We can't check it without paying. Shortened for display.
Example response, 294 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": "arterial_vascular_disease",
"points": 0,
"present": false,
"tier": "very_high"
},
{
"factor": "venous_thrombosis",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "lvef_lt_50",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "qtc_ge_480",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "age_ge_75",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "hypertension",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "prior_anthracycline",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "lvef_50_to_54",
"points": 0,
"present": false,
"tier": "medium_2"
},
{
"factor": "borderline_qtc",
"points": 0,
"present": false,
"tier": "medium_2"
},
{
"factor": "arrhythmia",
"points": 0,
"present": false,
"tier": "medium_2"
},
{
"factor": "elevated_troponin",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "elevated_bnp",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "age_65_to_74",
"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": "proteinuria",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "prior_left_chest_or_mediastinal_rt",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "current_or_significant_smoker",
"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_vegf",
"formula_expression": "HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent<50, qtc_ms>=480, age_years>=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450<=qtc<480, female 460<=qtc<480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (>=75 High; 65-74 Medium 1; <65 none). LVEF exclusive (<50 High; 50-54 Medium 2; >=55 none). QTc exclusive (>=480 High; else sex-specific Medium 2). cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%",
"high_factor": false,
"lvef_percent": 60,
"medium_points": 0,
"qtc_ms": 400,
"risk_level": "low",
"sex": "female",
"very_high_factor": false
},
{
"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": "arterial_vascular_disease",
"points": 0,
"present": false,
"tier": "very_high"
},
{
"factor": "venous_thrombosis",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "lvef_lt_50",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "qtc_ge_480",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "age_ge_75",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "hypertension",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "prior_anthracycline",
"points": 0,
"present": false,
"tier": "high"
},
{
"factor": "lvef_50_to_54",
"points": 0,
"present": false,
"tier": "medium_2"
},
{
"factor": "borderline_qtc",
"points": 0,
"present": false,
"tier": "medium_2"
},
{
"factor": "arrhythmia",
"points": 0,
"present": false,
"tier": "medium_2"
},
{
"factor": "elevated_troponin",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "elevated_bnp",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "age_65_to_74",
"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": "proteinuria",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "prior_left_chest_or_mediastinal_rt",
"points": 0,
"present": false,
"tier": "medium_1"
},
{
"factor": "current_or_significant_smoker",
"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_vegf",
"formula_expression": "HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent<50, qtc_ms>=480, age_years>=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450<=qtc<480, female 460<=qtc<480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (>=75 High; 65-74 Medium 1; <65 none). LVEF exclusive (<50 High; 50-54 Medium 2; >=55 none). QTc exclusive (>=480 High; else sex-specific Medium 2). cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%",
"high_factor": false,
"lvef_percent": 60,
"medium_points": 0,
"qtc_ms": 400,
"risk_level": "low",
"sex": "female",
"very_high_factor": false
}
],
"path": "/api/calc/hfa_icos_vegf"
}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_vegf' \
-H 'content-type: application/json' \
--data-raw '{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","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_vegf' \
-H 'content-type: application/json' \
--data-raw '{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false}]}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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_vegf&method=POST
const res = await pay("https://api.magentlab.com/api/calc/hfa_icos_vegf", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"items": [
{
"age_years": 50,
"arrhythmia": false,
"arterial_vascular_disease": false,
"ckd": false,
"current_or_significant_smoker": false,
"diabetes": false,
"elevated_bnp": false,
"elevated_troponin": false,
"heart_failure_or_cardiomyopathy": false,
"hyperlipidemia": false,
"hypertension": false,
"lvef_percent": 60,
"obesity": false,
"prior_anthracycline": false,
"prior_left_chest_or_mediastinal_rt": false,
"proteinuria": false,
"qtc_ms": 400,
"sex": "female",
"venous_thrombosis": false
},
{
"age_years": 50,
"arrhythmia": false,
"arterial_vascular_disease": false,
"ckd": false,
"current_or_significant_smoker": false,
"diabetes": false,
"elevated_bnp": false,
"elevated_troponin": false,
"heart_failure_or_cardiomyopathy": false,
"hyperlipidemia": false,
"hypertension": false,
"lvef_percent": 60,
"obesity": false,
"prior_anthracycline": false,
"prior_left_chest_or_mediastinal_rt": false,
"proteinuria": false,
"qtc_ms": 400,
"sex": "female",
"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_vegf",
json={
"items": [
{
"age_years": 50,
"arrhythmia": False,
"arterial_vascular_disease": False,
"ckd": False,
"current_or_significant_smoker": False,
"diabetes": False,
"elevated_bnp": False,
"elevated_troponin": False,
"heart_failure_or_cardiomyopathy": False,
"hyperlipidemia": False,
"hypertension": False,
"lvef_percent": 60,
"obesity": False,
"prior_anthracycline": False,
"prior_left_chest_or_mediastinal_rt": False,
"proteinuria": False,
"qtc_ms": 400,
"sex": "female",
"venous_thrombosis": False,
},
{
"age_years": 50,
"arrhythmia": False,
"arterial_vascular_disease": False,
"ckd": False,
"current_or_significant_smoker": False,
"diabetes": False,
"elevated_bnp": False,
"elevated_troponin": False,
"heart_failure_or_cardiomyopathy": False,
"hyperlipidemia": False,
"hypertension": False,
"lvef_percent": 60,
"obesity": False,
"prior_anthracycline": False,
"prior_left_chest_or_mediastinal_rt": False,
"proteinuria": False,
"qtc_ms": 400,
"sex": "female",
"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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 6 h ago | Timed out | - | - | - |
| 10 h ago | Timed out | - | - | - |
| 15 h ago | Timed out | - | - | - |
| 20 h ago | Passed | 402 | 360 ms | $0.007 |
| 25 h ago | Passed | 402 | 310 ms | $0.007 |
Show 10 older checks
| 30 h ago | Passed | 402 | 294 ms | $0.007 |
| 34 h ago | Passed | 402 | 353 ms | $0.007 |
| 39 h ago | Passed | 402 | 383 ms | $0.007 |
| 43 h ago | Passed | 402 | 173 ms | $0.007 |
| 2 days ago | Passed | 402 | 319 ms | $0.007 |
| 2 days ago | Passed | 402 | 453 ms | $0.007 |
| 2 days ago | Passed | 402 | 327 ms | $0.007 |
| 3 days ago | Passed | 402 | 452 ms | $0.007 |
| 3 days ago | Passed | 402 | 642 ms | $0.007 |
| 3 days ago | Passed | 402 | 683 ms | $0.007 |
History
| 11 Oct 2026 | Price changed from $0.005 to $0.007 |