# NIRUDAK Dehydration Score Calculator (Barry 2021)

> NIRUDAK Dehydration Score Calculator (Barry 2021) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Calculates the Barry 2021 NIRUDAK integer dehydration severity score (0–13) for patients aged 5–120 years with acute diarrhea, classifying them into no, some, or severe dehydration bands.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/nirudak
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nirudak-dehydration-score-calculator-barry-2021-ff1695a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l5WujaTZvFxx84ZdNduN1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nirudak-dehydration-score-calculator-barry-2021-ff1695a4
```

Example prompt: Calculate the NIRUDAK dehydration score for a 12-year-old male patient with acute diarrhea: eyes are sunken, radial pulse is decreased, respirations are deep, skin pinch is slow, and he has had between 1 and 10 vomiting episodes in the past 24 hours — tell me the score and whether it's none, some, or severe dehydration.

## When to prefer this

Choose this endpoint when you need to compute the specific Barry 2021 NIRUDAK dehydration score (not WHO IMCI/IMAI, not DHAKA, not PLOS logistic models) for a patient aged 5–120 years with acute diarrhea, using the seven Table 2 clinical variables. Use it for clinical decision support workflows where a structured, peer-referenced integer score and severity band are needed; note it does not examine the patient or order fluids.

## Known failure modes

- Missing required query parameter returns an error (e.g. omitting skin_pinch or age)
- Age outside 5–120 range may return a validation error
- Invalid enum value for sex, eye_level, radial_pulse, respirations, skin_pinch, or vomiting_episodes_24h returns an error
- Non-integer age value causes a schema validation failure
- Payment failure (x402) if USDC balance is insufficient

## How this service works

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.

## Output

Returns a NIRUDAK integer score from 0 to 13 computed from the weighted Barry 2021 Table 2 criteria, along with the corresponding dehydration severity band: no dehydration (0–3), some dehydration (4–6), or severe dehydration (7–13).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "age",
      "sex",
      "eye_level",
      "radial_pulse",
      "respirations",
      "skin_pinch",
      "vomiting_episodes_24h"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "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."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "female (0) or male (1) (Barry 2021 Table 2)."
      },
      "eye_level": {
       "enum": [
        "normal",
        "sunken"
       ],
       "type": "string",
       "description": "Caller-assigned Barry 2021 Table 2 eye level: normal (0) or sunken (1). magent does not examine the patient."
      },
      "skin_pinch": {
       "enum": [
        "rapid",
        "slow",
        "very_slow"
       ],
       "type": "string",
       "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."
      },
      "radial_pulse": {
       "enum": [
        "strong",
        "decreased",
        "absent"
       ],
       "type": "string",
       "description": "Caller-assigned Barry 2021 Table 2 radial pulse: strong (0), decreased (1), or absent (2). magent does not examine the patient."
      },
      "respirations": {
       "enum": [
        "normal",
        "deep"
       ],
       "type": "string",
       "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."
      },
      "vomiting_episodes_24h": {
       "enum": [
        "lt_1",
        "1_to_10",
        "gt_10"
       ],
       "type": "string",
       "description": "Caller-assigned Barry 2021 Table 2 vomiting episodes in 24 hours: lt_1 (
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nirudak-dehydration-score-calculator-barry-2021-ff1695a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
