# OPTN PELD-Cr Calculator (Table 9-1)

> OPTN PELD-Cr Calculator (Table 9-1) 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).

Calculates the OPTN Policy 9 Table 9-1 PELD-Cr score for pediatric liver transplant candidates under age 12 using age, albumin, bilirubin, INR, creatinine/dialysis status, and CDC growth Z-score.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/peld_cr
- 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/optn-peld-cr-calculator-table-9-1-793d2c8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R_OVC5qnuYKR1WNyTt-JB

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 optn-peld-cr-calculator-table-9-1-793d2c8a
```

Example prompt: Calculate the OPTN PELD-Cr score for a 3.5-year-old with albumin 2.1 g/dL, total bilirubin 8.5 mg/dL, INR 1.8, creatinine 0.6 mg/dL, not on dialysis, and a minimum CDC growth Z-score of -2.5.

## When to prefer this

Use this endpoint when you need a standards-compliant PELD-Cr score per OPTN Policy 9 Table 9-1 for a pediatric candidate under age 12, especially when you already have the CDC LMS Z-score pre-calculated and need precise policy-conformant flooring and knot logic applied automatically. Prefer it over manual computation to ensure exact policy compliance including creatinine capping, albumin/bilirubin/INR floors, and age-band clamping.

## Known failure modes

- Missing required parameters (age_years, inr, dialysis_or_cvvhd, min_cdc_z) returns validation error
- Age outside 0–12 range is out of scope for PELD-Cr
- Providing both albumin_g_dl and albumin_g_l simultaneously causes an error
- Providing both bilirubin units or both creatinine units simultaneously causes an error
- Payment failure or missing x402 payment header returns 402 status
- min_cdc_z not pre-computed by caller — magent does not derive Z from raw height/weight measurements

## How this service works

OPTN Policy 9 Table 9-1 PELD-Cr from age, albumin, bilirubin, INR, creatinine or dialysis/CVVHD, and caller-assigned minimum CDC height or weight Z-score. PELD = (sum of Table 9-1 terms + 1.5287) × 10 + 2.82; nearest integer; minimum 6. Albumin, bilirubin, and INR floor at 1.0; creatinine 1.3 mg/dL if >1.3 or dialysis/CVVHD. Not a transplant listing order. magent does not compute CDC LMS Z from height or weight.

## Output

Returns the PELD-Cr integer score computed per OPTN Policy 9 Table 9-1, applying policy floors (albumin, bilirubin, INR floored at 1.0; creatinine capped at 1.3 mg/dL if elevated or on dialysis/CVVHD), with a minimum reported score of 6. Does not return a transplant listing order.

## 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_years",
      "inr",
      "dialysis_or_cvvhd",
      "min_cdc_z"
     ],
     "properties": {
      "inr": {
       "type": "number",
       "description": "INR (0.8-20). Policy floors at 1.0; Table 9-1 knots at 2 and 10."
      },
      "age_years": {
       "type": "number",
       "description": "Age in fractional calendar years (0 to under 12). Table 9-1 uses 1.0 below age 1 and 5.5 above 5.5 years. PELD-Cr is for candidates under 12."
      },
      "min_cdc_z": {
       "type": "number",
       "description": "Caller-assigned minimum of CDC 2000 height or weight Z-score (LMS). magent does not compute Z from height or weight. Table 9-1 clamps -5.0 to -2.1."
      },
      "albumin_g_l": {
       "type": "number",
       "description": "Serum albumin in g/L (1-60). Converted as g/dL = g/L / 10."
      },
      "albumin_g_dl": {
       "type": "number",
       "description": "Serum albumin in g/dL (0.1-6). Provide this or albumin_g_l, not both. Policy floors at 1.0; Table 9-1 uses ln(1.9) above 1.9."
      },
      "bilirubin_mg_dl": {
       "type": "number",
       "description": "Total bilirubin in mg/dL (0.1-80). Provide this or bilirubin_umol_l, not both. Policy floors at 1.0; Table 9-1 knots at 4 and 40."
      },
      "bilirubin_umol_l": {
       "type": "number",
       "description": "Total bilirubin in µmol/L (2-1368). Converted as mg/dL = µmol/L / 17.1."
      },
      "creatinine_mg_dl": {
       "type": "number",
       "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Table 9-1 floors at 0.2 and assigns 1.3 if >1.3 or dialysis_or_cvvhd is true."
      },
      "creatinine_umol_l": {
       "type": "number",
       "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42."
      },
      "dialysis_or_cvvhd": {
       "type": "boolean",
       "description": "True when the candidate had t
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/optn-peld-cr-calculator-table-9-1-793d2c8a/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)
