# Mehran 2004 CIN Risk Score (eGFR Model B) — PCI Contrast Nephropathy

> Mehran 2004 CIN Risk Score (eGFR Model B) — PCI Contrast Nephropathy 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).

Calculates the Mehran 2004 contrast-induced nephropathy (CIN) risk score (model B, eGFR-based) after PCI, returning an integer score, risk group, and associated CIN incidence percentage.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mehran
- 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/mehran-2004-cin-risk-score-egfr-model-b-pci-contrast-nephropathy-6d328a73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FuMh5X2Tn1EoaSpXiLI_u

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 mehran-2004-cin-risk-score-egfr-model-b-pci-contrast-nephropathy-6d328a73
```

Example prompt: Calculate the Mehran 2004 CIN risk score (eGFR model B) for an 80-year-old patient with hypotension, no IABP, CHF present, anemia, diabetes, 250 mL of contrast used, and an eGFR of 35 mL/min — what is the risk score and risk group?

## When to prefer this

Use this endpoint when you need to compute the Mehran 2004 CIN risk score using the eGFR-based model B (not creatinine-based model A) for patients undergoing PCI, and the caller has already computed eGFR independently. Prefer this over manual calculation when integrating risk scoring into clinical decision support pipelines or automated cardiology workflows. Do not use if you need to compute eGFR from creatinine (that step must be done by the caller), diagnose CKD, or assess nephropathy risk outside the PCI context.

## Known failure modes

- Missing required parameters (age, hypotension, iabp, chf, anemia, diabetes, contrast_ml, egfr_ml_min) returns a validation error
- Age outside 18–120 range is rejected
- contrast_ml outside 10–1000 range is rejected
- egfr_ml_min outside 5–150 range is rejected
- Passing serum creatinine instead of eGFR will yield incorrect scoring (model B requires eGFR, not creatinine)
- Boolean fields passed as strings may fail schema validation
- Payment failure (x402) returns 402 status if USDC payment is not provided

## How this service works

Mehran 2004 contrast-induced nephropathy risk score after PCI (eGFR model B). Points from hypotension, IABP, CHF, age >75, anemia, diabetes, contrast volume (1 per 100 mL), and caller eGFR. Returns integer score (max 41), risk group (low ≤5 through very_high ≥16), and development-set CIN percent. Not a CKD diagnosis; magent does not measure contrast or compute eGFR.

## Output

Returns an integer total risk score (0–41), a risk group label (low ≤5, moderate 6–10, high 11–15, very_high ≥16), and the corresponding CIN incidence percentage from the Mehran 2004 development dataset.

## 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",
      "hypotension",
      "iabp",
      "chf",
      "anemia",
      "diabetes",
      "contrast_ml",
      "egfr_ml_min"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Age >75 scores 4 (Mehran 2004 Table 3 model B). Age 75 scores 0."
      },
      "chf": {
       "type": "boolean",
       "description": "CHF as assigned by the caller: NYHA III/IV and/or pulmonary edema (Mehran 2004). true scores 5. true or false. magent does not examine the patient."
      },
      "iabp": {
       "type": "boolean",
       "description": "Intra-aortic balloon pump use as assigned by the caller (Mehran 2004 Table 3). true scores 5. Independent of the hypotension flag. true or false."
      },
      "anemia": {
       "type": "boolean",
       "description": "Anemia as assigned by the caller using WHO hematocrit <39% (men) or <36% (women) (Mehran 2004). true scores 3. Flag only; do not send a hematocrit number. magent does not assay hematocrit."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes mellitus as assigned by the caller (Mehran 2004 Table 3). true scores 3. true or false."
      },
      "contrast_ml": {
       "type": "integer",
       "description": "Contrast volume in mL (integer 10-1000). Scores 1 per 100 mL: floor(contrast_ml/100) (Mehran 2004). 100 scores 1; 199 scores 1; 200 scores 2. magent does not measure contrast."
      },
      "egfr_ml_min": {
       "type": "number",
       "description": "Caller-assigned eGFR in mL/min/1.73m² (5-150). Mehran 2004 Table 3 model B: ≥60 scores 0; 40 to <60 scores 2; 20 to <40 scores 4; <20 scores 6. magent does not compute eGFR and does not use race-based MDRD. Do not send serum creatinine; creatinine >1.5 is the alternate model A and would double-count."
      },
      "hypotension": {
       "type": "boolean",
       "description": "H
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mehran-2004-cin-risk-score-egfr-model-b-pci-contrast-nephropathy-6d328a73/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)
