# ACTION-ICU Score Calculator (Fanaroff 2018)

> ACTION-ICU Score Calculator (Fanaroff 2018) 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-15).

Computes the Fanaroff 2018 ACTION-ICU integer risk score (0–19) for initially hemodynamically stable NSTEMI patients based on nine clinical variables.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/action_icu
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/action-icu-score-calculator-fanaroff-2018-fd158782
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yab060BYcGYFFsdegAgVc

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 action-icu-score-calculator-fanaroff-2018-fd158782
```

Example prompt: Calculate the ACTION-ICU score for a 72-year-old NSTEMI patient with a creatinine of 1.3 mg/dL, heart rate 92 bpm, systolic BP of 118 mm Hg, troponin 15× ULN, signs of heart failure present, ST depression on ECG, no prior revascularization, and no chronic lung disease.

## When to prefer this

Use this endpoint when you need a validated, reproducible computation of the Fanaroff 2018 ACTION-ICU score for a hemodynamically stable NSTEMI patient, especially in an automated clinical documentation, research pipeline, or decision-support context. Prefer it over manual scoring when nine clinical variables are already structured and available programmatically. Not appropriate for STEMI, hypotensive presentations, or as a substitute for physician clinical judgment or triage orders.

## Known failure modes

- Missing required query parameter (e.g. age, creatinine_mg_dl) returns a validation error
- Out-of-range values (e.g. age <18 or >120, creatinine <0.1) rejected with 422 or similar
- Boolean fields supplied as strings instead of true/false may cause parsing errors
- Payment failure or missing x402 payment header returns 402 Payment Required
- Non-integer heart_rate_bpm or age values cause schema validation failure

## How this service works

Fanaroff 2018 ACTION ICU integer score (Table 3) for initially hemodynamically stable NSTEMI. Points from age, creatinine, heart rate, systolic BP (lower SBP scores more), troponin × ULN, HF signs, ST depression, absence of prior revascularization, and chronic lung disease. Returns integer score 0–19. Not a medical device or triage order; magent does not read an ECG or assay labs.

## Output

Returns a single integer score between 0 and 19 representing the patient's ACTION-ICU risk level, calculated by summing points from nine clinical variables per Fanaroff 2018 Table 3. Higher scores indicate greater risk requiring ICU-level care. No ECG interpretation or lab assay is performed; the caller supplies all values.

## 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",
      "creatinine_mg_dl",
      "heart_rate_bpm",
      "systolic_mm_hg",
      "troponin_x_uln",
      "heart_failure",
      "st_depression",
      "prior_revascularization",
      "chronic_lung_disease"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Fanaroff 2018 Table 3: younger than 70 scores 0; 70 or older scores 1."
      },
      "heart_failure": {
       "type": "boolean",
       "description": "Signs or symptoms of heart failure on first medical contact as assigned by the caller (Fanaroff 2018 Table 3). true or false. 5 points if true. magent does not examine the patient."
      },
      "st_depression": {
       "type": "boolean",
       "description": "ST-segment depression on the ECG as assigned by the caller (Fanaroff 2018 Table 3). true or false. 1 point if true. magent does not read an ECG."
      },
      "heart_rate_bpm": {
       "type": "integer",
       "description": "Heart rate in beats per minute (integer 30-220). Table 3 lists <85 → 0; 85–100 → 1; ≥100 → 3. The overlapping bound at 100 uses the ≥100 row (3 points)."
      },
      "systolic_mm_hg": {
       "type": "number",
       "description": "Systolic blood pressure in mm Hg (50-250). Table 3: <125 → 3; 125–145 → 1; ≥145 → 0. Lower SBP scores more. The overlapping bound at 145 uses the ≥145 row (0 points)."
      },
      "troponin_x_uln": {
       "type": "number",
       "description": "Initial troponin as a multiple of the local upper limit of normal (0-1000). Table 3: <12 → 0; ≥12 → 2. magent does not assay labs; the caller assigns the ratio."
      },
      "creatinine_mg_dl": {
       "type": "number",
       "description": "Serum creatinine in mg/dL (0.1-20), or creatinine_umol_l (9-1768) converted as mg/dL = µmol/L / 88.42. Table 3: <1.1 → 0; ≥1.1 → 1. magent does not assay labs."
      },
      "chronic_lung_disease": {
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/action-icu-score-calculator-fanaroff-2018-fd158782/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)
