{
  "x402Version": 2,
  "id": 39001,
  "slug": "39001",
  "resource": "https://api.magentlab.com/api/calc/nirudak",
  "description": "Barry 2021 NIRUDAK Table 2 integer score (max 13) for patients 5–120 years with acute diarrhea: age, sex, eye_level, radial_pulse, respirations, skin_pinch (rapid/slow/very_slow), vomiting_episodes_24h. Bands 0-3 no, 4-6 some, 7-13 severe dehydration. Not WHO IMCI/IMAI. Not DHAKA. Not PLOS logistic models. magent does not examine the patient or order fluids. Not a medical device.",
  "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": 70,
                "eye_level": "normal",
                "radial_pulse": "strong",
                "respirations": "normal",
                "sex": "female",
                "skin_pinch": "rapid",
                "vomiting_episodes_24h": "lt_1"
              },
              {
                "age": 70,
                "eye_level": "normal",
                "radial_pulse": "strong",
                "respirations": "normal",
                "sex": "female",
                "skin_pinch": "rapid",
                "vomiting_episodes_24h": "lt_1"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 70,
                "citation": {
                  "authors": "Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC",
                  "doi": "10.4269/ajtmh.21-0143",
                  "id": "barry-2021",
                  "pmid": "34398821",
                  "source": "Am J Trop Med Hyg. 2021;105(5):1368-1375",
                  "title": "Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": true,
                    "value": 70
                  },
                  {
                    "factor": "sex",
                    "points": 0,
                    "present": true,
                    "value": "female"
                  },
                  {
                    "factor": "eye_level",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "radial_pulse",
                    "points": 0,
                    "present": true,
                    "value": "strong"
                  },
                  {
                    "factor": "respirations",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "skin_pinch",
                    "points": 0,
                    "present": true,
                    "value": "rapid"
                  },
                  {
                    "factor": "vomiting_episodes_24h",
                    "points": 0,
                    "present": true,
                    "value": "lt_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.",
                "eye_level": "normal",
                "formula": "nirudak",
                "formula_expression": "NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13",
                "max_score": 13,
                "nirudak_band": "no_dehydration",
                "radial_pulse": "strong",
                "respirations": "normal",
                "score": 0,
                "sex": "female",
                "skin_pinch": "rapid",
                "vomiting_episodes_24h": "lt_1"
              },
              {
                "age_years": 70,
                "citation": {
                  "authors": "Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC",
                  "doi": "10.4269/ajtmh.21-0143",
                  "id": "barry-2021",
                  "pmid": "34398821",
                  "source": "Am J Trop Med Hyg. 2021;105(5):1368-1375",
                  "title": "Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": true,
                    "value": 70
                  },
                  {
                    "factor": "sex",
                    "points": 0,
                    "present": true,
                    "value": "female"
                  },
                  {
                    "factor": "eye_level",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "radial_pulse",
                    "points": 0,
                    "present": true,
                    "value": "strong"
                  },
                  {
                    "factor": "respirations",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "skin_pinch",
                    "points": 0,
                    "present": true,
                    "value": "rapid"
                  },
                  {
                    "factor": "vomiting_episodes_24h",
                    "points": 0,
                    "present": true,
                    "value": "lt_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.",
                "eye_level": "normal",
                "formula": "nirudak",
                "formula_expression": "NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13",
                "max_score": 13,
                "nirudak_band": "no_dehydration",
                "radial_pulse": "strong",
                "respirations": "normal",
                "score": 0,
                "sex": "female",
                "skin_pinch": "rapid",
                "vomiting_episodes_24h": "lt_1"
              }
            ],
            "path": "/api/calc/nirudak"
          },
          "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, integer 5–120. Barry 2021 Table 2: >59 scores 0, 20–59 scores 1, <20 scores 2. Not the adult 18–120 clamp.",
                          "type": "integer"
                        },
                        "eye_level": {
                          "description": "Caller-assigned Barry 2021 Table 2 eye level: normal (0) or sunken (1). magent does not examine the patient.",
                          "enum": [
                            "normal",
                            "sunken"
                          ],
                          "type": "string"
                        },
                        "radial_pulse": {
                          "description": "Caller-assigned Barry 2021 Table 2 radial pulse: strong (0), decreased (1), or absent (2). magent does not examine the patient.",
                          "enum": [
                            "strong",
                            "decreased",
                            "absent"
                          ],
                          "type": "string"
                        },
                        "respirations": {
                          "description": "Caller-assigned Barry 2021 Table 2 respirations: normal (0) or deep (1). Deep scores 1, not DHAKA Table 3's 2. magent does not examine the patient.",
                          "enum": [
                            "normal",
                            "deep"
                          ],
                          "type": "string"
                        },
                        "sex": {
                          "description": "female (0) or male (1) (Barry 2021 Table 2).",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "skin_pinch": {
                          "description": "Caller-assigned Barry 2021 Table 2 skin pinch: rapid (0), slow (2), or very_slow (4). Reference is rapid, not DHAKA normal. magent does not examine the patient.",
                          "enum": [
                            "rapid",
                            "slow",
                            "very_slow"
                          ],
                          "type": "string"
                        },
                        "vomiting_episodes_24h": {
                          "description": "Caller-assigned Barry 2021 Table 2 vomiting episodes in 24 hours: lt_1 (0; <1), 1_to_10 (1), or gt_10 (2; >10).",
                          "enum": [
                            "lt_1",
                            "1_to_10",
                            "gt_10"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "eye_level",
                        "radial_pulse",
                        "respirations",
                        "skin_pinch",
                        "vomiting_episodes_24h"
                      ],
                      "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": [
    "nirudak",
    "dehydration",
    "diarrhea",
    "emergency",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T09:56:24.489Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T09:56:24.319Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 70,
                  "eye_level": "normal",
                  "radial_pulse": "strong",
                  "respirations": "normal",
                  "sex": "female",
                  "skin_pinch": "rapid",
                  "vomiting_episodes_24h": "lt_1"
                },
                {
                  "age": 70,
                  "eye_level": "normal",
                  "radial_pulse": "strong",
                  "respirations": "normal",
                  "sex": "female",
                  "skin_pinch": "rapid",
                  "vomiting_episodes_24h": "lt_1"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 70,
                  "citation": {
                    "authors": "Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC",
                    "doi": "10.4269/ajtmh.21-0143",
                    "id": "barry-2021",
                    "pmid": "34398821",
                    "source": "Am J Trop Med Hyg. 2021;105(5):1368-1375",
                    "title": "Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": true,
                      "value": 70
                    },
                    {
                      "factor": "sex",
                      "points": 0,
                      "present": true,
                      "value": "female"
                    },
                    {
                      "factor": "eye_level",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "radial_pulse",
                      "points": 0,
                      "present": true,
                      "value": "strong"
                    },
                    {
                      "factor": "respirations",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "skin_pinch",
                      "points": 0,
                      "present": true,
                      "value": "rapid"
                    },
                    {
                      "factor": "vomiting_episodes_24h",
                      "points": 0,
                      "present": true,
                      "value": "lt_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.",
                  "eye_level": "normal",
                  "formula": "nirudak",
                  "formula_expression": "NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13",
                  "max_score": 13,
                  "nirudak_band": "no_dehydration",
                  "radial_pulse": "strong",
                  "respirations": "normal",
                  "score": 0,
                  "sex": "female",
                  "skin_pinch": "rapid",
                  "vomiting_episodes_24h": "lt_1"
                },
                {
                  "age_years": 70,
                  "citation": {
                    "authors": "Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC",
                    "doi": "10.4269/ajtmh.21-0143",
                    "id": "barry-2021",
                    "pmid": "34398821",
                    "source": "Am J Trop Med Hyg. 2021;105(5):1368-1375",
                    "title": "Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": true,
                      "value": 70
                    },
                    {
                      "factor": "sex",
                      "points": 0,
                      "present": true,
                      "value": "female"
                    },
                    {
                      "factor": "eye_level",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "radial_pulse",
                      "points": 0,
                      "present": true,
                      "value": "strong"
                    },
                    {
                      "factor": "respirations",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "skin_pinch",
                      "points": 0,
                      "present": true,
                      "value": "rapid"
                    },
                    {
                      "factor": "vomiting_episodes_24h",
                      "points": 0,
                      "present": true,
                      "value": "lt_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.",
                  "eye_level": "normal",
                  "formula": "nirudak",
                  "formula_expression": "NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13",
                  "max_score": 13,
                  "nirudak_band": "no_dehydration",
                  "radial_pulse": "strong",
                  "respirations": "normal",
                  "score": 0,
                  "sex": "female",
                  "skin_pinch": "rapid",
                  "vomiting_episodes_24h": "lt_1"
                }
              ],
              "path": "/api/calc/nirudak"
            },
            "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, integer 5–120. Barry 2021 Table 2: >59 scores 0, 20–59 scores 1, <20 scores 2. Not the adult 18–120 clamp.",
                            "type": "integer"
                          },
                          "eye_level": {
                            "description": "Caller-assigned Barry 2021 Table 2 eye level: normal (0) or sunken (1). magent does not examine the patient.",
                            "enum": [
                              "normal",
                              "sunken"
                            ],
                            "type": "string"
                          },
                          "radial_pulse": {
                            "description": "Caller-assigned Barry 2021 Table 2 radial pulse: strong (0), decreased (1), or absent (2). magent does not examine the patient.",
                            "enum": [
                              "strong",
                              "decreased",
                              "absent"
                            ],
                            "type": "string"
                          },
                          "respirations": {
                            "description": "Caller-assigned Barry 2021 Table 2 respirations: normal (0) or deep (1). Deep scores 1, not DHAKA Table 3's 2. magent does not examine the patient.",
                            "enum": [
                              "normal",
                              "deep"
                            ],
                            "type": "string"
                          },
                          "sex": {
                            "description": "female (0) or male (1) (Barry 2021 Table 2).",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "skin_pinch": {
                            "description": "Caller-assigned Barry 2021 Table 2 skin pinch: rapid (0), slow (2), or very_slow (4). Reference is rapid, not DHAKA normal. magent does not examine the patient.",
                            "enum": [
                              "rapid",
                              "slow",
                              "very_slow"
                            ],
                            "type": "string"
                          },
                          "vomiting_episodes_24h": {
                            "description": "Caller-assigned Barry 2021 Table 2 vomiting episodes in 24 hours: lt_1 (0; <1), 1_to_10 (1), or gt_10 (2; >10).",
                            "enum": [
                              "lt_1",
                              "1_to_10",
                              "gt_10"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "eye_level",
                          "radial_pulse",
                          "respirations",
                          "skin_pinch",
                          "vomiting_episodes_24h"
                        ],
                        "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"
  }
}