# HFA-ICOS RAF/MEK Inhibitor Baseline Cardiovascular Risk Calculator

> HFA-ICOS RAF/MEK Inhibitor Baseline Cardiovascular Risk Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Classifies a patient's baseline cardiovascular risk (Very High / High / Medium / Low) before starting RAF and MEK inhibitor therapy, using the Lyon 2020 HFA-ICOS framework.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hfa_icos_raf_mek
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hfa-icos-raf-mek-inhibitor-baseline-cardiovascular-risk-calculator-cc8ee00d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vQ4jBXkBkDeDW0j6bqOGZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hfa-icos-raf-mek-inhibitor-baseline-cardiovascular-risk-calculator-cc8ee00d
```

Example prompt: My patient is 68 years old with an LVEF of 52%, a history of prior anthracycline use, hypertension, and diabetes — no heart failure, MI, CABG, angina, valvular disease, arrhythmia, elevated troponin, elevated BNP, prior chest radiation, CKD, significant smoking, or obesity. What is their HFA-ICOS baseline cardiovascular risk category before we start a RAF and MEK inhibitor combination?

## When to prefer this

Use this endpoint when you need to apply the specific Lyon 2020 HFA-ICOS cardiotoxicity risk classification framework for patients being considered for RAF and/or MEK inhibitor combination therapy. It implements the exact risk table with Very High / High / Medium / Low tiers and medium-point counting. Prefer this over generic cardiovascular risk calculators (e.g., Framingham, SCORE) when the clinical question is specifically about cardiotoxicity risk before targeted cancer therapy, not general population ASCVD risk.

## Known failure modes

- Missing required boolean parameters returns a validation error
- Age outside 18–100 range is rejected
- LVEF values outside expected range may not be handled
- Ambiguous or non-boolean inputs for flag fields cause schema errors
- Network timeout or upstream server error returns a 5xx response
- Payment not included or insufficient returns a 402 Payment Required error

## How this service works

Lyon 2020 HFA-ICOS baseline CV risk before combination RAF and MEK inhibitors. Very high if heart failure or cardiomyopathy; High if MI/CABG, stable angina, severe valvular disease, prior anthracycline, or ≥5 medium points; Medium if 2-4 medium points; Low if 0-1. Age ≥65 is Medium 1 only. LVEF 50-54 is Medium 2; this table has no printed LVEF <50 High row. Expert-opinion cardiotoxicity guide <2% / 2-9% / 10-19% / ≥20%. Not a treatment order.

## Output

Returns a categorical cardiovascular risk classification (Very High, High, Medium, or Low) based on the Lyon 2020 HFA-ICOS RAF/MEK table, along with the count of medium-risk points accumulated and a corresponding expert-opinion cardiotoxicity probability band (<2%, 2–9%, 10–19%, or ≥20%). This is an informational risk stratification output, not a treatment order.

## Request schema (JSON Schema)

```json
{
 "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_years",
      "lvef_percent",
      "heart_failure_or_cardiomyopathy",
      "mi_or_cabg",
      "stable_angina",
      "severe_valvular_heart_disease",
      "prior_anthracycline",
      "elevated_troponin",
      "elevated_bnp",
      "hypertension",
      "prior_left_chest_or_mediastinal_rt",
      "arrhythmia",
      "diabetes",
      "ckd",
      "current_or_significant_smoker",
      "obesity"
     ],
     "properties": {
      "ckd": {
       "type": "boolean",
       "description": "Chronic kidney disease (estimated glomerular filtration rate <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not compute eGFR."
      },
      "obesity": {
       "type": "boolean",
       "description": "Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not compute BMI."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes mellitus (glycated haemoglobin >7.0% or >53 mmol/mol, or on treatment) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not assay haemoglobin A1c."
      },
      "age_years": {
       "type": "integer",
       "description": "Age in whole years (18-100). Lyon 2020 RAF-MEK table: age ≥65 is Medium 1. There is no High age band on this table. magent does not read an identity document."
      },
      "arrhythmia": {
       "type": "boolean",
       "description": "Atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation as assigned by the caller (Lyon 2020 RAF-MEK table footnote). true is Medium 1. magent does not read an ECG."
      },
      "mi_or_cabg": {
       "type": "boolean",
       "description": "Myocardial infarction or CABG as assigned by the caller (Lyon 2020 RAF-MEK table). true is High."
      },
      "elevated_bnp": {
       "type": "boolean",
       "d
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hfa-icos-raf-mek-inhibitor-baseline-cardiovascular-risk-calculator-cc8ee00d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
