{
  "x402Version": 2,
  "id": 39000,
  "slug": "39000",
  "resource": "https://api.magentlab.com/api/calc/nrpe",
  "description": "Rao 2021 natriuretic response prediction equation from caller-assigned eGFR and BSA, serum and urine creatinine, and urine sodium on a spot sample ~2 h after IV loop diuretic. Na_output_mmol = eGFR*(BSA/1.73)*(SerumCr/UrineCr)*60*3.25*(UrineNa/1000). Poor <50 mmol; suboptimal <100 mmol (includes poor); excellent >150 mmol. magent does not compute eGFR or BSA and does not order a diuretic.",
  "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": [
              {
                "bsa_m2": 1.73,
                "creatinine_mg_dl": 1,
                "creatinine_umol_l": 88.42,
                "egfr_ml_min_1_73m2": 80,
                "urine_creatinine_mg_dl": 25,
                "urine_creatinine_umol_l": 2210.5,
                "urine_sodium_mmol_l": 90
              },
              {
                "bsa_m2": 1.73,
                "creatinine_mg_dl": 1,
                "creatinine_umol_l": 88.42,
                "egfr_ml_min_1_73m2": 80,
                "urine_creatinine_mg_dl": 25,
                "urine_creatinine_umol_l": 2210.5,
                "urine_sodium_mmol_l": 90
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "bsa_m2": 1.73,
                "citation": {
                  "authors": "Rao VS, Ivey-Miranda JB, Cox ZL, et al.",
                  "doi": "10.1016/j.jacc.2020.12.022",
                  "id": "rao-2021",
                  "pmid": "33573739",
                  "source": "J Am Coll Cardiol. 2021;77(6):695-708",
                  "title": "Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"
                },
                "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.",
                "egfr_ml_min_1_73m2": 80,
                "excellent_response": false,
                "formula": "nrpe",
                "formula_expression": "na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25",
                "na_output_mmol": 56.2,
                "poor_response": false,
                "suboptimal_response": true,
                "urine_creatinine_mg_dl": 25,
                "urine_output_ml": 624,
                "urine_sodium_mmol_l": 90
              },
              {
                "bsa_m2": 1.73,
                "citation": {
                  "authors": "Rao VS, Ivey-Miranda JB, Cox ZL, et al.",
                  "doi": "10.1016/j.jacc.2020.12.022",
                  "id": "rao-2021",
                  "pmid": "33573739",
                  "source": "J Am Coll Cardiol. 2021;77(6):695-708",
                  "title": "Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"
                },
                "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.",
                "egfr_ml_min_1_73m2": 80,
                "excellent_response": false,
                "formula": "nrpe",
                "formula_expression": "na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25",
                "na_output_mmol": 56.2,
                "poor_response": false,
                "suboptimal_response": true,
                "urine_creatinine_mg_dl": 25,
                "urine_output_ml": 624,
                "urine_sodium_mmol_l": 90
              }
            ],
            "path": "/api/calc/nrpe"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "bsa_m2": {
                          "description": "Caller-assigned body surface area in m² (0.4-3.5). Paper used Du Bois. magent does not compute BSA.",
                          "type": "number"
                        },
                        "creatinine_mg_dl": {
                          "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.",
                          "type": "number"
                        },
                        "creatinine_umol_l": {
                          "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.",
                          "type": "number"
                        },
                        "egfr_ml_min_1_73m2": {
                          "description": "Caller-assigned eGFR in mL/min/1.73m² (5-200). magent does not compute CKD-EPI (including race-based 2009 CKD-EPI).",
                          "type": "number"
                        },
                        "urine_creatinine_mg_dl": {
                          "description": "Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l, not both.",
                          "type": "number"
                        },
                        "urine_creatinine_umol_l": {
                          "description": "Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42. Provide this or urine_creatinine_mg_dl, not both.",
                          "type": "number"
                        },
                        "urine_sodium_mmol_l": {
                          "description": "Spot urine sodium in mmol/L (1-300), ~2 h after IV loop diuretic.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "egfr_ml_min_1_73m2",
                        "bsa_m2",
                        "urine_sodium_mmol_l"
                      ],
                      "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": [
    "nrpe",
    "kidney",
    "heart-failure",
    "diuretic",
    "natriuresis",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T09:56:25.903Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T09:56:25.773Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "bsa_m2": 1.73,
                  "creatinine_mg_dl": 1,
                  "creatinine_umol_l": 88.42,
                  "egfr_ml_min_1_73m2": 80,
                  "urine_creatinine_mg_dl": 25,
                  "urine_creatinine_umol_l": 2210.5,
                  "urine_sodium_mmol_l": 90
                },
                {
                  "bsa_m2": 1.73,
                  "creatinine_mg_dl": 1,
                  "creatinine_umol_l": 88.42,
                  "egfr_ml_min_1_73m2": 80,
                  "urine_creatinine_mg_dl": 25,
                  "urine_creatinine_umol_l": 2210.5,
                  "urine_sodium_mmol_l": 90
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "bsa_m2": 1.73,
                  "citation": {
                    "authors": "Rao VS, Ivey-Miranda JB, Cox ZL, et al.",
                    "doi": "10.1016/j.jacc.2020.12.022",
                    "id": "rao-2021",
                    "pmid": "33573739",
                    "source": "J Am Coll Cardiol. 2021;77(6):695-708",
                    "title": "Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"
                  },
                  "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.",
                  "egfr_ml_min_1_73m2": 80,
                  "excellent_response": false,
                  "formula": "nrpe",
                  "formula_expression": "na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25",
                  "na_output_mmol": 56.2,
                  "poor_response": false,
                  "suboptimal_response": true,
                  "urine_creatinine_mg_dl": 25,
                  "urine_output_ml": 624,
                  "urine_sodium_mmol_l": 90
                },
                {
                  "bsa_m2": 1.73,
                  "citation": {
                    "authors": "Rao VS, Ivey-Miranda JB, Cox ZL, et al.",
                    "doi": "10.1016/j.jacc.2020.12.022",
                    "id": "rao-2021",
                    "pmid": "33573739",
                    "source": "J Am Coll Cardiol. 2021;77(6):695-708",
                    "title": "Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"
                  },
                  "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.",
                  "egfr_ml_min_1_73m2": 80,
                  "excellent_response": false,
                  "formula": "nrpe",
                  "formula_expression": "na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25",
                  "na_output_mmol": 56.2,
                  "poor_response": false,
                  "suboptimal_response": true,
                  "urine_creatinine_mg_dl": 25,
                  "urine_output_ml": 624,
                  "urine_sodium_mmol_l": 90
                }
              ],
              "path": "/api/calc/nrpe"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "bsa_m2": {
                            "description": "Caller-assigned body surface area in m² (0.4-3.5). Paper used Du Bois. magent does not compute BSA.",
                            "type": "number"
                          },
                          "creatinine_mg_dl": {
                            "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.",
                            "type": "number"
                          },
                          "creatinine_umol_l": {
                            "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.",
                            "type": "number"
                          },
                          "egfr_ml_min_1_73m2": {
                            "description": "Caller-assigned eGFR in mL/min/1.73m² (5-200). magent does not compute CKD-EPI (including race-based 2009 CKD-EPI).",
                            "type": "number"
                          },
                          "urine_creatinine_mg_dl": {
                            "description": "Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l, not both.",
                            "type": "number"
                          },
                          "urine_creatinine_umol_l": {
                            "description": "Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42. Provide this or urine_creatinine_mg_dl, not both.",
                            "type": "number"
                          },
                          "urine_sodium_mmol_l": {
                            "description": "Spot urine sodium in mmol/L (1-300), ~2 h after IV loop diuretic.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "egfr_ml_min_1_73m2",
                          "bsa_m2",
                          "urine_sodium_mmol_l"
                        ],
                        "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"
  }
}