# ARISCAT Postoperative Pulmonary Complications Risk Score Calculator

> ARISCAT Postoperative Pulmonary Complications Risk Score 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-15).

Computes the ARISCAT score (Canet 2010) for predicting postoperative pulmonary complications, returning a numeric score and low/intermediate/high risk classification.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ariscat
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ariscat-postoperative-pulmonary-complications-risk-score-calculator-d24e062b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S0u65Jk1H0Kc9Uj-X_Ji4

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 ariscat-postoperative-pulmonary-complications-risk-score-calculator-d24e062b
```

Example prompt: My patient is 67 years old, preop SpO2 is 93%, no respiratory infection in the last month, no anemia, the planned incision is upper abdominal, expected surgery duration is 2.5 hours, and it's not an emergency — what's their ARISCAT score and pulmonary complication risk category?

## When to prefer this

Use this endpoint when you need a fast, validated, point-based preoperative pulmonary risk score following the published Canet 2010 ARISCAT methodology. Prefer this over generic risk calculators when specifically assessing postoperative pulmonary complications (not cardiac or VTE risk). This endpoint is appropriate for EHR-integrated agents, anesthesia decision-support workflows, or preoperative triage automation where the caller already has the seven clinical inputs assigned.

## Known failure modes

- Missing required query parameters (age, spo2_percent, respiratory_infection, anemia, incision, duration_hours, emergency) returns a 400-level error
- Age outside 18–120 range rejected
- SpO2 outside 50–100 range rejected
- Invalid incision enum value (not peripheral, upper_abdominal, or intrathoracic) returns validation error
- Payment failure (x402) if USDC payment is not provided or insufficient

## How this service works

Canet 2010 ARISCAT simplified risk score (Table 6, β×10 rounded; Mazo 2014 reprints the same points): age <=50=0, 51-80=3, >80=16; SpO2 >=96=0, 91-95=8, <=90=24; respiratory infection last month=17; anemia Hb <=10 flag=11; incision peripheral 0, upper_abdominal 15, intrathoracic 24; duration hours <=2=0, >2 to 3=16, >3=23; emergency=8. Max 123. Low <26, intermediate 26-44, high >=45. Not a diagnosis or cancel-surgery order. magent does not measure SpO2.

## Output

Returns a total ARISCAT score (0–123), a risk classification of low (score <26), intermediate (26–44), or high (≥45), and the individual point contributions from each of the seven clinical factors (age, SpO2, respiratory infection, anemia, incision type, surgery duration, emergency status).

## 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",
      "spo2_percent",
      "respiratory_infection",
      "anemia",
      "incision",
      "duration_hours",
      "emergency"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Canet 2010 Table 6: <=50 scores 0; 51-80 scores 3; >80 scores 16. Age 50 scores 0; 51 scores 3; 80 scores 3; 81 scores 16."
      },
      "anemia": {
       "type": "boolean",
       "description": "Preoperative anemia (Hb <=10 g/dL) as assigned by the caller (Canet 2010 Table 6). true scores 11. Flag only; do not send a hemoglobin number."
      },
      "incision": {
       "enum": [
        "peripheral",
        "upper_abdominal",
        "intrathoracic"
       ],
       "type": "string",
       "description": "Surgical incision as assigned by the caller (Canet 2010 Table 6): peripheral scores 0, upper_abdominal scores 15, intrathoracic scores 24. magent does not classify the procedure from an op note."
      },
      "emergency": {
       "type": "boolean",
       "description": "Emergency procedure as assigned by the caller (Canet 2010 Table 6; β 0.768 × 10 rounded). true scores 8. true or false."
      },
      "spo2_percent": {
       "type": "number",
       "description": "Preoperative SpO2 percent (50-100) as assigned by the caller. Canet 2010 Table 6: >=96 scores 0; 91-95 scores 8; <=90 scores 24. magent does not measure SpO2."
      },
      "duration_hours": {
       "type": "number",
       "description": "Duration of surgery in hours (0.1-24). Canet 2010 Table 6: <=2 scores 0; >2 to 3 scores 16; >3 scores 23. Duration 2.0 scores 0; 2.1 scores 16; 3.0 scores 16; 3.1 scores 23."
      },
      "respiratory_infection": {
       "type": "boolean",
       "description": "Respiratory infection in the last month as assigned by the caller (Canet 2010 Table 6). true scores 17. true or false."
      }
     }
    }
   },
   "additional
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ariscat-postoperative-pulmonary-complications-risk-score-calculator-d24e062b/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)
