# MALT-IPI Calculator (Thieblemont 2017)

> MALT-IPI Calculator (Thieblemont 2017) 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 MALT-IPI prognostic score for MALT lymphoma using three caller-provided factors: age ≥70, Ann Arbor stage III/IV, and LDH above upper limit of normal.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/malt_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/malt-ipi-calculator-thieblemont-2017-36d3b200
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1z1OG4HUUMKmrvvB9jvNc

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 malt-ipi-calculator-thieblemont-2017-36d3b200
```

Example prompt: Calculate the MALT-IPI score for a 73-year-old patient with Ann Arbor stage IV disease and LDH above the upper limit of normal — what risk group do they fall into?

## When to prefer this

Use this endpoint when you need the original Thieblemont 2017 MALT-IPI (IELSG-19) with the age ≥70 cutoff and three-factor scoring. Do not use if you need the Revised MALT-IPI (which uses MMS and an age >60 cutoff) or the Shipp 1993 IPI for aggressive NHL. This endpoint is purely deterministic and does not perform LDH assaying or lymphoma staging.

## Known failure modes

- Missing required query parameters (age, stage_iii_or_iv, ldh_gt_uln) returns a validation error
- Age outside the 18–120 range may return an error or be rejected
- Payment failure via x402 protocol returns a 402 response
- Non-integer age values cause schema validation failure

## How this service works

Thieblemont 2017 MALT-IPI (IELSG-19): age ≥70, Ann Arbor III or IV, LDH > ULN; 1 point each, max 3. Low 0, intermediate 1, high ≥2. Deterministic published score with citation; not a lymphoma diagnosis or treatment choice; original MALT-IPI, not Revised MALT-IPI (no MMS; age is ≥70 not >60), not Shipp IPI. magent does not stage lymphoma or assay LDH.

## Output

Returns the MALT-IPI total score (0–3) and the corresponding risk group: 0 = low risk, 1 = intermediate risk, ≥2 = high risk, as defined by Thieblemont 2017 (IELSG-19).

## 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",
      "stage_iii_or_iv",
      "ldh_gt_uln"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Age ≥70 scores 1 (Thieblemont 2017). Age 69 scores 0. This is not IPI's >60 cutoff."
      },
      "ldh_gt_uln": {
       "type": "boolean",
       "description": "Serum LDH above the upper limit of normal as assigned by the caller (Thieblemont 2017). true scores 1. magent does not assay LDH."
      },
      "stage_iii_or_iv": {
       "type": "boolean",
       "description": "Ann Arbor stage III or IV as assigned by the caller (Thieblemont 2017). true scores 1. magent does not stage lymphoma."
      }
     }
    }
   },
   "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/malt-ipi-calculator-thieblemont-2017-36d3b200/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)
