# Mazzaferro 2018 Metroticket 2.0 HCC Transplant Criteria Calculator

> Mazzaferro 2018 Metroticket 2.0 HCC Transplant Criteria 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-14).

Evaluates whether a hepatocellular carcinoma (HCC) patient meets the AFP-adjusted Metroticket 2.0 criteria for 70% 5-year HCC-specific survival, based on AFP level, tumor count, and largest tumor diameter.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/metroticket_2
- 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/mazzaferro-2018-metroticket-2-0-hcc-transplant-criteria-calculator-bfb18f62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n6eWilizWEA7JhNeXDgkf

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 mazzaferro-2018-metroticket-2-0-hcc-transplant-criteria-calculator-bfb18f62
```

Example prompt: Using the Mazzaferro 2018 Metroticket 2.0 criteria, does a patient with an AFP of 350 ng/mL, 2 HCC nodules, and a largest tumor diameter of 2.5 cm meet the 70% 5-year HCC-specific survival threshold?

## When to prefer this

Use this endpoint when you need to programmatically apply the Mazzaferro 2018 Metroticket 2.0 AFP-adjusted criteria specifically — not Milan criteria, not UCSF criteria, and not Metroticket 1.0. It is appropriate when caller-assigned AFP, tumor count, and largest tumor diameter are already known and the question is whether the patient satisfies the 70% 5-year HCC-specific survival threshold under the AFP-stratified sum rule.

## Known failure modes

- AFP value outside supported range (1–100000 ng/mL) returns validation error
- tumor_count outside 1–20 integer range returns validation error
- largest_cm outside 0.1–30 cm range returns validation error
- Missing required query parameters returns 400-class error
- Ambiguous or non-numeric inputs rejected — endpoint does not interpret imaging or assay AFP

## How this service works

Mazzaferro 2018 Metroticket 2.0 AFP-adjusted-to-HCC-size 70% 5-year HCC-specific survival criteria. meets_70pct_hcc_specific_survival is true iff AFP <200 ng/mL and tumor_count + largest_cm <=7, or 200<=AFP<400 and sum <=5, or 400<=AFP<=1000 and sum <=4. AFP >1000 never meets. Not Milan, UCSF, Metroticket 1.0 contours, or competing-risk survival percents. magent does not interpret imaging or assay AFP. Not a medical device or transplant listing.

## Output

Returns a boolean meets_70pct_hcc_specific_survival indicating whether the patient satisfies the Mazzaferro 2018 AFP-adjusted Metroticket 2.0 threshold for 70% 5-year HCC-specific survival, based on the AFP band applied to the sum of tumor count plus largest tumor diameter. Also returns the computed size_number_sum and the AFP band used.

## 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": [
      "tumor_count",
      "largest_cm",
      "afp_ng_ml"
     ],
     "properties": {
      "afp_ng_ml": {
       "type": "number",
       "description": "Serum AFP in ng/mL (1-100000) as assigned by the caller. Mazzaferro 2018 bands: <200 (sum <=7), 200 to <400 (sum <=5), 400 to 1000 (sum <=4); >1000 never meets. magent does not assay AFP."
      },
      "largest_cm": {
       "type": "number",
       "description": "Largest tumor diameter in centimetres (0.1-30) as assigned by the caller. Added to tumor_count as size_number_sum. magent does not interpret imaging."
      },
      "tumor_count": {
       "type": "integer",
       "description": "Number of HCC nodules (integer 1-20) as assigned by the caller. Added to largest_cm as size_number_sum (up-to-7 convention). magent does not interpret imaging."
      }
     }
    }
   },
   "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/mazzaferro-2018-metroticket-2-0-hcc-transplant-criteria-calculator-bfb18f62/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)
