{
  "x402Version": 2,
  "id": 39105,
  "slug": "39105",
  "resource": "https://api.magentlab.com/api/calc/hestia",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "creatinine_clearance_lt_30": false,
                "hemodynamically_unstable": false,
                "high_bleeding_risk": false,
                "history_of_hit": false,
                "iv_pain_meds_gt_24h": false,
                "medical_or_social_admission": false,
                "oxygen_gt_24h": false,
                "pe_on_anticoagulation": false,
                "pregnant": false,
                "severe_liver_impairment": false,
                "thrombolysis_or_embolectomy": false
              },
              {
                "creatinine_clearance_lt_30": false,
                "hemodynamically_unstable": false,
                "high_bleeding_risk": false,
                "history_of_hit": false,
                "iv_pain_meds_gt_24h": false,
                "medical_or_social_admission": false,
                "oxygen_gt_24h": false,
                "pe_on_anticoagulation": false,
                "pregnant": false,
                "severe_liver_impairment": false,
                "thrombolysis_or_embolectomy": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Zondag W, Mos ICM, Creemers-Schild D, et al.",
                  "doi": "10.1111/j.1538-7836.2011.04388.x",
                  "id": "zondag-2011",
                  "source": "J Thromb Haemost. 2011;9(8):1500-1507",
                  "title": "Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"
                },
                "criteria": [
                  {
                    "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",
                    "met": false
                  }
                ],
                "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": "hestia",
                "formula_expression": "outpatient eligible iff none of the 11 exclusion criteria",
                "outpatient_eligible": true
              },
              {
                "citation": {
                  "authors": "Zondag W, Mos ICM, Creemers-Schild D, et al.",
                  "doi": "10.1111/j.1538-7836.2011.04388.x",
                  "id": "zondag-2011",
                  "source": "J Thromb Haemost. 2011;9(8):1500-1507",
                  "title": "Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"
                },
                "criteria": [
                  {
                    "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",
                    "met": false
                  }
                ],
                "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": "hestia",
                "formula_expression": "outpatient eligible iff none of the 11 exclusion criteria",
                "outpatient_eligible": true
              }
            ],
            "path": "/api/calc/hestia"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "creatinine_clearance_lt_30": {
                          "description": "Creatinine clearance <30 mL/min by Cockcroft-Gault, as assigned by the caller. true or false. magent does not compute Cockcroft-Gault.",
                          "type": "boolean"
                        },
                        "hemodynamically_unstable": {
                          "description": "Hemodynamic instability left to the clinician, including SBP <100 mmHg with heart rate >100 or ICU admission, as assigned by the caller. true or false. magent does not measure blood pressure or heart rate.",
                          "type": "boolean"
                        },
                        "high_bleeding_risk": {
                          "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.",
                          "type": "boolean"
                        },
                        "history_of_hit": {
                          "description": "Documented history of heparin-induced thrombocytopenia (HIT). true or false as assigned by the caller. magent does not diagnose HIT.",
                          "type": "boolean"
                        },
                        "iv_pain_meds_gt_24h": {
                          "description": "Severe pain needing intravenous pain medication for more than 24 h. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "medical_or_social_admission": {
                          "description": "Medical or social reason for hospital treatment >24 h (paper: infection, malignancy, no support system). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "oxygen_gt_24h": {
                          "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.",
                          "type": "boolean"
                        },
                        "pe_on_anticoagulation": {
                          "description": "Pulmonary embolism diagnosed during anticoagulant treatment. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "pregnant": {
                          "description": "Pregnancy. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "severe_liver_impairment": {
                          "description": "Severe liver impairment as judged by the caller (paper: physician judgement). true or false. magent does not grade liver impairment.",
                          "type": "boolean"
                        },
                        "thrombolysis_or_embolectomy": {
                          "description": "Thrombolysis or embolectomy necessary. true or false as assigned by the caller. magent does not decide reperfusion.",
                          "type": "boolean"
                        }
                      },
                      "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"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "hestia",
    "pe",
    "vte",
    "outpatient",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T06:06:38.529Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T06:06:38.356Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "creatinine_clearance_lt_30": false,
                  "hemodynamically_unstable": false,
                  "high_bleeding_risk": false,
                  "history_of_hit": false,
                  "iv_pain_meds_gt_24h": false,
                  "medical_or_social_admission": false,
                  "oxygen_gt_24h": false,
                  "pe_on_anticoagulation": false,
                  "pregnant": false,
                  "severe_liver_impairment": false,
                  "thrombolysis_or_embolectomy": false
                },
                {
                  "creatinine_clearance_lt_30": false,
                  "hemodynamically_unstable": false,
                  "high_bleeding_risk": false,
                  "history_of_hit": false,
                  "iv_pain_meds_gt_24h": false,
                  "medical_or_social_admission": false,
                  "oxygen_gt_24h": false,
                  "pe_on_anticoagulation": false,
                  "pregnant": false,
                  "severe_liver_impairment": false,
                  "thrombolysis_or_embolectomy": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Zondag W, Mos ICM, Creemers-Schild D, et al.",
                    "doi": "10.1111/j.1538-7836.2011.04388.x",
                    "id": "zondag-2011",
                    "source": "J Thromb Haemost. 2011;9(8):1500-1507",
                    "title": "Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"
                  },
                  "criteria": [
                    {
                      "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",
                      "met": false
                    }
                  ],
                  "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": "hestia",
                  "formula_expression": "outpatient eligible iff none of the 11 exclusion criteria",
                  "outpatient_eligible": true
                },
                {
                  "citation": {
                    "authors": "Zondag W, Mos ICM, Creemers-Schild D, et al.",
                    "doi": "10.1111/j.1538-7836.2011.04388.x",
                    "id": "zondag-2011",
                    "source": "J Thromb Haemost. 2011;9(8):1500-1507",
                    "title": "Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"
                  },
                  "criteria": [
                    {
                      "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",
                      "met": false
                    }
                  ],
                  "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": "hestia",
                  "formula_expression": "outpatient eligible iff none of the 11 exclusion criteria",
                  "outpatient_eligible": true
                }
              ],
              "path": "/api/calc/hestia"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "creatinine_clearance_lt_30": {
                            "description": "Creatinine clearance <30 mL/min by Cockcroft-Gault, as assigned by the caller. true or false. magent does not compute Cockcroft-Gault.",
                            "type": "boolean"
                          },
                          "hemodynamically_unstable": {
                            "description": "Hemodynamic instability left to the clinician, including SBP <100 mmHg with heart rate >100 or ICU admission, as assigned by the caller. true or false. magent does not measure blood pressure or heart rate.",
                            "type": "boolean"
                          },
                          "high_bleeding_risk": {
                            "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.",
                            "type": "boolean"
                          },
                          "history_of_hit": {
                            "description": "Documented history of heparin-induced thrombocytopenia (HIT). true or false as assigned by the caller. magent does not diagnose HIT.",
                            "type": "boolean"
                          },
                          "iv_pain_meds_gt_24h": {
                            "description": "Severe pain needing intravenous pain medication for more than 24 h. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "medical_or_social_admission": {
                            "description": "Medical or social reason for hospital treatment >24 h (paper: infection, malignancy, no support system). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "oxygen_gt_24h": {
                            "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.",
                            "type": "boolean"
                          },
                          "pe_on_anticoagulation": {
                            "description": "Pulmonary embolism diagnosed during anticoagulant treatment. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "pregnant": {
                            "description": "Pregnancy. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "severe_liver_impairment": {
                            "description": "Severe liver impairment as judged by the caller (paper: physician judgement). true or false. magent does not grade liver impairment.",
                            "type": "boolean"
                          },
                          "thrombolysis_or_embolectomy": {
                            "description": "Thrombolysis or embolectomy necessary. true or false as assigned by the caller. magent does not decide reperfusion.",
                            "type": "boolean"
                          }
                        },
                        "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"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}