# POMPE-C 30-Day Mortality Calculator for Cancer + Acute PE

> POMPE-C 30-Day Mortality Calculator for Cancer + Acute PE 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 Kline 2012 POMPE-C logistic regression probability of 30-day mortality in patients with active cancer and acute pulmonary embolism, with risk band classification.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pompe_c
- 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/pompe-c-30-day-mortality-calculator-for-cancer-acute-pe-1ece5d35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-3p3zURE_lg8ipgX0TM8N

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 pompe-c-30-day-mortality-calculator-for-cancer-acute-pe-1ece5d35
```

Example prompt: Calculate the POMPE-C 30-day mortality probability for a cancer patient with acute PE: they are not DNR, have visible respiratory distress, no unilateral leg swelling, no altered mental status, heart rate over 99, respiratory rate of 24 breaths/min, room-air SpO2 of 92%, and weight 185 pounds.

## When to prefer this

Use this endpoint when you need to compute the Kline 2012 POMPE-C logistic regression score specifically for patients with both active cancer and acute PE to estimate 30-day mortality probability. Prefer this over generic PE severity scores (e.g., PESI, sPESI) when the patient has active cancer, as POMPE-C was derived specifically for that population. This endpoint is a continuous probability calculator with risk band output, not a point-based integer scoring system.

## Known failure modes

- Missing required query parameter returns an error — all eight clinical variables are mandatory
- weight_lb outside 2–1100 range may be rejected or produce unreliable output
- spo2_percent outside 50–100 range may be rejected
- respiratory_rate outside 4–80 integer range may be rejected
- Boolean fields passed as strings instead of true booleans may cause parsing errors
- Payment failure (402) if x402 USDC payment is not provided or insufficient

## How this service works

Kline 2012 POMPE-C 30-day mortality probability for active cancer plus acute PE. Logistic from DNR, respiratory distress, unilateral limb swelling, altered mental status, heart rate >99, respiratory rate, room-air SpO2, and weight in pounds (intercept 3.718). Bands: low <=5%, high >50%, else intermediate. Not a PE or cancer diagnosis, not integer points, not a dose.

## Output

Returns the Kline 2012 POMPE-C logistic regression–derived probability of 30-day mortality (as a decimal or percentage) and a risk band classification: low (≤5%), high (>50%), or intermediate (between 5% and 50%). Does not diagnose PE or cancer, does not output integer points, and does not recommend a dose.

## 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": [
      "dnr",
      "respiratory_distress",
      "unilateral_leg_swelling",
      "altered_mental_status",
      "heart_rate_gt_99",
      "respiratory_rate",
      "spo2_percent",
      "weight_lb"
     ],
     "properties": {
      "dnr": {
       "type": "boolean",
       "description": "Do-not-resuscitate status as assigned by the caller (Kline 2012: new or existing verbal or written desire not to be resuscitated). true or false. magent does not read an advance directive."
      },
      "weight_lb": {
       "type": "number",
       "description": "Body weight in pounds (2-1100), measured or by patient estimate as in Kline 2012. Pounds enter the logistic directly. magent does not convert from kilograms."
      },
      "spo2_percent": {
       "type": "number",
       "description": "Most recent pulse oximetry on room air, percent (50-100). Continuous predictor in the Kline 2012 prototype logistic. magent does not measure saturation."
      },
      "heart_rate_gt_99": {
       "type": "boolean",
       "description": "Heart rate documented over 99 beats/min in the previous six hours, as assigned by the caller. true or false. magent does not take a pulse."
      },
      "respiratory_rate": {
       "type": "integer",
       "description": "Highest documented respiratory rate in breaths/min within the previous six hours (integer 4-80). Continuous predictor in the Kline 2012 prototype logistic."
      },
      "respiratory_distress": {
       "type": "boolean",
       "description": "Respiratory distress as assigned by the caller (Kline 2012: obvious anxiety from dyspnea or increased work of breathing). true or false. magent does not examine the patient."
      },
      "altered_mental_status": {
       "type": "boolean",
       "description": "Altered mental status as assigned by the caller (Kline 2012: acute impairment in consciousness, new disorientation, delirium, or confusion). true o
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pompe-c-30-day-mortality-calculator-for-cancer-acute-pe-1ece5d35/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)
