# NCCN-IPI Calculator for DLBCL (Zhou 2014)

> NCCN-IPI Calculator for DLBCL (Zhou 2014) 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).

Computes the NCCN-IPI prognostic score for diffuse large B-cell lymphoma (DLBCL) using the Zhou 2014 refinement, returning a total score (0–8) and risk group classification.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/nccn_ipi
- 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/nccn-ipi-calculator-for-dlbcl-zhou-2014-6b8d5560
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gwkiqSPFYOKGiBHDnvK95

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 nccn-ipi-calculator-for-dlbcl-zhou-2014-6b8d5560
```

Example prompt: Calculate the NCCN-IPI score for a 68-year-old DLBCL patient with an LDH/ULN ratio of 2.4, ECOG performance status of 1, Ann Arbor stage IV disease, and major-organ extranodal involvement in the bone marrow — what risk group does that put them in?

## When to prefer this

Use this endpoint when you need a deterministic, published NCCN-IPI score (Zhou 2014 refinement) for a DLBCL patient in the rituximab era — particularly when you want the refined four-tier age scoring rather than the binary >60 cutoff in the original Shipp IPI. Prefer this over sibling endpoints (Shipp 1993 IPI, R-IPI, CNS-IPI) when the clinical question specifically concerns NCCN-IPI risk stratification as defined by Zhou 2014. This endpoint is pure computation — the caller must supply all pre-assessed clinical values (ECOG, stage, LDH/ULN, extranodal status); it does not interpret labs or imaging.

## Known failure modes

- Missing required query parameters (age, ecog, ldh_uln_ratio, stage_iii_or_iv, extranodal_major) returns a validation error
- Age outside 18–120 range or LDH/ULN outside 0.1–20 range may trigger schema validation failure
- ECOG value outside 0–4 may be rejected
- Payment failure or insufficient USDC balance returns a 402 error
- Network timeout if the API is temporarily unavailable

## How this service works

Zhou 2014 NCCN-IPI for DLBCL in the rituximab era: age (≤40 0, 41–60 1, 61–75 2, ≥76 3), LDH/ULN (≤1 0, >1–3 1, >3 2), Ann Arbor III or IV 1, major-organ extranodal (bone marrow, CNS, liver/GI tract, or lung) 1, ECOG ≥2 1; max 8. Low 0–1, low_intermediate 2–3, high_intermediate 4–5, high 6–8. Deterministic published score; not a DLBCL diagnosis or treatment choice; not Shipp IPI, not R-IPI, not CNS-IPI. magent does not assay LDH or stage lymphoma.

## Output

Returns the computed NCCN-IPI total score (integer 0–8) and the corresponding risk group classification: low (0–1), low_intermediate (2–3), high_intermediate (4–5), or high (6–8), based on the Zhou 2014 rituximab-era refinement of the International Prognostic Index for DLBCL.

## 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",
      "ecog",
      "ldh_uln_ratio",
      "stage_iii_or_iv",
      "extranodal_major"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). ≤40 scores 0; 41–60 scores 1; 61–75 scores 2; ≥76 scores 3 (Zhou 2014 NCCN-IPI refined age). Age 40 scores 0; 41 and 60 score 1; 61 and 75 score 2; 76 scores 3. Not Shipp IPI binary >60."
      },
      "ecog": {
       "type": "integer",
       "description": "ECOG performance status 0-4 as assigned by the caller (Zhou 2014 NCCN-IPI). ≥2 scores 1. magent does not assign ECOG."
      },
      "ldh_uln_ratio": {
       "type": "number",
       "description": "Serum LDH divided by the laboratory ULN (0.1-20). ≤1 scores 0; >1 and ≤3 scores 1; >3 scores 2 (Zhou 2014 NCCN-IPI). 1.0 scores 0; 1.01 and 3.0 score 1; 3.01 scores 2. magent does not assay LDH."
      },
      "stage_iii_or_iv": {
       "type": "boolean",
       "description": "Ann Arbor stage III or IV as assigned by the caller (Zhou 2014 NCCN-IPI). true scores 1. magent does not stage lymphoma."
      },
      "extranodal_major": {
       "type": "boolean",
       "description": "Extranodal involvement of major organs (bone marrow, CNS, liver/GI tract, or lung) as assigned by the caller (Zhou 2014 NCCN-IPI). true scores 1. This is not IPI extranodal sites >1. magent does not image extranodal sites."
      }
     }
    }
   },
   "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/nccn-ipi-calculator-for-dlbcl-zhou-2014-6b8d5560/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)
