# Hestia Criteria Calculator for Outpatient PE Eligibility

> Hestia Criteria Calculator for Outpatient PE Eligibility 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).

Evaluates the Hestia criteria (Zondag 2011) to determine whether a pulmonary embolism patient is eligible for outpatient/home treatment by checking 11 clinical exclusion criteria

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hestia
- 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/hestia-criteria-calculator-for-outpatient-pe-eligibility-27b1db12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4P8aRyovossKDSRsORIqz

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 hestia-criteria-calculator-for-outpatient-pe-eligibility-27b1db12
```

Example prompt: Check the Hestia criteria for my PE patient: hemodynamically stable, no thrombolysis or embolectomy needed, no high bleeding risk, no oxygen required beyond 24h, PE not on anticoagulation, no IV pain meds needed, no social or medical admission concerns, creatinine clearance is above 30, no severe liver impairment, not pregnant, and no history of HIT — is she eligible for outpatient treatment?

## When to prefer this

Use this endpoint when you need a fast, structured evaluation of the Hestia criteria specifically for PE outpatient eligibility decisions. Prefer this over manual checklist approaches or PESI/sPESI calculators when the clinical question is specifically about home treatment safety per the Zondag 2011 protocol. This is not a severity score — it is an eligibility gate for outpatient management.

## Known failure modes

- Missing any of the 11 required boolean parameters returns a validation error
- Invalid parameter types (non-boolean values) cause a schema error
- Network timeout or API unavailability returns a 5xx error
- Payment failure via x402 protocol blocks the request

## How this service works

Hestia criteria (Zondag 2011). Outpatient PE is eligible only when none of 11 caller-assigned exclusions hold: hemodynamic instability, thrombolysis or embolectomy, high bleeding risk, oxygen >24 h, PE on anticoagulation, IV pain medication >24 h, medical or social admission, CrCl <30, severe liver impairment, pregnancy, or documented HIT. Any yes excludes home treatment. Not a diagnosis, not PESI, not sPESI.

## Output

Returns whether the patient is eligible for outpatient (home) PE treatment based on the Hestia criteria, along with which of the 11 exclusion criteria were triggered. Any single 'true' exclusion disqualifies home treatment. The result is a binary eligibility decision with supporting criterion-level detail.

## 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": [
      "hemodynamically_unstable",
      "thrombolysis_or_embolectomy",
      "high_bleeding_risk",
      "oxygen_gt_24h",
      "pe_on_anticoagulation",
      "iv_pain_meds_gt_24h",
      "medical_or_social_admission",
      "creatinine_clearance_lt_30",
      "severe_liver_impairment",
      "pregnant",
      "history_of_hit"
     ],
     "properties": {
      "pregnant": {
       "type": "boolean",
       "description": "Pregnancy. true or false as assigned by the caller."
      },
      "oxygen_gt_24h": {
       "type": "boolean",
       "description": "More than 24 h of oxygen supply to keep SaO2 >90%, as assigned by the caller. true or false. magent does not compute oxygen duration or saturation."
      },
      "history_of_hit": {
       "type": "boolean",
       "description": "Documented history of heparin-induced thrombocytopenia (HIT). true or false as assigned by the caller. magent does not diagnose HIT."
      },
      "high_bleeding_risk": {
       "type": "boolean",
       "description": "Active bleeding or high risk of bleeding as assigned by the caller (paper: GI bleeding in the preceding 14 days, stroke <4 weeks, operation <2 weeks, bleeding disorder or platelets <75×10^9/L, or uncontrolled hypertension SBP >180 or DBP >110). true or false. magent does not compute bleeding risk."
      },
      "iv_pain_meds_gt_24h": {
       "type": "boolean",
       "description": "Severe pain needing intravenous pain medication for more than 24 h. true or false as assigned by the caller."
      },
      "pe_on_anticoagulation": {
       "type": "boolean",
       "description": "Pulmonary embolism diagnosed during anticoagulant treatment. true or false as assigned by the caller."
      },
      "severe_liver_impairment": {
       "type": "boolean",
       "description": "Severe liver impairment as judged by the caller (paper: physician judgement). true or false. magent does not grade liver i
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/hestia",
  "count": 2,
  "items": [
   {
    "formula": "hestia",
    "citation": {
     "id": "zondag-2011",
     "doi": "10.1111/j.1538-7836.2011.04388.x",
     "title": "Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study",
     "source": "J Thromb Haemost. 2011;9(8):1500-1507",
     "authors": "Zondag W, Mos ICM, Creemers-Schild D, et al."
    },
    "criteria": [
     {
      "met": false,
      "factor": "hemodynamically_unstable"
     },
     {
      "met": false,
      "factor": "thrombolysis_or_embolectomy"
     },
     {
      "met": false,
      "factor": "high_bleeding_risk"
     },
     {
      "met": false,
      "factor": "oxygen_gt_24h"
     },
     {
      "met": false,
      "factor": "pe_on_anticoagulation"
     },
     {
      "met": false,
      "factor": "iv_pain_meds_gt_24h"
     },
     {
      "met": false,
      "factor": "medical_or_social_admission"
     },
     {
      "met": false,
      "factor": "creatinine_clearance_lt_30"
     },
     {
      "met": false,
      "factor": "severe_liver_impairment"
     },
     {
      "met": false,
      "factor": "pregnant"
     },
     {
      "met": false,
      "factor": "history_of_hit"
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "formula_expression": "outpatient eligible iff none of the 11 exclusion criteria",
    "outpatient_eligible": true
   },
   {
    "formula": "hestia",
    "citation": {
     "id": "zondag-2011",
     "doi": "10.1111/j.1538-7836.2011.04388.x",
     "title": "Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study",
     "source": "J Thromb Haemost. 2011;9(8):1500-1507",
     "authors": "Zondag W, Mos ICM, Creemers-Schild D, et al."
    },
    "criteria": [
     {
      "met": false,
      "factor": "hemodynamically_unstable"
     },
     {
      "met": false,
      "factor": "thrombolysis_or_embolectomy"
     },
     {
      "met": false,
      "factor": "high_bleeding_risk"
     },
     {
      "met": false,
      "factor": "oxygen_gt_24h"
     },
     {
      "met": false,
      "factor": "pe_on_anticoagulation"
     },
     {
      "met": false,
      "factor": "iv_pain_meds_gt_24h"
     },
     {
      "met": false,
      "factor": "medical_or_social_admission"
     },
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hestia-criteria-calculator-for-outpatient-pe-eligibility-27b1db12/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)
