# CIWA-B Calculator (Busto 1989)

> CIWA-B Calculator (Busto 1989) 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).

Computes the Clinical Institute Withdrawal Assessment for Benzodiazepines (CIWA-B) total score from 20 caller-assigned symptom items rated 0–4, with optional sleep fields recorded but excluded from the total.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ciwa_b
- 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/ciwa-b-calculator-busto-1989-0b10920e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vf-ukmzXf4PIa5UjenGFB

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 ciwa-b-calculator-busto-1989-0b10920e
```

Example prompt: Calculate a CIWA-B score for a patient with the following ratings: restlessness 2, tremor 1, sweating 1, irritability 3, fatigue 2, tension 2, concentration 2, appetite 1, numbness 0, palpitations 2, headache 1, muscle aches 1, anxiety 3, upset 2, sleep restfulness 2, weakness 1, enough sleep 2, visual disturbances 0, fear 2, worry 3.

## When to prefer this

Use this endpoint when you need a precise, reproducible CIWA-B numeric score based on the original Busto 1989 twenty-item protocol. Prefer it over manual calculation to avoid arithmetic errors, and for automated logging or trend tracking of withdrawal severity during benzodiazepine tapers or detoxification. Note that this is a calculation tool only — it does not interpret severity categories, recommend benzodiazepine doses, or substitute for clinical judgment.

## Known failure modes

- Missing any of the 20 required symptom parameters returns an error
- Item values outside the 0–4 integer range may be rejected or cause incorrect totals
- Non-integer values for symptom scores will fail schema validation
- All 20 items are required; partial submissions are not supported

## How this service works

Busto 1989 CIWA-B: twenty caller-assigned 0-4 items summed (max 80). Optional hours of sleep and minutes to fall asleep are recorded only and are not in the total. magent does not observe the patient and does not apply later mild-to-very-severe manuals. Not a benzodiazepine prescription and not a medical device.

## Output

Returns the CIWA-B total score (integer 0–80) computed as the sum of all 20 symptom items each rated 0–4. Optional sleep fields (hours of sleep, minutes to fall asleep) are recorded in the response but are not included in the total. No severity classification or prescriptive recommendation is returned.

## 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": [
      "restlessness",
      "tremor",
      "sweating",
      "irritability",
      "fatigue",
      "tension",
      "concentration",
      "appetite",
      "numbness",
      "palpitations",
      "headache",
      "muscle_aches",
      "anxiety",
      "upset",
      "sleep_restfulness",
      "weakness",
      "enough_sleep",
      "visual_disturbances",
      "fear",
      "worry"
     ],
     "properties": {
      "fear": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 fear (Are you fearful?; integer 0-4). magent does not observe the patient."
      },
      "upset": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 upset (Do you feel upset?; integer 0-4). magent does not observe the patient."
      },
      "worry": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 worrying about possible misfortunes lately (integer 0-4). magent does not observe the patient."
      },
      "tremor": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 tremor with arms extended and fingers apart (integer 0-4). magent does not observe the patient."
      },
      "anxiety": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 anxious, nervous, or jittery (integer 0-4). magent does not observe the patient."
      },
      "fatigue": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 fatigue (Do you feel fatigued / tired?; integer 0-4). magent does not observe the patient."
      },
      "tension": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 tension (Do you feel tense?; integer 0-4). magent does not observe the patient."
      },
      "appetite": {
       "type": "integer",
       "description": "Caller-assigned Busto 1989 loss of appetite (integer 0-4). magent does not observe the patient."
      },
      "hea
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ciwa-b-calculator-busto-1989-0b10920e/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)
