# Killip-Kimball Class Lookup (1967)

> Killip-Kimball Class Lookup (1967) 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-13).

Returns the published Killip-Kimball class description and 1967 CCU hospital mortality rate for a caller-assigned myocardial infarction heart-failure class (1–4).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/killip
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/killip-kimball-class-lookup-1967-8e227ece
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8EqwlnL3qgnekY5X9rD4s

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 killip-kimball-class-lookup-1967-8e227ece
```

Example prompt: Look up the Killip-Kimball 1967 class description and CCU hospital mortality for a patient I've classified as Killip class 3 (pulmonary edema).

## When to prefer this

Choose this endpoint when you need to programmatically retrieve the canonical Killip-Kimball 1967 class description and historically published CCU mortality for a class already assigned by a clinician. Prefer it over manual table lookups when building clinical documentation pipelines, decision-support tools, or educational applications that need structured, machine-readable Killip data. Do not use it for contemporary mortality estimates (GRACE score) or as a diagnostic tool — the caller must assign the class.

## Known failure modes

- Invalid killip_class value outside 1–4 returns an error or unexpected result
- Missing required killip_class query parameter causes a 400 or similar error
- Payment not processed (x402 protocol) causes a 402 Payment Required response
- Network timeout or server unavailability causes a failure to return data

## How this service works

Killip and Kimball 1967 myocardial-infarction heart-failure class 1-4 as assigned by the caller. Returns the published class, description (no heart failure; S3 and basilar rales; pulmonary edema; cardiogenic shock), and 1967 CCU hospital mortality (6%, 17%, 38%, 81%). Not a diagnosis; magent does not examine the patient. Not GRACE or contemporary registry mortality.

## Output

Returns the Killip class integer (1–4), the original 1967 class description (e.g., 'no heart failure', 'S3 and basilar rales', 'pulmonary edema', 'cardiogenic shock'), and the published 1967 CCU hospital mortality (6%, 17%, 38%, or 81%).

## 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": [
      "killip_class"
     ],
     "properties": {
      "killip_class": {
       "type": "integer",
       "description": "Killip and Kimball 1967 class 1-4 as assigned by the caller (1 no heart failure; 2 heart failure with S3 and basilar rales; 3 pulmonary edema; 4 cardiogenic shock). magent does not examine the patient."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/killip",
  "count": 2,
  "items": [
   {
    "score": 1,
    "formula": "killip",
    "citation": {
     "id": "killip-1967",
     "doi": "10.1016/0002-9149(67)90023-9",
     "pmid": "6059183",
     "title": "Treatment of myocardial infarction in a coronary care unit. A two year experience with 250 patients",
     "source": "Am J Cardiol. 1967;20(4):457-464",
     "authors": "Killip T 3rd, Kimball JT"
    },
    "max_score": 4,
    "components": [
     {
      "factor": "killip_class",
      "points": 1,
      "present": true
     }
    ],
    "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.",
    "description": "No heart failure",
    "killip_class": 1,
    "formula_expression": "Killip class 1-4 as assigned by the caller; 1967 CCU hospital mortality 6/17/38/81 percent (Killip and Kimball 1967)",
    "hospital_mortality_percent": 6
   },
   {
    "score": 1,
    "formula": "killip",
    "citation": {
     "id": "killip-1967",
     "doi": "10.1016/0002-9149(67)90023-9",
     "pmid": "6059183",
     "title": "Treatment of myocardial infarction in a coronary care unit. A two year experience with 250 patients",
     "source": "Am J Cardiol. 1967;20(4):457-464",
     "authors": "Killip T 3rd, Kimball JT"
    },
    "max_score": 4,
    "components": [
     {
      "factor": "killip_class",
      "points": 1,
      "present": true
     }
    ],
    "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.",
    "description": "No heart failure",
    "killip_class": 1,
    "formula_expression": "Killip class 1-4 as assigned by the caller; 1967 CCU hospital mortality 6/17/38/81 percent (Killip and Kimball 1967)",
    "hospital_mortality_percent": 6
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/killip-kimball-class-lookup-1967-8e227ece/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)
