# Magent Framingham CHF Criteria Calculator

> Magent Framingham CHF Criteria 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).

Applies McKee 1971 Framingham congestive heart failure criteria to caller-supplied clinical flags to determine definite CHF, possible CHF, or unlikely CHF classification

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/framingham_hf
- 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/magent-framingham-chf-criteria-calculator-a1becf9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wg4m84kvAMFOG6V3p-URV

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 magent-framingham-chf-criteria-calculator-a1becf9b
```

Example prompt: Use the Framingham CHF criteria to evaluate this patient: they have paroxysmal nocturnal dyspnea, rales, and an S3 gallop (all major criteria positive), plus ankle edema and night cough (minor criteria positive), and no confirmed weight loss response to treatment. Do they meet criteria for definite CHF?

## When to prefer this

Use this endpoint when you need a structured, rule-based application of the McKee 1971 Framingham CHF diagnostic criteria to caller-supplied clinical findings. Prefer this over general clinical reasoning or LLM-based scoring when you need deterministic, auditable classification with explicit major/minor criterion accounting. Not appropriate for echocardiographic staging, HFrEF/HFpEF classification, or when clinical findings have not yet been assessed by a clinician.

## Known failure modes

- Missing required boolean flags returns a validation error
- Ambiguous weight loss treatment status left unresolved causes criterion to be unused rather than counted
- Caller misclassification of clinical findings leads to incorrect scoring — the API applies the logic but does not validate clinical accuracy
- Network or payment authorization failure returns 402 or 5xx

## How this service works

McKee 1971 Framingham CHF criteria. Definite if two major, or one major plus two minor, are concurrent. Nine major and seven minor caller-assigned flags. Weight loss ≥4.5 kg in 5 days in response to treatment is dual: major if that is definite, else minor if that is definite, else unused. major_count and minor_count are the fixed flags only. Not a medical device, not an echocardiographic diagnosis, and not HFrEF or HFpEF staging.

## Output

Returns a CHF classification (definite, possible, or unlikely) based on the McKee 1971 Framingham criteria, along with counts of major and minor fixed criteria met and the assigned role of the weight-loss treatment-response criterion (major, minor, or unused)

## 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": [
      "pnd_or_orthopnea",
      "neck_vein_distention",
      "rales",
      "cardiomegaly",
      "acute_pulmonary_edema",
      "s3_gallop",
      "venous_pressure_gt_16",
      "circulation_time_ge_25",
      "hepatojugular_reflux",
      "ankle_edema",
      "night_cough",
      "dyspnea_on_exertion",
      "hepatomegaly",
      "pleural_effusion",
      "vital_capacity_decreased_third",
      "tachycardia_ge_120",
      "weight_loss_45kg_5d_treatment"
     ],
     "properties": {
      "rales": {
       "type": "boolean",
       "description": "Rales (McKee 1971 major). true or false as assigned by the caller. magent does not auscultate the lungs."
      },
      "s3_gallop": {
       "type": "boolean",
       "description": "S3 gallop (McKee 1971 major). true or false as assigned by the caller. magent does not auscultate the heart."
      },
      "ankle_edema": {
       "type": "boolean",
       "description": "Ankle edema (McKee 1971 minor). true or false as assigned by the caller. magent does not examine the ankles."
      },
      "night_cough": {
       "type": "boolean",
       "description": "Night cough (McKee 1971 minor). true or false as assigned by the caller. magent does not take a history."
      },
      "cardiomegaly": {
       "type": "boolean",
       "description": "Cardiomegaly (McKee 1971 major). true or false as assigned by the caller. magent does not interpret a chest radiograph."
      },
      "hepatomegaly": {
       "type": "boolean",
       "description": "Hepatomegaly (McKee 1971 minor). true or false as assigned by the caller. magent does not examine the liver."
      },
      "pleural_effusion": {
       "type": "boolean",
       "description": "Pleural effusion (McKee 1971 minor). true or false as assigned by the caller. magent does not interpret imaging."
      },
      "pnd_or_orthopnea": {
       "type": "boolean",
       "description": "Paroxysmal noctu
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-framingham-chf-criteria-calculator-a1becf9b/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)
