{"api":"v1","generated_at":"2026-10-01T02:46:51.155Z","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-euroscore-ii-590f77","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-euroscore-ii-590f77/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-euroscore-ii-590f77","canonical_url":"https://api.magentlab.com/api/calc/euroscore_ii","resource":"https://api.magentlab.com/api/calc/euroscore_ii","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac surgery. Age Xi is 1 if age <= 60, else age - 59. Renal function is a caller-assigned creatinine-clearance band or dialysis; magent does not run Cockcroft-Gault. Returns logit and estimated_probability_percent from the unrounded logit. Not additive EuroSCORE I, not a medical device, and Nashef 2012 publishes no low/intermediate/high percent cuts.","service_name":"magent","declared_category":null,"declared_tags":["euroscore-ii","cardiac-surgery","mortality","emergency","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:54:10.277Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc euroscore ii","category":"other","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:54:10.096Z"},"validation":{"latest":{"observed_at":"2026-09-30T06:56:29.271Z","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:29.271Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:14:47.039Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:56:33.547Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:42:31.196Z","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":["euroscore-ii","cardiac-surgery","mortality","emergency","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/euroscore_ii","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:54:10.096Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/euroscore_ii","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":60,"sex":"male","nyha":1,"renal":"cc_gt_85","urgency":"elective","recent_mi":false,"ccs_class_4":false,"lv_function":"good","poor_mobility":false,"thoracic_aorta":false,"active_endocarditis":false,"weight_of_procedure":"isolated_cabg","chronic_lung_disease":false,"pulmonary_hypertension":"none","previous_cardiac_surgery":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"critical_preoperative_state":false},{"age":60,"sex":"male","nyha":1,"renal":"cc_gt_85","urgency":"elective","recent_mi":false,"ccs_class_4":false,"lv_function":"good","poor_mobility":false,"thoracic_aorta":false,"active_endocarditis":false,"weight_of_procedure":"isolated_cabg","chronic_lung_disease":false,"pulmonary_hypertension":"none","previous_cardiac_surgery":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"critical_preoperative_state":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/euroscore_ii","count":2,"items":[{"sex":"male","nyha":1,"logit":-5.296,"renal":"cc_gt_85","formula":"euroscore_ii","urgency":"elective","age_step":1,"citation":{"id":"nashef-2012","doi":"10.1093/ejcts/ezs043","pmid":"22378855","title":"EuroSCORE II","source":"Eur J Cardiothorac Surg. 2012;41(4):734-745","authors":"Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U"},"age_years":60,"recent_mi":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.","ccs_class_4":false,"lv_function":"good","poor_mobility":false,"thoracic_aorta":false,"formula_expression":"y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))","active_endocarditis":false,"weight_of_procedure":"isolated_cabg","chronic_lung_disease":false,"pulmonary_hypertension":"none","previous_cardiac_surgery":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"critical_preoperative_state":false,"estimated_probability_percent":0.5},{"sex":"male","nyha":1,"logit":-5.296,"renal":"cc_gt_85","formula":"euroscore_ii","urgency":"elective","age_step":1,"citation":{"id":"nashef-2012","doi":"10.1093/ejcts/ezs043","pmid":"22378855","title":"EuroSCORE II","source":"Eur J Cardiothorac Surg. 2012;41(4):734-745","authors":"Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U"},"age_years":60,"recent_mi":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.","ccs_class_4":false,"lv_function":"good","poor_mobility":false,"thoracic_aorta":false,"formula_expression":"y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))","active_endocarditis":false,"weight_of_procedure":"isolated_cabg","chronic_lung_disease":false,"pulmonary_hypertension":"none","previous_cardiac_surgery":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"critical_preoperative_state":false,"estimated_probability_percent":0.5}]}},"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":["age","sex","renal","nyha","lv_function","urgency","weight_of_procedure","pulmonary_hypertension","extracardiac_arteriopathy","poor_mobility","previous_cardiac_surgery","chronic_lung_disease","active_endocarditis","critical_preoperative_state","insulin_dependent_diabetes","ccs_class_4","recent_mi","thoracic_aorta"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Nashef 2012 Table 6: Xi = 1 if age <= 60; Xi = age - 59 if older (age 61 → 2). Coefficient 0.0285181 on the encoded step, not on raw years."},"sex":{"enum":["male","female"],"type":"string","description":"Sex as assigned by the caller. male is the reference (0). female adds 0.2196434 (Nashef 2012 Table 6)."},"nyha":{"type":"integer","description":"NYHA class 1-4 as assigned by the caller (Nashef 2012 Table 6). class 1 is the reference (0); class 2 +0.1070545; class 3 +0.2958358; class 4 +0.5597929."},"renal":{"enum":["cc_gt_85","cc_51_85","cc_le_50","dialysis"],"type":"string","description":"Nashef 2012 renal-function band as assigned by the caller: cc_gt_85 (reference, 0), cc_51_85 (+0.303553), cc_le_50 (+0.8592256), or dialysis (+0.6421508). magent does not run Cockcroft-Gault and does not parse a creatinine number."},"urgency":{"enum":["elective","urgent","emergency","salvage"],"type":"string","description":"Nashef 2012 urgency as assigned by the caller: elective (reference, 0), urgent (+0.3174673), emergency (+0.7039121), or salvage (+1.362947)."},"recent_mi":{"type":"boolean","description":"true if myocardial infarction within 90 days before operation (Nashef 2012 Table 6 +0.1528943). true or false."},"ccs_class_4":{"type":"boolean","description":"true if CCS class 4 angina (Nashef 2012 Table 6 CCS4 +0.2226147). true or false."},"lv_function":{"enum":["good","moderate","poor","very_poor"],"type":"string","description":"Left-ventricular function band as assigned by the caller: good (LVEF 51% or more, reference 0), moderate (31-50%, +0.3150652), poor (21-30%, +0.8084096), or very_poor (20% or less, +0.9346919). magent does not parse an ejection-fraction number."},"poor_mobility":{"type":"boolean","description":"true if severe impairment of mobility secondary to musculoskeletal or neurological dysfunction (Nashef 2012 Table 6 N/M mob +0.2407181). true or false."},"thoracic_aorta":{"type":"boolean","description":"true if surgery on the thoracic aorta (Nashef 2012 Table 6 +0.6527205). true or false."},"active_endocarditis":{"type":"boolean","description":"true if still on antibiotic treatment for endocarditis at the time of surgery (Nashef 2012 Table 6 AE +0.6194522). true or false."},"weight_of_procedure":{"enum":["isolated_cabg","single_non_cabg","two","three_plus"],"type":"string","description":"Nashef 2012 weight of the intervention as assigned by the caller: isolated_cabg (reference, 0), single_non_cabg (+0.0062118), two (+0.5521478), or three_plus (+0.9724533). magent does not classify an operative note."},"chronic_lung_disease":{"type":"boolean","description":"true if chronic pulmonary dysfunction is present (Nashef 2012 Table 6 CPD +0.1886564). true or false."},"pulmonary_hypertension":{"enum":["none","moderate","severe"],"type":"string","description":"Nashef 2012 Table 6 PA systolic-pressure band as assigned by the caller: none (reference, 0), moderate (31-55 mmHg, +0.1788899), or severe (>=55 mmHg, +0.3491475). magent does not parse a PA pressure number."},"previous_cardiac_surgery":{"type":"boolean","description":"true if one or more previous major cardiac operations involving opening the pericardium (Nashef 2012 Table 6 redo +1.118599). true or false."},"extracardiac_arteriopathy":{"type":"boolean","description":"true if extracardiac arteriopathy is present (Nashef 2012 Table 6 ECA +0.5360268). true or false."},"insulin_dependent_diabetes":{"type":"boolean","description":"true if insulin-dependent diabetes mellitus (Nashef 2012 Table 6 IDDM +0.3542749). true or false."},"critical_preoperative_state":{"type":"boolean","description":"true if a Nashef 2012 critical preoperative state is present (Table 6 +1.086517). true or false. magent does not assign this from a chart."}}},"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":"Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac surgery. Age Xi is 1 if age <= 60, else age - 59. Renal function is a caller-assigned creatinine-clearance band or dialysis; magent does not run Cockcroft-Gault. Returns logit and estimated_probability_percent from the unrounded logit. Not additive EuroSCORE I, not a medical device, and Nashef 2012 publishes no low/intermediate/high percent cuts.","lastUpdated":"2026-09-28T14:54:10.277Z","serviceName":"magent","x402Version":2}]}}