{
  "x402Version": 2,
  "id": 39041,
  "slug": "39041",
  "resource": "https://api.magentlab.com/api/calc/mdrd",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "age": 65,
                "black": false,
                "creatinine_mg_dl": 1.1,
                "creatinine_umol_l": 97.262,
                "sex": "female"
              },
              {
                "age": 65,
                "black": false,
                "creatinine_mg_dl": 1.1,
                "creatinine_umol_l": 97.262,
                "sex": "female"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 65,
                "black": false,
                "citation": {
                  "authors": "Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F",
                  "doi": "10.7326/0003-4819-145-4-200608150-00004",
                  "id": "levey-2006-mdrd",
                  "pmid": "16908729",
                  "source": "Ann Intern Med. 2006;145(4):247-254",
                  "title": "Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"
                },
                "creatinine_mg_dl": 1.1,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "egfr_ml_min_1_73m2": 49.8,
                "formula": "mdrd_idms_4var",
                "formula_expression": "egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL",
                "sex": "female",
                "units": "mL/min/1.73m2"
              },
              {
                "age_years": 65,
                "black": false,
                "citation": {
                  "authors": "Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F",
                  "doi": "10.7326/0003-4819-145-4-200608150-00004",
                  "id": "levey-2006-mdrd",
                  "pmid": "16908729",
                  "source": "Ann Intern Med. 2006;145(4):247-254",
                  "title": "Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"
                },
                "creatinine_mg_dl": 1.1,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "egfr_ml_min_1_73m2": 49.8,
                "formula": "mdrd_idms_4var",
                "formula_expression": "egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL",
                "sex": "female",
                "units": "mL/min/1.73m2"
              }
            ],
            "path": "/api/calc/mdrd"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (18-120). MDRD is for adults.",
                          "type": "integer"
                        },
                        "black": {
                          "description": "Caller-assigned Black as used in Levey 2006; magent does not assign race. true applies 1.212.",
                          "type": "boolean"
                        },
                        "creatinine_mg_dl": {
                          "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.",
                          "type": "number"
                        },
                        "creatinine_umol_l": {
                          "description": "Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42. IDMS-traceable standardized creatinine as in Levey 2006.",
                          "type": "number"
                        },
                        "sex": {
                          "description": "Sex used by the published equation. female applies 0.742; male does not.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "black"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "mdrd",
    "egfr",
    "kidney",
    "idms",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T08:21:24.567Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T08:21:24.447Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 65,
                  "black": false,
                  "creatinine_mg_dl": 1.1,
                  "creatinine_umol_l": 97.262,
                  "sex": "female"
                },
                {
                  "age": 65,
                  "black": false,
                  "creatinine_mg_dl": 1.1,
                  "creatinine_umol_l": 97.262,
                  "sex": "female"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 65,
                  "black": false,
                  "citation": {
                    "authors": "Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F",
                    "doi": "10.7326/0003-4819-145-4-200608150-00004",
                    "id": "levey-2006-mdrd",
                    "pmid": "16908729",
                    "source": "Ann Intern Med. 2006;145(4):247-254",
                    "title": "Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"
                  },
                  "creatinine_mg_dl": 1.1,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "egfr_ml_min_1_73m2": 49.8,
                  "formula": "mdrd_idms_4var",
                  "formula_expression": "egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL",
                  "sex": "female",
                  "units": "mL/min/1.73m2"
                },
                {
                  "age_years": 65,
                  "black": false,
                  "citation": {
                    "authors": "Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F",
                    "doi": "10.7326/0003-4819-145-4-200608150-00004",
                    "id": "levey-2006-mdrd",
                    "pmid": "16908729",
                    "source": "Ann Intern Med. 2006;145(4):247-254",
                    "title": "Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"
                  },
                  "creatinine_mg_dl": 1.1,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "egfr_ml_min_1_73m2": 49.8,
                  "formula": "mdrd_idms_4var",
                  "formula_expression": "egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL",
                  "sex": "female",
                  "units": "mL/min/1.73m2"
                }
              ],
              "path": "/api/calc/mdrd"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (18-120). MDRD is for adults.",
                            "type": "integer"
                          },
                          "black": {
                            "description": "Caller-assigned Black as used in Levey 2006; magent does not assign race. true applies 1.212.",
                            "type": "boolean"
                          },
                          "creatinine_mg_dl": {
                            "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.",
                            "type": "number"
                          },
                          "creatinine_umol_l": {
                            "description": "Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42. IDMS-traceable standardized creatinine as in Levey 2006.",
                            "type": "number"
                          },
                          "sex": {
                            "description": "Sex used by the published equation. female applies 0.742; male does not.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "black"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}