{"uid":"cap_eFWqbhL-KgrTHqRiZS8Xr","slug":"timi-risk-score-for-stemi-calculator-469da402","name":"TIMI Risk Score for STEMI Calculator","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/timi_stemi?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["age","diabetes","hypertension","angina","systolic_mm_hg","heart_rate_bpm","killip_class","anterior_ste_or_lbbb","time_to_treatment_gt_4h"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). 65-74 scores 2; ≥75 scores 3. Bands are exclusive."},"angina":{"type":"boolean","description":"Angina history. true or false."},"diabetes":{"type":"boolean","description":"Diabetes mellitus. true or false. Diabetes, hypertension, or angina scores 1 if any is true."},"weight_kg":{"type":"number","description":"Weight in kilograms. Provide weight_kg or weight_lb. Scores 1 when <67 kg; 67 is negative."},"weight_lb":{"type":"number","description":"Weight in pounds. Converted to kg; the <67 kg cutoff is applied in kg."},"hypertension":{"type":"boolean","description":"Hypertension history. true or false."},"killip_class":{"type":"integer","description":"Killip class 1-4. Classes II-IV score 2; class I scores 0. Caller-assigned."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220). Scores 2 when >100; 100 is negative."},"systolic_mm_hg":{"type":"number","description":"Systolic BP in mm Hg (50-250). Scores 3 when <100; 100 is negative."},"anterior_ste_or_lbbb":{"type":"boolean","description":"Anterior ST elevation or LBBB. true or false. Caller-assigned; magent does not read tracings."},"time_to_treatment_gt_4h":{"type":"boolean","description":"Time to treatment >4 hours. true or false. Caller-assigned; magent does not parse timestamps."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/timi_stemi","count":2,"items":[{"score":0,"angina":false,"formula":"timi_stemi","citation":{"id":"morrow-2000","doi":"10.1161/01.CIR.102.17.2031","title":"TIMI risk score for ST-elevation myocardial infarction: A convenient, bedside, clinical score for risk assessment at presentation","source":"Circulation. 2000;102(17):2031-2037","authors":"Morrow DA, Antman EM, Charlesworth A, Cairns R, Murphy SA, de Lemos JA, Giugliano RP, McCabe CH, Braunwald E"},"diabetes":false,"age_years":50,"max_score":14,"weight_kg":80,"components":[{"value":50,"factor":"age_65_74","points":0,"present":false},{"value":50,"factor":"age_ge_75","points":0,"present":false},{"factor":"history_cad_risk","points":0,"present":false},{"value":120,"factor":"systolic_bp_lt_100","points":0,"present":false},{"value":70,"factor":"heart_rate_gt_100","points":0,"present":false},{"value":1,"factor":"killip_ii_iv","points":0,"present":false},{"value":80,"factor":"weight_lt_67","points":0,"present":false},{"factor":"anterior_ste_or_lbbb","points":0,"present":false},{"factor":"time_to_treatment_gt_4h","points":0,"present":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.","hypertension":false,"killip_class":1,"heart_rate_bpm":70,"systolic_mm_hg":120,"history_cad_risk":false,"formula_expression":"TIMI STEMI = age 65-74 (2) or age >=75 (3) + diabetes/hypertension/angina (1) + SBP<100 (3) + HR>100 (2) + Killip II-IV (2) + weight<67 kg (1) + anterior STE or LBBB (1) + time to treatment >4 h (1); max 14","anterior_ste_or_lbbb":false,"time_to_treatment_gt_4h":false},{"score":0,"angina":false,"formula":"timi_stemi","citation":{"id":"morrow-2000","doi":"10.1161/01.CIR.102.17.2031","title":"TIMI risk score for ST-elevation myocardial infarction: A convenient, bedside, clinical score for risk assessment at presentation","source":"Circulation. 2000;102(17):2031-2037","authors":"Morrow DA, Antman EM, Charlesworth A, Cairns R, Murphy SA, de Lemos JA, Giugliano RP, McCabe CH, Braunwald E"},"diabetes":false,"age_years":50,"max_score":14,"weight_kg":80,"components":[{"value":50,"factor":"age_65_74","points":0,"present":false},{"value":50,"factor":"age_ge_75","points":0,"present":false},{"factor":"history_cad_risk","points":0,"present":false},{"value":120,"factor":"systolic_bp_lt_100","points":0,"present":false},{"value":70,"factor":"heart_rate_gt_100","points":0,"present":false},{"value":1,"factor":"killip_ii_iv","points":0,"present":false},{"value":80,"factor":"weight_lt_67","points":0,"present":false},{"factor":"anterior_ste_or_lbbb","points":0,"present":false},{"factor":"time_to_treatment_gt_4h","points":0,"present":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.","hypertension":false,"killip_class":1,"heart_rate_bpm":70,"systolic_mm_hg":120,"history_cad_risk":false,"formula_expression":"TIMI STEMI = age 65-74 (2) or age >=75 (3) + diabetes/hypertension/angina (1) + SBP<100 (3) + HR>100 (2) + Killip II-IV (2) + weight<67 kg (1) + anterior STE or LBBB (1) + time to treatment >4 h (1); max 14","anterior_ste_or_lbbb":false,"time_to_treatment_gt_4h":false}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W52kuZxcsIwLvy8vardK2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the TIMI risk score (0–14) for ST-elevation MI patients from clinical variables including age, comorbidities, hemodynamics, Killip class, ECG findings, and time to treatment.","exampleAgentPrompt":"Calculate the TIMI STEMI risk score for a 72-year-old patient with diabetes and hypertension, systolic BP 88 mmHg, heart rate 112 bpm, Killip class II, weight 61 kg, anterior ST elevation present, and time to treatment greater than 4 hours.","exampleUseCases":[{"title":"ER triage risk stratification for STEMI","prompt":"I need a TIMI STEMI score for a 68-year-old patient with a history of angina, BP 95/60, heart rate 108, Killip class III, weighing 70 kg, no anterior ST elevation, and treatment time under 4 hours — no diabetes or hypertension."},{"title":"High-risk elderly STEMI scoring","prompt":"Score a 78-year-old woman with diabetes, hypertension, and a history of angina presenting with anterior ST elevation, systolic BP 105 mmHg, heart rate 95 bpm, Killip class I, weight 58 kg, and time to treatment more than 4 hours."},{"title":"Low-risk STEMI baseline comparison","prompt":"What's the TIMI STEMI score for a 55-year-old man with no diabetes, no hypertension, no prior angina, BP 130 mmHg, heart rate 78 bpm, Killip class I, weight 80 kg, no anterior ST elevation, and reperfusion under 4 hours?"}],"resultDescription":"Returns a JSON object with the total TIMI STEMI score (integer 0–14) and the individual component contributions (age band, comorbidities, hypotension, tachycardia, Killip class, low weight, anterior STE/LBBB, delayed treatment), along with a citation to the original Morrow 2000 publication.","failureModes":["Missing required parameters (age, killip_class, systolic_mm_hg, etc.) returns a 400/422 validation error","Age out of valid range (below 18 or above 120) rejected","Killip class outside 1–4 returns validation error","Heart rate outside 30–220 bpm range rejected","Systolic BP outside 50–250 mmHg range rejected","Payment failure (x402) if USDC balance is insufficient or payment not attached","Both weight_kg and weight_lb omitted — score component defaults to 0 or may return warning"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, evidence-based TIMI STEMI risk score consistent with the published Morrow 2000 algorithm. Prefer it over general LLM reasoning for clinical scoring tasks where reproducibility and citation traceability matter. It is not a reperfusion protocol recommender or a fibrinolytic eligibility checker — use only for scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:40:36.929Z","isFirstParty":false,"canonicalSlug":"timi-risk-score-for-stemi-calculator-469da402"}