{"api":"v1","generated_at":"2026-10-01T05:34:54.788Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-apache-ii-59ba47","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-apache-ii-59ba47/at/2026-09-30T22-14Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-30T22:14:11.940Z","snapshot_stamp":"2026-09-30T22-14Z","endpoint":{"slug":"api-magentlab-com-api-calc-apache-ii-59ba47","canonical_url":"https://api.magentlab.com/api/calc/apache_ii","resource":"https://api.magentlab.com/api/calc/apache_ii","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"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 predicted death risk. magent does not measure vitals.","service_name":"magent","declared_category":null,"declared_tags":["apache-ii","icu","severity","physiology"],"route_template":null,"registry_updated":"2026-09-28T14:39:27.421Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc apache ii","category":"compute","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-09-30T22:14:11.940Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-09-30T22:14:11.940Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:39:27.295Z"},"validation":{"latest":{"observed_at":"2026-09-30T06:56:58.763Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":4,"passed":4,"ratio":1},{"days":30,"observed":4,"passed":4,"ratio":1},{"days":90,"observed":4,"passed":4,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T06:56:58.763Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:15:15.024Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:56:34.871Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:42:33.198Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["apache-ii","icu","severity","physiology"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/apache_ii","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:39:27.295Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/apache_ii","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":40,"gcs":15,"fio2":0.21,"wbc_k_ul":8,"map_mm_hg":90,"heart_rate":80,"pao2_mm_hg":90,"aa_gradient":100,"arterial_ph":7.4,"sodium_mmol_l":140,"temperature_c":37,"chronic_health":false,"elective_postop":false,"creatinine_mg_dl":1,"potassium_mmol_l":4,"respiratory_rate":16,"hematocrit_percent":40,"acute_renal_failure":false},{"age":40,"gcs":15,"fio2":0.21,"wbc_k_ul":8,"map_mm_hg":90,"heart_rate":80,"pao2_mm_hg":90,"aa_gradient":100,"arterial_ph":7.4,"sodium_mmol_l":140,"temperature_c":37,"chronic_health":false,"elective_postop":false,"creatinine_mg_dl":1,"potassium_mmol_l":4,"respiratory_rate":16,"hematocrit_percent":40,"acute_renal_failure":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/apache_ii","count":2,"items":[{"score":0,"formula":"apache_ii","citation":{"id":"knaus-1985","doi":"10.1097/00003246-198510000-00009","pmid":"3928249","title":"APACHE II: a severity of disease classification system","source":"Crit Care Med. 1985;13(10):818-829","authors":"Knaus WA, Draper EA, Wagner DP, Zimmerman JE"},"max_score":71,"components":[{"value":37,"factor":"temperature_c","points":0,"present":false},{"value":90,"factor":"map_mm_hg","points":0,"present":false},{"value":80,"factor":"heart_rate","points":0,"present":false},{"value":16,"factor":"respiratory_rate","points":0,"present":false},{"fio2":0.21,"value":90,"branch":"pao2_mm_hg","factor":"oxygenation","points":0,"present":false},{"value":7.4,"factor":"arterial_ph","points":0,"present":false},{"value":140,"factor":"sodium_mmol_l","points":0,"present":false},{"value":4,"factor":"potassium_mmol_l","points":0,"present":false},{"value":1,"factor":"creatinine_mg_dl","points":0,"present":false,"acute_renal_failure":false},{"value":40,"factor":"hematocrit_percent","points":0,"present":false},{"value":8,"factor":"wbc_k_ul","points":0,"present":false},{"value":15,"factor":"gcs","points":0,"present":false},{"value":40,"factor":"age","points":0,"present":false},{"factor":"chronic_health","points":0,"present":false,"chronic_health":false,"elective_postop":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_expression":"APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71"},{"score":0,"formula":"apache_ii","citation":{"id":"knaus-1985","doi":"10.1097/00003246-198510000-00009","pmid":"3928249","title":"APACHE II: a severity of disease classification system","source":"Crit Care Med. 1985;13(10):818-829","authors":"Knaus WA, Draper EA, Wagner DP, Zimmerman JE"},"max_score":71,"components":[{"value":37,"factor":"temperature_c","points":0,"present":false},{"value":90,"factor":"map_mm_hg","points":0,"present":false},{"value":80,"factor":"heart_rate","points":0,"present":false},{"value":16,"factor":"respiratory_rate","points":0,"present":false},{"fio2":0.21,"value":90,"branch":"pao2_mm_hg","factor":"oxygenation","points":0,"present":false},{"value":7.4,"factor":"arterial_ph","points":0,"present":false},{"value":140,"factor":"sodium_mmol_l","points":0,"present":false},{"value":4,"factor":"potassium_mmol_l","points":0,"present":false},{"value":1,"factor":"creatinine_mg_dl","points":0,"present":false,"acute_renal_failure":false},{"value":40,"factor":"hematocrit_percent","points":0,"present":false},{"value":8,"factor":"wbc_k_ul","points":0,"present":false},{"value":15,"factor":"gcs","points":0,"present":false},{"value":40,"factor":"age","points":0,"present":false},{"factor":"chronic_health","points":0,"present":false,"chronic_health":false,"elective_postop":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_expression":"APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71"}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","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"],"properties":{"age":{"type":"integer","description":"Age in years, integer 16-120. ≤44 → 0; 45-54 → 2; 55-64 → 3; 65-74 → 5; ≥75 → 6."},"gcs":{"type":"integer","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."},"fio2":{"type":"number","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."},"wbc_k_ul":{"type":"number","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."},"map_mm_hg":{"type":"number","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."},"heart_rate":{"type":"integer","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."},"pao2_mm_hg":{"type":"number","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."},"aa_gradient":{"type":"number","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."},"arterial_ph":{"type":"number","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."},"sodium_mmol_l":{"type":"number","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."},"temperature_c":{"type":"number","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."},"chronic_health":{"type":"boolean","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."},"elective_postop":{"type":"boolean","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."},"creatinine_mg_dl":{"type":"number","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."},"potassium_mmol_l":{"type":"number","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."},"respiratory_rate":{"type":"integer","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."},"hematocrit_percent":{"type":"number","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."},"acute_renal_failure":{"type":"boolean","description":"true doubles the creatinine Table 1 points (Knaus 1985). false leaves creatinine points unchanged. magent does not diagnose renal failure."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"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 predicted death risk. magent does not measure vitals.","lastUpdated":"2026-09-28T14:39:27.421Z","serviceName":"magent","x402Version":2}]}}