Knaus 1985 APACHE II integer
Knaus 1985 APACHE II integer: 12 Acute Physiology Score items (worst in 24 hours as assigned by the caller) plus age and chronic-health points, max 71. Oxygenation uses A-aDO2 when FiO2 is at least 0.5 and PaO2 when FiO2 is below 0.5. Creatinine points double in acute renal failure. Does not compute predicted death risk. magent does not measure vitals.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
321 msmedian answer time
$0.005listed price per call
$0.007price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/apache_ii
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 321 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"aa_gradient": 100,
"acute_renal_failure": false,
"age": 40,
"arterial_ph": 7.4,
"chronic_health": false,
"creatinine_mg_dl": 1,
"elective_postop": false,
"fio2": 0.21,
"gcs": 15,
"heart_rate": 80,
"hematocrit_percent": 40,
"map_mm_hg": 90,
"pao2_mm_hg": 90,
"potassium_mmol_l": 4,
"respiratory_rate": 16,
"sodium_mmol_l": 140,
"temperature_c": 37,
"wbc_k_ul": 8
},
{
"aa_gradient": 100,
"acute_renal_failure": false,
"age": 40,
"arterial_ph": 7.4,
"chronic_health": false,
"creatinine_mg_dl": 1,
"elective_postop": false,
"fio2": 0.21,
"gcs": 15,
"heart_rate": 80,
"hematocrit_percent": 40,
"map_mm_hg": 90,
"pao2_mm_hg": 90,
"potassium_mmol_l": 4,
"respiratory_rate": 16,
"sodium_mmol_l": 140,
"temperature_c": 37,
"wbc_k_ul": 8
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"aa_gradient": {
"description": "A-aDO2 in mm Hg (0-800). Required when fio2 \u2265 0.5. \u2265500 \u2192 4; 350-499 \u2192 3; 200-349 \u2192 2; <200 \u2192 0. Ignored when fio2 < 0.5. magent does not compute A-aDO2 from PaO2.",
"type": "number"
},
"acute_renal_failure": {
"description": "true doubles the creatinine Table 1 points (Knaus 1985). false leaves creatinine points unchanged. magent does not diagnose renal failure.",
"type": "boolean"
},
"age": {
"description": "Age in years, integer 16-120. \u226444 \u2192 0; 45-54 \u2192 2; 55-64 \u2192 3; 65-74 \u2192 5; \u226575 \u2192 6.",
"type": "integer"
},
"arterial_ph": {
"description": "Arterial pH (6.5-8.0). \u22657.70 \u2192 4; 7.60-7.69 \u2192 3; 7.50-7.59 \u2192 1; 7.33-7.49 \u2192 0; 7.25-7.32 \u2192 2; 7.15-7.24 \u2192 3; <7.15 \u2192 4. Venous HCO3 substitution from Table 1 is not accepted.",
"type": "number"
},
"chronic_health": {
"description": "true if the caller assigns severe organ insufficiency or immunocompromise as defined in Knaus 1985. false \u2192 0 chronic-health points and elective_postop must be false.",
"type": "boolean"
},
"creatinine_mg_dl": {
"description": "Serum creatinine in mg/dL (0.1-20). \u22653.5 \u2192 4; 2.0-3.4 \u2192 3; 1.5-1.9 \u2192 2; 0.6-1.4 \u2192 0; <0.6 \u2192 2. Double that row when acute_renal_failure is true.",
"type": "number"
},
"elective_postop": {
"description": "true only for elective postoperative patients with chronic_health true (+2). false with chronic_health true is nonoperative or emergency postoperative (+5). Must be false when chronic_health is false.",
"type": "boolean"
},
"fio2": {
"description": "Inspired oxygen as a fraction 0.21-1.00, not a percent. If fio2 \u2265 0.5, oxygenation uses aa_gradient. If fio2 < 0.5, oxygenation uses pao2_mm_hg. The unused gas parameter is ignored.",
"type": "number"
},
"gcs": {
"description": "Glasgow Coma Scale total as assigned by the caller (integer 3-15). APS GCS points = 15 minus gcs. magent does not examine the patient.",
"type": "integer"
},
"heart_rate": {
"description": "Heart rate, ventricular response, integer 20-250. \u2265180 \u2192 4; 140-179 \u2192 3; 110-139 \u2192 2; 70-109 \u2192 0; 55-69 \u2192 2; 40-54 \u2192 3; \u226439 \u2192 4.",
"type": "integer"
},
"hematocrit_percent": {
"description": "Hematocrit percent (5-80). \u226560 \u2192 4; 50-59.9 \u2192 2; 46-49.9 \u2192 1; 30-45.9 \u2192 0; 20-29.9 \u2192 2; <20 \u2192 4.",
"type": "number"
},
"map_mm_hg": {
"description": "Mean arterial pressure in mm Hg (20-250). \u2265160 \u2192 4; 130-159 \u2192 3; 110-129 \u2192 2; 70-109 \u2192 0; 50-69 \u2192 2; \u226449 \u2192 4. magent does not measure blood pressure.",
"type": "number"
},
"pao2_mm_hg": {
"description": "Arterial PaO2 in mm Hg (20-700). Required when fio2 < 0.5. >70 \u2192 0; 61-70 \u2192 1; 55-60 \u2192 3; <55 \u2192 4. Ignored when fio2 \u2265 0.5.",
"type": "number"
},
"potassium_mmol_l": {
"description": "Serum potassium in mmol/L (1-12). \u22657.0 \u2192 4; 6.0-6.9 \u2192 3; 5.5-5.9 \u2192 1; 3.5-5.4 \u2192 0; 3.0-3.4 \u2192 1; 2.5-2.9 \u2192 2; <2.5 \u2192 4.",
"type": "number"
},
"respiratory_rate": {
"description": "Respiratory rate, non-ventilated or ventilated, integer 0-80. \u226550 \u2192 4; 35-49 \u2192 3; 25-34 \u2192 1; 12-24 \u2192 0; 10-11 \u2192 1; 6-9 \u2192 2; \u22645 \u2192 4.",
"type": "integer"
},
"sodium_mmol_l": {
"description": "Serum sodium in mmol/L (90-200). \u2265180 \u2192 4; 160-179 \u2192 3; 155-159 \u2192 2; 150-154 \u2192 1; 130-149 \u2192 0; 120-129 \u2192 2; 111-119 \u2192 3; \u2264110 \u2192 4.",
"type": "number"
},
"temperature_c": {
"description": "Rectal temperature in \u00b0C (20-46) as assigned by the caller (Knaus 1985 Table 1). \u226541 \u2192 4; 39-40.9 \u2192 3; 38.5-38.9 \u2192 1; 36-38.4 \u2192 0; 34-35.9 \u2192 1; 32-33.9 \u2192 2; 30-31.9 \u2192 3; \u226429.9 \u2192 4. magent does not measure temperature or convert Fahrenheit.",
"type": "number"
},
"wbc_k_ul": {
"description": "White blood count in thousands per mm^3 (0.1-100). \u226540 \u2192 4; 20-39.9 \u2192 2; 15-19.9 \u2192 1; 3-14.9 \u2192 0; 1-2.9 \u2192 2; <1 \u2192 4.",
"type": "number"
}
},
"required": [
"temperature_c",
"map_mm_hg",
"heart_rate",