# PAWSS Alcohol Withdrawal Risk Calculator (Maldonado 2014)

> PAWSS Alcohol Withdrawal Risk Calculator (Maldonado 2014) 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 Prediction of Alcohol Withdrawal Severity Scale (PAWSS) score and risk band to stratify patients for complicated alcohol withdrawal risk

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pawss
- 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/pawss-alcohol-withdrawal-risk-calculator-maldonado-2014-909be59a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W7JHX4S37G8rbaQgUeBRs

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 pawss-alcohol-withdrawal-risk-calculator-maldonado-2014-909be59a
```

Example prompt: Run the PAWSS alcohol withdrawal risk score for a patient who drank in the last 30 days and has a positive BAL on admission — they have a history of alcohol rehab, two prior withdrawal episodes, blackouts, and withdrawal seizures, but no delirium tremens, no combined downer use in the last 90 days, no other substance use, BAL under 200, and no increased autonomic activity right now.

## When to prefer this

Use this endpoint when you need a standardized, validated PAWSS score computation per the Maldonado 2014 protocol and want a deterministic, auditable arithmetic result without implementing the scoring logic yourself. Prefer over manual calculation when embedding PAWSS into automated clinical workflows, EHR pipelines, or decision-support agents. Not appropriate as a substitute for clinical judgment, direct patient assessment, or BAL measurement.

## Known failure modes

- Missing required boolean query parameters returns a validation error
- If alcohol_last_30d_or_positive_bal is false, score is forced to 0 and band is outside_window regardless of other flags
- Miscoded boolean values (e.g. string 'yes' instead of true) may cause a schema error
- Payment authorization failure (x402) if USDC balance is insufficient

## How this service works

Maldonado 2014 PAWSS. Required 0-point threshold (any alcohol in the last 30 days or positive BAL on admission): if false, score 0 and band outside_window even if other flags are true. If true, ten yes/no items score 1 each (max 10); 0-3 low, >=4 high risk for complicated alcohol withdrawal. Not a diagnosis or prophylaxis order. magent does not interview the patient or measure BAL.

## Output

Returns the PAWSS total score (integer 0–10) and a risk band: 'outside_window' if the Part A threshold (any alcohol in last 30 days or positive BAL on admission) is false; 'low' if score is 0–3; 'high' if score is ≥4. Not a clinical diagnosis or treatment order.

## 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": [
      "alcohol_last_30d_or_positive_bal",
      "recently_intoxicated_30d",
      "alcohol_rehab",
      "previous_withdrawal",
      "blackouts",
      "withdrawal_seizures",
      "delirium_tremens",
      "combined_downers_90d",
      "combined_other_substances_90d",
      "bal_ge_200",
      "increased_autonomic_activity"
     ],
     "properties": {
      "blackouts": {
       "type": "boolean",
       "description": "Ever blackouts as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient."
      },
      "bal_ge_200": {
       "type": "boolean",
       "description": "BAL on presentation ≥200 as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not measure BAL."
      },
      "alcohol_rehab": {
       "type": "boolean",
       "description": "Ever alcohol-use-disorder rehabilitation or AA as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient."
      },
      "delirium_tremens": {
       "type": "boolean",
       "description": "Ever delirium tremens as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient."
      },
      "previous_withdrawal": {
       "type": "boolean",
       "description": "Any previous alcohol withdrawal as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient."
      },
      "withdrawal_seizures": {
       "type": "boolean",
       "description": "Ever alcohol withdrawal seizures as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient."
      },
      "combined_downers_90d": {
       "type": "boolean",
       "description": "Combined alcohol wit
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pawss-alcohol-withdrawal-risk-calculator-maldonado-2014-909be59a/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)
