{"slug":"api-magentlab-com-api-calc-maggic-a0e0c0","title":"Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/maggic","category":"other","description":"Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA, creatinine, diabetes, not prescribed beta-blocker, SBP, BMI, HF duration >18 months, current smoker, COPD, male sex, not prescribed ACEI/ARB), including the published age×EF and SBP×EF extras. Returns integer score and","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":303,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"items":[{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150}]},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acei_arb":{"description":"Prescribed an ACE inhibitor or ARB as assigned by the caller. true scores 0; false (not prescribed) scores 1. magent does not prescribe therapy.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Pocock 2013 integer extra depends on EF: <55 scores 0; then 55-59, 60-64, 65-69, 70-74, 75-79, >=80. magent does not examine the patient.","type":"integer"},"beta_blocker":{"description":"Prescribed a beta-blocker as assigned by the caller. true scores 0; false (not prescribed) scores 3. magent does not prescribe therapy.","type":"boolean"},"bmi_kg_m2":{"description":"Caller-supplied body-mass index in kg/m² (10-80). Figure 2: <15 6; 15-19 5; 20-24 3; 25-29 2; >=30 0. magent does not compute BMI from height and weight.","type":"number"},"copd":{"description":"COPD as assigned by the caller. true scores 2. magent does not diagnose COPD.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42, then Figure 2 µmol/L bins. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768), the Figure 2 unit. Provide this or creatinine_mg_dl, not both. Bins: <90 0; 90-109 1; 110-129 2; 130-149 3; 150-169 4; 170-209 5; 210-249 6; >=250 8. magent does not assay creatinine.","type":"number"},"current_smoker":{"description":"Current smoker as assigned by the caller. true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Diabetes as assigned by the caller. true scores 3 (Figure 2). magent does not diagnose diabetes.","type":"boolean"},"ef_percent":{"description":"Left-ventricular ejection fraction in percent (1-90). Figure 2: <20 scores 7; 20-24 6; 25-29 5; 30-34 3; 35-39 2; >=40 0. Also selects the age and SBP extra rows. magent does not read an echocardiogram.","type":"number"},"hf_duration_gt_18_months":{"description":"Heart-failure duration greater than 18 months as assigned by the caller (Table 2 HF duration >18 months). true scores 2. magent does not date the diagnosis.","type":"boolean"},"nyha_class":{"description":"NYHA class 1-4 as assigned by the caller (Figure 2: I 0, II 2, III 6, IV 8). magent does not assign NYHA class.","type":"integer"},"sex":{"description":"Sex (female or male). Male scores 1 (Figure 2).","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Figure 2 extra depends on EF: <110, 110-119, 120-129, 130-139, 140-149, >=150. magent does not measure blood pressure.","type":"number"}},"required":["age","ef_percent","nyha_class","diabetes","beta_blocker","systolic_mm_hg","bmi_kg_m2","hf_duration_gt_18_months","current_smoker","copd","sex","acei_arb"],"type":"object"},"maxItems":25,"minItems":1,"type":"array"}},"required":["items"],"type":"object"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"const":"POST","type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":303,"error":null}],"description_full":"Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA, creatinine, diabetes, not prescribed beta-blocker, SBP, BMI, HF duration >18 months, current smoker, COPD, male sex, not prescribed ACEI/ARB), including the published age×EF and SBP×EF extras. Returns integer score and Table 4 1-year and 3-year death probabilities for scores 0-50. Not a diagnosis, not a treatment order, not a reason to withhold therapy. magent does not examine the patient.","last_updated":"2026-09-28T13:44:17.379Z","schemes":["exact"]}