# NICE CG174 Adult IV Maintenance Fluid Calculator

> NICE CG174 Adult IV Maintenance Fluid Calculator 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 adult hospital routine IV maintenance fluid requirements per NICE guideline CG174, returning daily volumes of water, sodium, potassium, chloride, and glucose based on dosing weight and a chosen ml/kg/day rate.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/nice_iv_maintenance
- 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/nice-cg174-adult-iv-maintenance-fluid-calculator-ae5dc504
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CmnjSxBS2jhiB5jWpd14F

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 nice-cg174-adult-iv-maintenance-fluid-calculator-ae5dc504
```

Example prompt: Calculate the NICE CG174 routine IV maintenance requirements for an adult patient weighing 70 kg using a rate of 25 mL/kg/day, and let me know if the water volume exceeds 2.5 litres.

## When to prefer this

Use this endpoint when you need deterministic, citation-backed NICE CG174 routine adult IV maintenance fluid calculations for a single patient — particularly when you want sodium/potassium/chloride/glucose targets alongside water volume, or when you need the 2.5 L water flag. Prefer it over generic fluid calculators when NICE guideline compliance matters, or when dealing with an obese patient where you have already assigned an ideal body weight. It is not appropriate for paediatric (4-2-1 or Holliday–Segar) calculations or for selecting fluid type/product.

## Known failure modes

- Missing required ml_per_kg_day parameter returns validation error
- ml_per_kg_day value other than 20, 25, or 30 is rejected
- Weight outside the accepted range (1–500 kg or 2–1100 lb) returns an error
- Neither weight_kg nor weight_lb provided causes a missing-parameter error
- Payment not supplied or insufficient USDC results in 402 response

## How this service works

NICE CG174 adult hospital routine maintenance: 20, 25, or 30 mL/kg/day water times dosing weight, about 1 mmol/kg/day sodium, potassium, and chloride each, and 50–100 g/day glucose. Flags water over 2.5 L without capping. Not 4-2-1, not Holliday–Segar, not a fluid-type order. Caller assigns IBW when obese. Deterministic published arithmetic with citation.

## Output

Returns computed daily totals: water in mL (and a flag if it exceeds 2.5 L), sodium in mmol, potassium in mmol, chloride in mmol, and glucose in grams, all derived from the published NICE CG174 arithmetic for the supplied dosing weight and ml/kg/day rate.

## 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": [
      "ml_per_kg_day"
     ],
     "properties": {
      "weight_kg": {
       "type": "number",
       "description": "Dosing weight in kilograms (1-500). Provide weight_kg or weight_lb. For obesity, caller assigns ideal body weight (CG174 1.4.2); magent does not compute IBW."
      },
      "weight_lb": {
       "type": "number",
       "description": "Dosing weight in pounds (2-1100). Converted as kg = lb * 0.45359237."
      },
      "ml_per_kg_day": {
       "type": "integer",
       "description": "Routine maintenance water rate: 30 (1.4.1 upper initial 25-30), 25 (1.4.1 lower or 1.4.3 reduced upper), or 20 (1.4.3 reduced initial). Integers 20, 25, or 30 only."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nice-cg174-adult-iv-maintenance-fluid-calculator-ae5dc504/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)
