ToolAssay

Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA

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.

Answeringour last check, 2026-09-28
1 of 1checks answered this week
303 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.magentlab.com/api/calc/maggic

CategoryEverything else
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.005 303 ms

Example input (from the provider)

{
  "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"
}

Promised output schema (from the provider)

{
  "$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\u00b2 (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 \u00b5mol/L = mg/dL \u00d7 88.42, then Figure 2 \u00b5mol/L bins. Provide this or creatinine_umol_l, not both.",
                    "type": "number"
                  },
                  "creatinine_umol_l": {
                    "description": "Serum creatinine in \u00b5mol/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"
}

This page as JSON