{"api":"v1","generated_at":"2026-10-02T17:56:36.481Z","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-gupta-mica-b75f54","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-gupta-mica-b75f54/at/2026-10-02T12-31Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T12:31:46.748Z","snapshot_stamp":"2026-10-02T12-31Z","endpoint":{"slug":"api-magentlab-com-api-calc-gupta-mica-b75f54","canonical_url":"https://api.magentlab.com/api/calc/gupta_mica","resource":"https://api.magentlab.com/api/calc/gupta_mica","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Gupta 2011 Table 2 logistic probability of 30-day myocardial infarction or cardiac arrest after surgery from age, ASA class, functional status, creatinine category (normal, abnormal >1.5 mg/dL, or missing), and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not surgical clearance, and not RCRI. Gupta 2011 publishes no low/high cutoff.","service_name":"magent","declared_category":null,"declared_tags":["gupta-mica","preoperative","cardiac-risk","emergency","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:37:27.445Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc gupta mica","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-02T12:31:46.748Z","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-10-02T12:31:46.748Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:37:27.320Z"},"validation":{"latest":{"observed_at":"2026-10-02T16:21:25.054Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T16:21:25.054Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T09:06:23.202Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T08:32:43.991Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T20:40:22.085Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:47:35.429Z","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":["gupta-mica","preoperative","cardiac-risk","emergency","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gupta_mica","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:37:27.32Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/gupta_mica","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":40,"surgery":"gbaas","asa_class":2,"creatinine":"normal","functional_status":"independent"},{"age":40,"surgery":"gbaas","asa_class":2,"creatinine":"normal","functional_status":"independent"}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/gupta_mica","count":2,"items":[{"logit":-7.15,"formula":"gupta_mica","surgery":"gbaas","citation":{"id":"gupta-2011","doi":"10.1161/CIRCULATIONAHA.110.015701","pmid":"21730309","title":"Development and validation of a risk calculator for prediction of cardiac risk after surgery","source":"Circulation. 2011;124(4):381-387","authors":"Gupta PK, Gupta H, Sundaram A, et al."},"age_years":40,"asa_class":2,"creatinine":"normal","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.","functional_status":"independent","formula_expression":"L = -5.25 + 0.02*age + functional_status + asa_class + creatinine + surgery (Gupta 2011 Table 2); independent 0, partially_dependent 0.65, totally_dependent 1.03; ASA1 -5.17, ASA2 -3.29, ASA3 -1.92, ASA4 -0.95, ASA5 0; creatinine normal 0, abnormal 0.61, missing -0.10; hernia 0, anorectal -0.16, aortic 1.60, bariatric -0.25, brain 1.40, breast -1.61, cardiac 1.01, ent 0.71, foregut_hpb 1.39, gbaas 0.59, intestinal 1.14, neck 0.18, obstetric_gynecologic 0.76, orthopedic 0.80, other_abdomen 1.13, peripheral_vascular 0.86, skin 0.54, spine 0.21, thoracic 0.40, vein -1.09, urology -0.26; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","estimated_probability_percent":0.08},{"logit":-7.15,"formula":"gupta_mica","surgery":"gbaas","citation":{"id":"gupta-2011","doi":"10.1161/CIRCULATIONAHA.110.015701","pmid":"21730309","title":"Development and validation of a risk calculator for prediction of cardiac risk after surgery","source":"Circulation. 2011;124(4):381-387","authors":"Gupta PK, Gupta H, Sundaram A, et al."},"age_years":40,"asa_class":2,"creatinine":"normal","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.","functional_status":"independent","formula_expression":"L = -5.25 + 0.02*age + functional_status + asa_class + creatinine + surgery (Gupta 2011 Table 2); independent 0, partially_dependent 0.65, totally_dependent 1.03; ASA1 -5.17, ASA2 -3.29, ASA3 -1.92, ASA4 -0.95, ASA5 0; creatinine normal 0, abnormal 0.61, missing -0.10; hernia 0, anorectal -0.16, aortic 1.60, bariatric -0.25, brain 1.40, breast -1.61, cardiac 1.01, ent 0.71, foregut_hpb 1.39, gbaas 0.59, intestinal 1.14, neck 0.18, obstetric_gynecologic 0.76, orthopedic 0.80, other_abdomen 1.13, peripheral_vascular 0.86, skin 0.54, spine 0.21, thoracic 0.40, vein -1.09, urology -0.26; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","estimated_probability_percent":0.08}]}},"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","functional_status","asa_class","creatinine","surgery"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Gupta 2011 Table 2: +0.02 per year."},"surgery":{"enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string","description":"Gupta 2011 Table 2 procedure category as assigned by the caller. hernia is the reference (0). gbaas is gallbladder, adrenal, appendix, or spleen (laparoscopic cholecystectomy in the paper example). magent does not classify a CPT code."},"asa_class":{"type":"integer","description":"ASA physical status 1-5 (Gupta 2011 Table 2; class 5 is the reference). class 1 -5.17, class 2 -3.29, class 3 -1.92, class 4 -0.95, class 5 adds 0. Caller-assigned integer."},"creatinine":{"enum":["normal","abnormal","missing"],"type":"string","description":"Gupta 2011 creatinine category as assigned by the caller: normal (reference, 0), abnormal (>1.5 mg/dL, +0.61), or missing (-0.10). Do not send a creatinine number."},"functional_status":{"enum":["independent","partially_dependent","totally_dependent"],"type":"string","description":"Gupta 2011 functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.65), or totally_dependent (+1.03). magent does not examine the patient."}}},"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":"Gupta 2011 Table 2 logistic probability of 30-day myocardial infarction or cardiac arrest after surgery from age, ASA class, functional status, creatinine category (normal, abnormal >1.5 mg/dL, or missing), and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not surgical clearance, and not RCRI. Gupta 2011 publishes no low/high cutoff.","lastUpdated":"2026-09-28T14:37:27.445Z","serviceName":"magent","x402Version":2}]}}