{"slug":"api-magentlab-com-api-calc-apache-ii-edfc0f","title":"Knaus 1985 APACHE II integer","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/apache_ii","category":"other","description":"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","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":321,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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 ≥ 0.5. ≥500 → 4; 350-499 → 3; 200-349 → 2; <200 → 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. ≤44 → 0; 45-54 → 2; 55-64 → 3; 65-74 → 5; ≥75 → 6.","type":"integer"},"arterial_ph":{"description":"Arterial pH (6.5-8.0). ≥7.70 → 4; 7.60-7.69 → 3; 7.50-7.59 → 1; 7.33-7.49 → 0; 7.25-7.32 → 2; 7.15-7.24 → 3; <7.15 → 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 → 0 chronic-health points and elective_postop must be false.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). ≥3.5 → 4; 2.0-3.4 → 3; 1.5-1.9 → 2; 0.6-1.4 → 0; <0.6 → 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 ≥ 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. ≥180 → 4; 140-179 → 3; 110-139 → 2; 70-109 → 0; 55-69 → 2; 40-54 → 3; ≤39 → 4.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (5-80). ≥60 → 4; 50-59.9 → 2; 46-49.9 → 1; 30-45.9 → 0; 20-29.9 → 2; <20 → 4.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-250). ≥160 → 4; 130-159 → 3; 110-129 → 2; 70-109 → 0; 50-69 → 2; ≤49 → 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 → 0; 61-70 → 1; 55-60 → 3; <55 → 4. Ignored when fio2 ≥ 0.5.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). ≥7.0 → 4; 6.0-6.9 → 3; 5.5-5.9 → 1; 3.5-5.4 → 0; 3.0-3.4 → 1; 2.5-2.9 → 2; <2.5 → 4.","type":"number"},"respiratory_rate":{"description":"Respiratory rate, non-ventilated or ventilated, integer 0-80. ≥50 → 4; 35-49 → 3; 25-34 → 1; 12-24 → 0; 10-11 → 1; 6-9 → 2; ≤5 → 4.","type":"integer"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). ≥180 → 4; 160-179 → 3; 155-159 → 2; 150-154 → 1; 130-149 → 0; 120-129 → 2; 111-119 → 3; ≤110 → 4.","type":"number"},"temperature_c":{"description":"Rectal temperature in °C (20-46) as assigned by the caller (Knaus 1985 Table 1). ≥41 → 4; 39-40.9 → 3; 38.5-38.9 → 1; 36-38.4 → 0; 34-35.9 → 1; 32-33.9 → 2; 30-31.9 → 3; ≤29.9 → 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). ≥40 → 4; 20-39.9 → 2; 15-19.9 → 1; 3-14.9 → 0; 1-2.9 → 2; <1 → 4.","type":"number"}},"required":["temperature_c","map_mm_hg","heart_rate","respiratory_rate","fio2","arterial_ph","sodium_mmol_l","potassium_mmol_l","creatinine_mg_dl","hematocrit_percent","wbc_k_ul","gcs","age","chronic_health","elective_postop","acute_renal_failure"],"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"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":321,"error":null}],"description_full":"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.","last_updated":"2026-09-28T14:39:27.421Z","schemes":["exact"]}