# MDRD eGFR Calculator (Levey 2006, IDMS-standardized)

> MDRD eGFR Calculator (Levey 2006, IDMS-standardized) 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-15).

Computes the 4-variable MDRD estimated GFR using the Levey 2006 IDMS-standardized creatinine formula for adult patients.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mdrd
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mdrd-egfr-calculator-levey-2006-idms-standardized-398fdaf7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PxolBs_gJiSEHZ45efcTe

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 mdrd-egfr-calculator-levey-2006-idms-standardized-398fdaf7
```

Example prompt: Calculate the MDRD eGFR for a 58-year-old male patient with a serum creatinine of 1.8 mg/dL; caller has not assigned Black race.

## When to prefer this

Use this endpoint when you specifically need the Levey 2006 4-variable MDRD eGFR with IDMS-standardized creatinine for adult patients, particularly in legacy clinical workflows or research contexts that call for MDRD rather than CKD-EPI 2021. Prefer this over CKD-EPI when institutional protocols or historical comparisons require the MDRD formula explicitly.

## Known failure modes

- Age out of range (not 18–120) returns validation error
- Creatinine out of range (not 0.1–20 mg/dL equivalent) returns validation error
- Neither creatinine_mg_dl nor creatinine_umol_l provided returns missing parameter error
- Invalid sex enum value returns bad request
- Payment not satisfied returns 402 Payment Required

## How this service works

IDMS 4-variable MDRD eGFR (Levey 2006) from standardized creatinine, adult age, sex, and caller-assigned Black. magent does not assign race. Deterministic published formula with citation; not CKD-EPI 2021 and not a dosing recommendation.

## Output

Returns the MDRD eGFR value in mL/min/1.73m² calculated from the Levey 2006 4-variable IDMS-standardized formula, applying a 0.742 factor for female sex and 1.212 factor for caller-assigned Black race, along with the published citation. Does not produce a CKD-EPI 2021 result and is not a dosing recommendation.

## 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",
      "sex",
      "black"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). MDRD is for adults."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "Sex used by the published equation. female applies 0.742; male does not."
      },
      "black": {
       "type": "boolean",
       "description": "Caller-assigned Black as used in Levey 2006; magent does not assign race. true applies 1.212."
      },
      "creatinine_mg_dl": {
       "type": "number",
       "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l."
      },
      "creatinine_umol_l": {
       "type": "number",
       "description": "Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42. IDMS-traceable standardized creatinine as in Levey 2006."
      }
     }
    }
   },
   "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/mdrd-egfr-calculator-levey-2006-idms-standardized-398fdaf7/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)
