# CLL-IPI 2016 Calculator

> CLL-IPI 2016 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-13).

Computes the CLL-IPI 2016 prognostic score for chronic lymphocytic leukaemia, categorizing risk as low, intermediate, high, or very high based on five clinical parameters.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cll_ipi
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cll-ipi-2016-calculator-436ed1a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T_tHMAx8eR_JdKCwXuAjZ

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 cll-ipi-2016-calculator-436ed1a8
```

Example prompt: Calculate the CLL-IPI 2016 score for a 68-year-old patient who has a TP53 deletion, unmutated IGHV, serum beta-2 microglobulin of 4.2 mg/L, and is Binet stage B — what is their risk category?

## When to prefer this

Use this endpoint when you need a deterministic, citation-backed CLL-IPI 2016 score computation and already have the five required clinical values (TP53 status, IGHV mutation status, beta-2 microglobulin level, clinical stage, patient age) pre-assayed. Prefer this over building your own scoring logic to ensure alignment with the published 2016 algorithm. This is not a diagnostic tool for CLL, does not perform any laboratory assays, and is not appropriate for Shipp IPI, MIPI, or other lymphoma prognostic indices.

## Known failure modes

- Missing required parameters (tp53_abnormal, ighv_unmutated, beta2_microglobulin_mg_l, advanced_stage, age) returns a validation error
- beta2_microglobulin_mg_l outside range 0.2–40 may be rejected or flagged
- age outside range 18–120 returns a validation error
- Payment failure (insufficient USDC balance or missing x402 header) blocks the request
- Caller supplying biologically inconsistent inputs (e.g. negative beta-2 microglobulin) will receive an error

## How this service works

CLL-IPI 2016 for chronic lymphocytic leukaemia: TP53 abnormality (del(17p) and/or TP53 mutation) 4, unmutated IGHV 2, beta-2 microglobulin >3.5 mg/L 2, advanced stage (Binet B/C or Rai I–IV) 1, age >65 1; max 10. Low 0–1, intermediate 2–3, high 4–6, very_high 7–10. Deterministic published score with citation; not a CLL diagnosis; not Shipp IPI; not MIPI. magent does not assay TP53, IGHV, or beta-2 microglobulin.

## Output

Returns the numeric CLL-IPI total score (0–10) and a categorical risk label — low (0–1), intermediate (2–3), high (4–6), or very_high (7–10) — based on the 2016 published algorithm and component point contributions.

## 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": [
      "tp53_abnormal",
      "ighv_unmutated",
      "beta2_microglobulin_mg_l",
      "advanced_stage",
      "age"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Age >65 scores 1 (CLL-IPI 2016). Age 65 is the ≤65 arm and scores 0."
      },
      "tp53_abnormal": {
       "type": "boolean",
       "description": "del(17p) and/or TP53 mutation as assigned by the caller (CLL-IPI 2016). true scores 4. magent does not assay TP53."
      },
      "advanced_stage": {
       "type": "boolean",
       "description": "Binet B/C or Rai I–IV as assigned by the caller (CLL-IPI 2016). true scores 1. false is Binet A / Rai 0. magent does not stage CLL."
      },
      "ighv_unmutated": {
       "type": "boolean",
       "description": "Unmutated IGHV as assigned by the caller (CLL-IPI 2016). true scores 2. magent does not sequence IGHV."
      },
      "beta2_microglobulin_mg_l": {
       "type": "number",
       "description": "Serum beta-2 microglobulin in mg/L (0.2-40). >3.5 scores 2 (CLL-IPI 2016). 3.5 is the ≤3.5 arm and scores 0. magent does not assay beta-2 microglobulin."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cll-ipi-2016-calculator-436ed1a8/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)
