{
  "x402Version": 2,
  "id": 39068,
  "slug": "39068",
  "resource": "https://api.magentlab.com/api/calc/kdigo_aki",
  "description": "KDIGO 2012 Table 2 AKI stage 0-3 from baseline and current creatinine in mg/dL and a caller-assigned urine-output category. Stage is the worse of the two limbs; RRT or a caller pediatric eGFR <35 flag is stage 3. magent does not assay creatinine, measure urine, collect weight, or compute eGFR (no MDRD). Not a medical device, not a diagnosis, not AKIN 2007, and not RIFLE.",
  "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": [
              {
                "baseline_creatinine_mg_dl": 1,
                "current_creatinine_mg_dl": 1,
                "pediatric_egfr_lt_35": false,
                "rrt": false,
                "urine_output": "none"
              },
              {
                "baseline_creatinine_mg_dl": 1,
                "current_creatinine_mg_dl": 1,
                "pediatric_egfr_lt_35": false,
                "rrt": false,
                "urine_output": "none"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "baseline_creatinine_mg_dl": 1,
                "citation": {
                  "authors": "Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group",
                  "doi": "10.1038/kisup.2012.1",
                  "id": "kdigo-aki-2012",
                  "source": "Kidney Int Suppl. 2012;2:1-138",
                  "title": "KDIGO Clinical Practice Guideline for Acute Kidney Injury"
                },
                "components": [
                  {
                    "factor": "creat_stage",
                    "met": false,
                    "value": 0
                  },
                  {
                    "factor": "uo_stage",
                    "met": false,
                    "value": 0
                  }
                ],
                "creat_stage": 0,
                "current_creatinine_mg_dl": 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.",
                "formula": "kdigo_aki",
                "formula_expression": "KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)",
                "pediatric_egfr_lt_35": false,
                "rrt": false,
                "stage": 0,
                "uo_stage": 0,
                "urine_output": "none"
              },
              {
                "baseline_creatinine_mg_dl": 1,
                "citation": {
                  "authors": "Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group",
                  "doi": "10.1038/kisup.2012.1",
                  "id": "kdigo-aki-2012",
                  "source": "Kidney Int Suppl. 2012;2:1-138",
                  "title": "KDIGO Clinical Practice Guideline for Acute Kidney Injury"
                },
                "components": [
                  {
                    "factor": "creat_stage",
                    "met": false,
                    "value": 0
                  },
                  {
                    "factor": "uo_stage",
                    "met": false,
                    "value": 0
                  }
                ],
                "creat_stage": 0,
                "current_creatinine_mg_dl": 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.",
                "formula": "kdigo_aki",
                "formula_expression": "KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)",
                "pediatric_egfr_lt_35": false,
                "rrt": false,
                "stage": 0,
                "uo_stage": 0,
                "urine_output": "none"
              }
            ],
            "path": "/api/calc/kdigo_aki"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "baseline_creatinine_mg_dl": {
                          "description": "Baseline serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.",
                          "type": "number"
                        },
                        "current_creatinine_mg_dl": {
                          "description": "Current serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.",
                          "type": "number"
                        },
                        "pediatric_egfr_lt_35": {
                          "description": "Caller-assigned KDIGO Table 2 pediatric limb: patients <18 years with a decrease in eGFR to <35 mL/min/1.73 m². true maps to stage 3 irrespective of creatinine or urine stage. magent does not compute eGFR and does not use MDRD. true or false.",
                          "type": "boolean"
                        },
                        "rrt": {
                          "description": "Renal replacement therapy initiated as assigned by the caller. true maps to KDIGO stage 3 irrespective of creatinine or urine stage (KDIGO 2012 Table 2). true or false.",
                          "type": "boolean"
                        },
                        "urine_output": {
                          "description": "Caller-assigned KDIGO urine-output category (KDIGO 2012 Table 2): none (no oliguria or anuria criterion); oliguria_6_to_12h (<0.5 mL/kg/h for 6–12 hours); oliguria_ge_12h (<0.5 mL/kg/h for ≥12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for ≥24 hours or anuria for ≥12 hours). Case-insensitive. magent does not collect weight or measure urine.",
                          "enum": [
                            "none",
                            "oliguria_6_to_12h",
                            "oliguria_ge_12h",
                            "oliguria_24h_or_anuria_12h"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "baseline_creatinine_mg_dl",
                        "current_creatinine_mg_dl",
                        "urine_output",
                        "rrt",
                        "pediatric_egfr_lt_35"
                      ],
                      "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": [
    "kdigo",
    "aki",
    "kidney",
    "creatinine",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T07:21:17.495Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T07:21:17.384Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "baseline_creatinine_mg_dl": 1,
                  "current_creatinine_mg_dl": 1,
                  "pediatric_egfr_lt_35": false,
                  "rrt": false,
                  "urine_output": "none"
                },
                {
                  "baseline_creatinine_mg_dl": 1,
                  "current_creatinine_mg_dl": 1,
                  "pediatric_egfr_lt_35": false,
                  "rrt": false,
                  "urine_output": "none"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "baseline_creatinine_mg_dl": 1,
                  "citation": {
                    "authors": "Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group",
                    "doi": "10.1038/kisup.2012.1",
                    "id": "kdigo-aki-2012",
                    "source": "Kidney Int Suppl. 2012;2:1-138",
                    "title": "KDIGO Clinical Practice Guideline for Acute Kidney Injury"
                  },
                  "components": [
                    {
                      "factor": "creat_stage",
                      "met": false,
                      "value": 0
                    },
                    {
                      "factor": "uo_stage",
                      "met": false,
                      "value": 0
                    }
                  ],
                  "creat_stage": 0,
                  "current_creatinine_mg_dl": 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.",
                  "formula": "kdigo_aki",
                  "formula_expression": "KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)",
                  "pediatric_egfr_lt_35": false,
                  "rrt": false,
                  "stage": 0,
                  "uo_stage": 0,
                  "urine_output": "none"
                },
                {
                  "baseline_creatinine_mg_dl": 1,
                  "citation": {
                    "authors": "Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group",
                    "doi": "10.1038/kisup.2012.1",
                    "id": "kdigo-aki-2012",
                    "source": "Kidney Int Suppl. 2012;2:1-138",
                    "title": "KDIGO Clinical Practice Guideline for Acute Kidney Injury"
                  },
                  "components": [
                    {
                      "factor": "creat_stage",
                      "met": false,
                      "value": 0
                    },
                    {
                      "factor": "uo_stage",
                      "met": false,
                      "value": 0
                    }
                  ],
                  "creat_stage": 0,
                  "current_creatinine_mg_dl": 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.",
                  "formula": "kdigo_aki",
                  "formula_expression": "KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)",
                  "pediatric_egfr_lt_35": false,
                  "rrt": false,
                  "stage": 0,
                  "uo_stage": 0,
                  "urine_output": "none"
                }
              ],
              "path": "/api/calc/kdigo_aki"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "baseline_creatinine_mg_dl": {
                            "description": "Baseline serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.",
                            "type": "number"
                          },
                          "current_creatinine_mg_dl": {
                            "description": "Current serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.",
                            "type": "number"
                          },
                          "pediatric_egfr_lt_35": {
                            "description": "Caller-assigned KDIGO Table 2 pediatric limb: patients <18 years with a decrease in eGFR to <35 mL/min/1.73 m². true maps to stage 3 irrespective of creatinine or urine stage. magent does not compute eGFR and does not use MDRD. true or false.",
                            "type": "boolean"
                          },
                          "rrt": {
                            "description": "Renal replacement therapy initiated as assigned by the caller. true maps to KDIGO stage 3 irrespective of creatinine or urine stage (KDIGO 2012 Table 2). true or false.",
                            "type": "boolean"
                          },
                          "urine_output": {
                            "description": "Caller-assigned KDIGO urine-output category (KDIGO 2012 Table 2): none (no oliguria or anuria criterion); oliguria_6_to_12h (<0.5 mL/kg/h for 6–12 hours); oliguria_ge_12h (<0.5 mL/kg/h for ≥12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for ≥24 hours or anuria for ≥12 hours). Case-insensitive. magent does not collect weight or measure urine.",
                            "enum": [
                              "none",
                              "oliguria_6_to_12h",
                              "oliguria_ge_12h",
                              "oliguria_24h_or_anuria_12h"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "baseline_creatinine_mg_dl",
                          "current_creatinine_mg_dl",
                          "urine_output",
                          "rrt",
                          "pediatric_egfr_lt_35"
                        ],
                        "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"
  }
}