# HFA-ICOS Anthracycline Cardiovascular Risk Calculator

> HFA-ICOS Anthracycline 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).

Calculates the Lyon 2020 HFA-ICOS baseline cardiovascular risk level (low/medium/high/very_high) before anthracycline chemotherapy based on patient risk factors

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hfa_icos_anthracycline
- 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-anthracycline-cardiovascular-risk-calculator-52069c5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K8XSk-kFzohCThfYUqKV9

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-anthracycline-cardiovascular-risk-calculator-52069c5d
```

Example prompt: Calculate the HFA-ICOS anthracycline cardiotoxicity risk for a 72-year-old patient with LVEF of 52%, hypertension, diabetes, and a history of prior anthracycline use — they do not have heart failure, valvular disease, MI, angina, chest RT, elevated troponin, elevated BNP, CKD, previous non-anthracycline chemo, significant smoking history, or obesity.

## When to prefer this

Use this endpoint when you need to programmatically apply the Lyon 2020 HFA-ICOS baseline cardiovascular risk stratification for a patient about to receive anthracycline chemotherapy, especially in agentic clinical decision-support workflows, EHR integrations, or oncology trial screening pipelines. Caller must pre-assign lab-derived flags (troponin, BNP, HbA1c, eGFR, BMI) since the endpoint does not compute them from raw values. Prefer this over generic risk calculators when the specific HFA-ICOS framework and its expert-opinion cardiotoxicity guidance text are required.

## Known failure modes

- Missing required query parameters returns a validation error
- age_years outside 18-100 range or lvef_percent outside 10-80 range returns a validation error
- Non-boolean values for flag fields return a schema error
- Network or server errors return HTTP 5xx
- Payment not provided or insufficient returns HTTP 402

## How this service works

Lyon 2020 HFA-ICOS baseline cardiovascular risk before anthracycline chemotherapy. Returns risk_level low, medium, high, or very_high from published Very high, High, Medium 2, and Medium 1 factors, plus medium_points and the paper's expert-opinion cardiotoxicity_guide. Age and LVEF use the highest matching printed band only. Caller assigns labs and BMI >30. magent does not examine the patient or read imaging. Not a medical device or treatment order.

## Output

Returns a JSON object with: risk_level (one of low, medium, high, very_high per Lyon 2020 HFA-ICOS classification), medium_points (integer count of Medium 1/Medium 2 factors accumulated), and cardiotoxicity_guide (the paper's expert-opinion guidance text corresponding to the computed risk tier).

## 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",
      "severe_valvular_heart_disease",
      "mi_or_coronary_revascularization",
      "stable_angina",
      "previous_anthracycline",
      "prior_left_chest_or_mediastinal_rt",
      "elevated_troponin",
      "elevated_bnp",
      "hypertension",
      "diabetes",
      "ckd",
      "previous_non_anthracycline_chemo",
      "current_or_significant_smoker",
      "obesity"
     ],
     "properties": {
      "ckd": {
       "type": "boolean",
       "description": "Chronic kidney disease (eGFR <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR."
      },
      "obesity": {
       "type": "boolean",
       "description": "Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes mellitus (HbA1c >7.0% or >53 mmol/mol or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c."
      },
      "age_years": {
       "type": "integer",
       "description": "Age in years (18-100, integer). Lyon 2020: >=80 High; 65-79 Medium 2; <65 no age factor. Highest matching band only."
      },
      "elevated_bnp": {
       "type": "boolean",
       "description": "Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay natriuretic peptides."
      },
      "hypertension": {
       "type": "boolean",
       "description": "Hypertension (SBP >140 mmHg or DBP >90 mmHg or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure."
      },
      "lvef_percent": {
       "type": "integer",
       "description": "LVEF percent (10-80, intege
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hfa-icos-anthracycline-cardiovascular-risk-calculator-52069c5d/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)
