{"api":"v1","generated_at":"2026-10-01T02:44:08.776Z","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-hope-33ef68","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-hope-33ef68/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-hope-33ef68","canonical_url":"https://api.magentlab.com/api/calc/hope","resource":"https://api.magentlab.com/api/calc/hope","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Pasquier 2018 HOPE survival probability after ECLS for hypothermic cardiac arrest from sex (published male coefficient, not race), asphyxia, age, potassium, CPR duration, and temperature. Returns logit, estimated_survival_percent from the unrounded logit, and Table 2 HOPE >= 10% flag. Not an ECLS or rewarming order. magent does not cannulate.","service_name":"magent","declared_category":null,"declared_tags":["hope","hypothermia","cardiac-arrest","ecls","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:47:33.421Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc hope","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:47:33.297Z"},"validation":{"latest":{"observed_at":"2026-09-30T06:20:15.726Z","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:20:15.726Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:40:38.687Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:54:22.312Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:40:20.670Z","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":["hope","hypothermia","cardiac-arrest","ecls","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hope","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:47:33.297Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/hope","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":40,"sex":"female","asphyxia":false,"temperature_c":28,"cpr_duration_min":30,"potassium_mmol_l":4},{"age":40,"sex":"female","asphyxia":false,"temperature_c":28,"cpr_duration_min":30,"potassium_mmol_l":4}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/hope","count":2,"items":[{"sex":"female","logit":1.6,"formula":"hope","asphyxia":false,"citation":{"id":"pasquier-2018","doi":"10.1016/j.resuscitation.2018.02.026","pmid":"29481910","title":"Hypothermia outcome prediction after extracorporeal life support for hypothermic cardiac arrest patients: The HOPE score","source":"Resuscitation. 2018;126:58-64","authors":"Pasquier M, Hugli O, Paal P, Darocha T, Blancher M, Husby P, Silfvast T, Carron PN, Rousson V"},"age_years":40,"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.","temperature_c":28,"cpr_duration_min":30,"potassium_mmol_l":4,"formula_expression":"logit = 2.44 - 1.55*male - 1.95*asphyxia - 0.0191*age - 2.07*log2(potassium_mmol_l) - 0.573*log2(cpr_duration_min) + 0.937*temperature_c - 0.0247*temperature_c^2; survival_probability = exp(logit)/(1+exp(logit)); estimated_survival_percent = 100 * survival_probability from the unrounded logit, 2 decimals; male is 1 if sex is male else 0; asphyxia is 1 if asphyxia-related (head fully covered by water or snow AND cardiac arrest at extrication) else 0; hope_ge_10_percent is true when survival_probability >= 0.10 (Pasquier 2018 Table 2)","hope_ge_10_percent":true,"estimated_survival_percent":83.14},{"sex":"female","logit":1.6,"formula":"hope","asphyxia":false,"citation":{"id":"pasquier-2018","doi":"10.1016/j.resuscitation.2018.02.026","pmid":"29481910","title":"Hypothermia outcome prediction after extracorporeal life support for hypothermic cardiac arrest patients: The HOPE score","source":"Resuscitation. 2018;126:58-64","authors":"Pasquier M, Hugli O, Paal P, Darocha T, Blancher M, Husby P, Silfvast T, Carron PN, Rousson V"},"age_years":40,"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.","temperature_c":28,"cpr_duration_min":30,"potassium_mmol_l":4,"formula_expression":"logit = 2.44 - 1.55*male - 1.95*asphyxia - 0.0191*age - 2.07*log2(potassium_mmol_l) - 0.573*log2(cpr_duration_min) + 0.937*temperature_c - 0.0247*temperature_c^2; survival_probability = exp(logit)/(1+exp(logit)); estimated_survival_percent = 100 * survival_probability from the unrounded logit, 2 decimals; male is 1 if sex is male else 0; asphyxia is 1 if asphyxia-related (head fully covered by water or snow AND cardiac arrest at extrication) else 0; hope_ge_10_percent is true when survival_probability >= 0.10 (Pasquier 2018 Table 2)","hope_ge_10_percent":true,"estimated_survival_percent":83.14}]}},"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","asphyxia","cpr_duration_min","potassium_mmol_l","temperature_c"],"properties":{"age":{"type":"integer","description":"Age in years, integer 0-100. Pasquier 2018 coefficient -0.0191 per year. magent does not read an identity document."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used as the published Pasquier 2018 male coefficient (male = 1, female = 0). Not race. magent does not examine the patient."},"asphyxia":{"type":"boolean","description":"true if the caller assigns an asphyxia-related mechanism: head fully covered by water or snow AND cardiac arrest at extrication (Pasquier 2018). true scores 1 in the logit; false scores 0. magent does not classify the scene."},"temperature_c":{"type":"number","description":"Core temperature in C (10-37). Linear and squared Pasquier 2018 terms. Caller-supplied; magent does not measure temperature or convert Fahrenheit."},"cpr_duration_min":{"type":"number","description":"Duration of CPR in minutes from start of CPR to ECLS (1-480). Enters as log2. Must be greater than 0 (0 is invalid). Caller-supplied; magent does not time the arrest."},"potassium_mmol_l":{"type":"number","description":"Serum potassium in mmol/L (0.5-20). Enters as log2. Must be greater than 0. Caller-supplied; magent does not assay potassium."}}},"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":"Pasquier 2018 HOPE survival probability after ECLS for hypothermic cardiac arrest from sex (published male coefficient, not race), asphyxia, age, potassium, CPR duration, and temperature. Returns logit, estimated_survival_percent from the unrounded logit, and Table 2 HOPE >= 10% flag. Not an ECLS or rewarming order. magent does not cannulate.","lastUpdated":"2026-09-28T14:47:33.421Z","serviceName":"magent","x402Version":2}]}}