# Rai 1975 CLL Staging Calculator

> Rai 1975 CLL Staging 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 original Rai 1975 CLL stage (0–IV) from four caller-supplied Boolean clinical findings: lymphadenopathy, hepatosplenomegaly, anemia, and thrombocytopenia.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rai
- 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/rai-1975-cll-staging-calculator-d08f6219
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vDH2lMbqNCObd1_P3mxL4

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 rai-1975-cll-staging-calculator-d08f6219
```

Example prompt: What is the original Rai 1975 CLL stage for a patient who has lymphadenopathy and hepatosplenomegaly, hemoglobin of 10.2 g/dL (so anemia is true), but platelets of 150,000/mm3 (no thrombocytopenia)?

## When to prefer this

Use this endpoint when you need the original 1975 Rai staging system specifically (stages 0–IV), not the modified Rai (low/intermediate/high risk) and not the Binet system (which uses Hb <10 g/dL cutoff). Ideal when clinical findings are already determined by the clinician and you only need the algorithmic staging logic applied.

## Known failure modes

- Missing any of the four required Boolean query parameters returns a validation error
- Non-boolean values for parameters cause schema rejection
- Payment failure (x402) if USDC balance insufficient
- Network timeout on api.magentlab.com

## How this service works

Rai 1975 original CLL staging (stages 0-IV). Returns rai_stage 0-4 from caller-assigned lymphadenopathy, hepatosplenomegaly (spleen or liver or both), anemia (Hb <11 g/dL), and thrombocytopenia (platelets <100,000/mm3). Highest applicable: thrombocytopenia 4, else anemia 3, else organomegaly 2, else nodes 1, else 0 (lymphocytosis only). Not a CLL diagnosis; magent does not examine the patient or read a CBC. Not modified Rai. Not Binet (Binet C is Hb <10).

## Output

Returns a single integer rai_stage from 0 to 4. Stage 4 if thrombocytopenia (platelets <100,000/mm3) is true; else stage 3 if anemia (Hb <11 g/dL) is true; else stage 2 if hepatosplenomegaly is true; else stage 1 if lymphadenopathy is true; else stage 0 (lymphocytosis only). The endpoint applies the original Rai 1975 hierarchy strictly, highest applicable finding wins.

## 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": [
      "lymphadenopathy",
      "hepatosplenomegaly",
      "anemia_hb_lt_11",
      "thrombocytopenia_plt_lt_100"
     ],
     "properties": {
      "anemia_hb_lt_11": {
       "type": "boolean",
       "description": "Anemia as assigned by the caller using the Rai 1975 cutoff hemoglobin <11 g/dL (hematocrit <33% is the same clinical call). true or false. magent does not read a CBC."
      },
      "lymphadenopathy": {
       "type": "boolean",
       "description": "Lymphadenopathy as assigned by the caller (Rai 1975 stage I when this is the highest finding). true or false. magent does not examine the patient."
      },
      "hepatosplenomegaly": {
       "type": "boolean",
       "description": "Enlarged spleen or liver or both as assigned by the caller (Rai 1975 stage II). true or false. magent does not examine the patient."
      },
      "thrombocytopenia_plt_lt_100": {
       "type": "boolean",
       "description": "Thrombocytopenia as assigned by the caller using the Rai 1975 cutoff platelets <100,000/mm3 (<100×10^9/L). true or false. magent does not read a CBC."
      }
     }
    }
   },
   "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/rai-1975-cll-staging-calculator-d08f6219/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)
