{
  "x402Version": 2,
  "id": 39067,
  "slug": "39067",
  "resource": "https://api.magentlab.com/api/calc/kegfr",
  "description": "Chen 2013 kinetic eGFR (KeGFR) from two plasma creatinines, hours between them, caller-assigned steady-state creatinine and corresponding eGFR/CrCl, and required max_delta_pcr_mg_dl_day (Chen usual default 1.5). KeGFR = (SSPCr * CrCl / MeanPCr) * (1 - 24*dPCr / (dTime_hours * MaxdPCr/Day)), clamped at 0 when that (1 - ratio) term is negative. Creatinine mg/dL only. Not a CKD-EPI result. Not a dialysis prescription. magent does not compute MDRD or CKD-EPI.",
  "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": [
              {
                "creatinine_1_mg_dl": 1,
                "creatinine_2_mg_dl": 1,
                "delta_hours": 24,
                "max_delta_pcr_mg_dl_day": 1.5,
                "steady_state_creatinine_mg_dl": 1,
                "steady_state_egfr": 90
              },
              {
                "creatinine_1_mg_dl": 1,
                "creatinine_2_mg_dl": 1,
                "delta_hours": 24,
                "max_delta_pcr_mg_dl_day": 1.5,
                "steady_state_creatinine_mg_dl": 1,
                "steady_state_egfr": 90
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Chen S",
                  "doi": "10.1681/ASN.2012070653",
                  "id": "chen-2013",
                  "pmid": "23704286",
                  "source": "J Am Soc Nephrol. 2013;24(6):877-888",
                  "title": "Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"
                },
                "creatinine_1_mg_dl": 1,
                "creatinine_2_mg_dl": 1,
                "delta_hours": 24,
                "delta_pcr_mg_dl": 0,
                "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.",
                "formula": "kegfr",
                "formula_expression": "kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)",
                "kegfr_ml_min": 90,
                "max_delta_pcr_mg_dl_day": 1.5,
                "mean_pcr_mg_dl": 1,
                "steady_state_creatinine_mg_dl": 1,
                "steady_state_egfr": 90,
                "units": "mL/min"
              },
              {
                "citation": {
                  "authors": "Chen S",
                  "doi": "10.1681/ASN.2012070653",
                  "id": "chen-2013",
                  "pmid": "23704286",
                  "source": "J Am Soc Nephrol. 2013;24(6):877-888",
                  "title": "Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"
                },
                "creatinine_1_mg_dl": 1,
                "creatinine_2_mg_dl": 1,
                "delta_hours": 24,
                "delta_pcr_mg_dl": 0,
                "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.",
                "formula": "kegfr",
                "formula_expression": "kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)",
                "kegfr_ml_min": 90,
                "max_delta_pcr_mg_dl_day": 1.5,
                "mean_pcr_mg_dl": 1,
                "steady_state_creatinine_mg_dl": 1,
                "steady_state_egfr": 90,
                "units": "mL/min"
              }
            ],
            "path": "/api/calc/kegfr"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "creatinine_1_mg_dl": {
                          "description": "First plasma creatinine in mg/dL (0.1-20). mg/dL only.",
                          "type": "number"
                        },
                        "creatinine_2_mg_dl": {
                          "description": "Second plasma creatinine in mg/dL (0.1-20). mg/dL only.",
                          "type": "number"
                        },
                        "delta_hours": {
                          "description": "Hours between creatinine_1 and creatinine_2 (1-72). Chen: endpoints <48-72 h apart.",
                          "type": "number"
                        },
                        "max_delta_pcr_mg_dl_day": {
                          "description": "Maximum creatinine rise per day in mg/dL (0.5-3). Chen usual default 1.5. Required; magent does not omit it.",
                          "type": "number"
                        },
                        "steady_state_creatinine_mg_dl": {
                          "description": "Steady-state plasma creatinine in mg/dL (0.1-20) corresponding to steady_state_egfr. mg/dL only.",
                          "type": "number"
                        },
                        "steady_state_egfr": {
                          "description": "Caller-assigned eGFR/CrCl in mL/min corresponding to steady_state_creatinine_mg_dl (5-200). magent does not compute MDRD or CKD-EPI.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "creatinine_1_mg_dl",
                        "creatinine_2_mg_dl",
                        "delta_hours",
                        "steady_state_creatinine_mg_dl",
                        "steady_state_egfr",
                        "max_delta_pcr_mg_dl_day"
                      ],
                      "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": [
    "kegfr",
    "kidney",
    "creatinine",
    "gfr",
    "aki",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T07:21:18.389Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T07:21:18.273Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "creatinine_1_mg_dl": 1,
                  "creatinine_2_mg_dl": 1,
                  "delta_hours": 24,
                  "max_delta_pcr_mg_dl_day": 1.5,
                  "steady_state_creatinine_mg_dl": 1,
                  "steady_state_egfr": 90
                },
                {
                  "creatinine_1_mg_dl": 1,
                  "creatinine_2_mg_dl": 1,
                  "delta_hours": 24,
                  "max_delta_pcr_mg_dl_day": 1.5,
                  "steady_state_creatinine_mg_dl": 1,
                  "steady_state_egfr": 90
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Chen S",
                    "doi": "10.1681/ASN.2012070653",
                    "id": "chen-2013",
                    "pmid": "23704286",
                    "source": "J Am Soc Nephrol. 2013;24(6):877-888",
                    "title": "Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"
                  },
                  "creatinine_1_mg_dl": 1,
                  "creatinine_2_mg_dl": 1,
                  "delta_hours": 24,
                  "delta_pcr_mg_dl": 0,
                  "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.",
                  "formula": "kegfr",
                  "formula_expression": "kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)",
                  "kegfr_ml_min": 90,
                  "max_delta_pcr_mg_dl_day": 1.5,
                  "mean_pcr_mg_dl": 1,
                  "steady_state_creatinine_mg_dl": 1,
                  "steady_state_egfr": 90,
                  "units": "mL/min"
                },
                {
                  "citation": {
                    "authors": "Chen S",
                    "doi": "10.1681/ASN.2012070653",
                    "id": "chen-2013",
                    "pmid": "23704286",
                    "source": "J Am Soc Nephrol. 2013;24(6):877-888",
                    "title": "Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"
                  },
                  "creatinine_1_mg_dl": 1,
                  "creatinine_2_mg_dl": 1,
                  "delta_hours": 24,
                  "delta_pcr_mg_dl": 0,
                  "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.",
                  "formula": "kegfr",
                  "formula_expression": "kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)",
                  "kegfr_ml_min": 90,
                  "max_delta_pcr_mg_dl_day": 1.5,
                  "mean_pcr_mg_dl": 1,
                  "steady_state_creatinine_mg_dl": 1,
                  "steady_state_egfr": 90,
                  "units": "mL/min"
                }
              ],
              "path": "/api/calc/kegfr"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "creatinine_1_mg_dl": {
                            "description": "First plasma creatinine in mg/dL (0.1-20). mg/dL only.",
                            "type": "number"
                          },
                          "creatinine_2_mg_dl": {
                            "description": "Second plasma creatinine in mg/dL (0.1-20). mg/dL only.",
                            "type": "number"
                          },
                          "delta_hours": {
                            "description": "Hours between creatinine_1 and creatinine_2 (1-72). Chen: endpoints <48-72 h apart.",
                            "type": "number"
                          },
                          "max_delta_pcr_mg_dl_day": {
                            "description": "Maximum creatinine rise per day in mg/dL (0.5-3). Chen usual default 1.5. Required; magent does not omit it.",
                            "type": "number"
                          },
                          "steady_state_creatinine_mg_dl": {
                            "description": "Steady-state plasma creatinine in mg/dL (0.1-20) corresponding to steady_state_egfr. mg/dL only.",
                            "type": "number"
                          },
                          "steady_state_egfr": {
                            "description": "Caller-assigned eGFR/CrCl in mL/min corresponding to steady_state_creatinine_mg_dl (5-200). magent does not compute MDRD or CKD-EPI.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "creatinine_1_mg_dl",
                          "creatinine_2_mg_dl",
                          "delta_hours",
                          "steady_state_creatinine_mg_dl",
                          "steady_state_egfr",
                          "max_delta_pcr_mg_dl_day"
                        ],
                        "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"
  }
}