# IV Drip Rate Calculator (gtt/min)

> IV Drip Rate Calculator (gtt/min) 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 intravenous gravity drip rate in drops per minute and mL/hour given volume, infusion duration, and administration set drop factor.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/iv_drip
- 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/iv-drip-rate-calculator-gtt-min-5bbc058a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1rtPGgrTqcMB75XNv5XV2

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 iv-drip-rate-calculator-gtt-min-5bbc058a
```

Example prompt: Calculate the IV drip rate for a 1000 mL bag running over 480 minutes using a 15 gtt/mL macrodrip set — give me drops per minute and mL per hour.

## When to prefer this

Use this endpoint when you need a deterministic, cited, arithmetic IV gravity drip rate calculation (gtt/min and mL/hour) without clinical decision-making, drug dosing, or pump programming. Ideal for nursing training tools, clinical calculators, EHR integrations, or agent workflows that must verify manual gravity infusion setup against a published formula. Prefer this over general-purpose math when you want a purpose-built, auditable medical arithmetic endpoint with standardized drop factor validation (10, 15, 20, 60 gtt/mL only).

## Known failure modes

- volume_ml outside 1–10000 range — clamped or rejected
- time_min outside 1–1440 range — clamped or rejected
- drop_factor_gtt_ml not one of 10, 15, 20, or 60 — validation error
- Missing required query parameters — HTTP error response
- Non-integer drop_factor_gtt_ml — schema validation failure

## How this service works

INS gravity drip rate: gtt/min = (volume_ml × drop_factor_gtt_ml) / time_min, rounded half away from zero to an integer. Drop factor 10, 15, or 20 gtt/mL macrodrip or 60 gtt/mL microdrip. Also reports mL/hour. Not a pump program, drug order, or device. Deterministic published arithmetic with citation.

## Output

Returns the gravity drip rate as an integer in drops per minute (rounded half away from zero using the formula gtt/min = (volume_ml × drop_factor_gtt_ml) / time_min) and the equivalent flow rate in mL/hour, with a citation to the published arithmetic.

## 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": [
      "volume_ml",
      "time_min",
      "drop_factor_gtt_ml"
     ],
     "properties": {
      "time_min": {
       "type": "integer",
       "description": "Infusion duration in minutes (1-1440, magent clamp). Convert hours to minutes before calling (8 hours = 480)."
      },
      "volume_ml": {
       "type": "number",
       "description": "Infused volume in mL (1-10000, magent clamp). Caller-assigned bag or syringe volume; magent does not choose a fluid."
      },
      "drop_factor_gtt_ml": {
       "enum": [
        10,
        15,
        20,
        60
       ],
       "type": "integer",
       "description": "Administration-set drop factor in gtt/mL printed on the tubing package: 10, 15, or 20 (macrodrip) or 60 (microdrip). Integers 10, 15, 20, or 60 only. magent does not choose tubing."
      }
     }
    }
   },
   "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/iv-drip-rate-calculator-gtt-min-5bbc058a/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)
