ToolAssay

Fox 2017 GARFIELD-AF 1-year all-cause mortality, ischaemic stroke/systemic embol

Fox 2017 GARFIELD-AF 1-year all-cause mortality, ischaemic stroke/systemic embolism, and major bleed from age, sex, weight, pulse, diastolic BP, comorbidities, smoking, caller-assigned ethnicity (White/Caucasian reference; Hispanic/Latino, Asian, Black/Mixed/Other), oral anticoagulant class (none, NOAC, VKA), carotid occlusive disease, and antiplatelet therapy. Published 1-year equations. magent does not assign race or ethnicity. Not a diagnosis or anticoagulation order.

Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
271 msmedian answer time
$0.005listed price per call
$0.007price 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/garfield_af

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.007 271 ms

Example input (from the provider)

{
  "body": {
    "items": [
      {
        "age": 65,
        "antiplatelet": false,
        "carotid_occlusive_disease": false,
        "current_smoking": false,
        "dementia": false,
        "diabetes": false,
        "diastolic_bp_mm_hg": 80,
        "ethnicity": "white",
        "heart_failure": false,
        "history_of_bleeding": false,
        "moderate_to_severe_ckd": false,
        "oac": "none",
        "prior_stroke": false,
        "pulse": 70,
        "sex": "male",
        "vascular_disease": false,
        "weight_kg": 75
      },
      {
        "age": 65,
        "antiplatelet": false,
        "carotid_occlusive_disease": false,
        "current_smoking": false,
        "dementia": false,
        "diabetes": false,
        "diastolic_bp_mm_hg": 80,
        "ethnicity": "white",
        "heart_failure": false,
        "history_of_bleeding": false,
        "moderate_to_severe_ckd": false,
        "oac": "none",
        "prior_stroke": false,
        "pulse": 70,
        "sex": "male",
        "vascular_disease": false,
        "weight_kg": 75
      }
    ]
  },
  "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": {
                  "age": {
                    "description": "Age in years (integer 18-120). Fox 2017 / GARFIELD-AF: mortality uses 0.031050027*(age-65) when age<=65 and 0.064594824*(age-65) when age>65. Stroke and bleed use 0.039138147*(age-65) and 0.043476276*(age-65) with no knot.",
                    "type": "integer"
                  },
                  "antiplatelet": {
                    "description": "Caller-assigned antiplatelet therapy (true or false). Bleed +0.236620846. Mortality and stroke have no antiplatelet term. magent does not order antiplatelet therapy.",
                    "type": "boolean"
                  },
                  "carotid_occlusive_disease": {
                    "description": "Caller-assigned carotid occlusive disease (true or false). Bleed +0.316245771. Mortality and stroke have no carotid term.",
                    "type": "boolean"
                  },
                  "current_smoking": {
                    "description": "Caller-assigned current smoking (true or false). Mortality +0.345481149; stroke +0.478831506.",
                    "type": "boolean"
                  },
                  "dementia": {
                    "description": "Caller-assigned dementia (true or false). Mortality +0.489453313; stroke +0.513221391.",
                    "type": "boolean"
                  },
                  "diabetes": {
                    "description": "Caller-assigned diabetes (true or false). Mortality +0.280133213; stroke +0.211995445; bleed +0.176898047.",
                    "type": "boolean"
                  },
                  "diastolic_bp_mm_hg": {
                    "description": "Diastolic blood pressure in mm Hg (30-150). Mortality: -0.019304333*(dbp-80) when dbp<=80; 0 when dbp>80. Stroke: 0.01590016*(dbp-80) when dbp>80; 0 when dbp<=80.",
                    "type": "number"
                  },
                  "ethnicity": {
                    "description": "Caller-assigned ethnicity using Fox 2017 / GARFIELD-AF terms. white (White/Caucasian) is the mortality reference (0); hispanic_latino +0.157023564; asian -0.609609055; black_mixed_other +0.375675102. Stroke and bleed have no ethnicity term. magent does not assign race or ethnicity.",
                    "enum": [
                      "white",
                      "hispanic_latino",
                      "asian",
                      "black_mixed_other"
                    ],
                    "type": "string"
                  },
                  "heart_failure": {
                    "description": "Caller-assigned heart failure (true or false). Mortality +0.693789082; stroke +0.233182644. magent does not diagnose heart failure.",
                    "type": "boolean"
                  },
                  "history_of_bleeding": {
                    "description": "Caller-assigned history of bleeding (true or false). Mortality +0.385407386; stroke +0.29883967; bleed +0.782237771.",
                    "type": "boolean"
                  },
                  "moderate_to_severe_ckd": {
                    "description": "Caller-assigned moderate-to-severe chronic kidney disease (true or false). Mortality +0.377903886; stroke +0.349516938; bleed +0.498686574. magent does not compute eGFR.",
                    "type": "boolean"
                  },
                  "oac": {
                    "description": "Caller-assigned oral anticoagulant class: none, noac, or vka (mutually exclusive). NOAC and VKA enter as separate Fox 2017 terms. magent does not choose an anticoagulant.",
                    "enum": [
                      "none",
                      "noac",
                      "vka"
                    ],
                    "type": "string"
                  },
                  "prior_stroke": {
                    "description": "Caller-assigned prior stroke (true or false). Mortality +0.26585298; stroke +0.800863063.",
                    "type": "boolean"
                  },
                  "pulse": {
                    "description": "Pulse in beats per minute (30-250). Mortality: 0.007678035*(pulse-120) when pulse<=120; 0 when pulse>120. Bleed uses 0.004167103*(pulse-120) with no truncation.",
                    "type": "number"
                  },
                  "sex": {
                    "description": "Sex as recorded (female or male). Fox 2017 female sex adds 0.306202287 to the mortality linear predictor. Stroke and bleed equations have no sex term.",
                    "enum": [
                      "female",
                      "male"
                    ],
                    "type": "string"
                  },
                  "vascular_disease": {
                    "description": "Caller-assigned vascular disease (true or false). Mortality +0.306120964; stroke +0.197919709; bleed +0.168950627.",
                    "type": "boolean"
                  },
                  "weight_kg": {
                    "description": "Weight in kg (20-300). Mortality: -0.021535182*(weight_kg-75) when weight_kg<=75; 0 when weight_kg>75. magent does not convert lb.",
                    "type": "number"
                  }
                },
                "required": [
                  "age",
                  "sex",
                  "weight_kg",
                  "pulse",
                  "diastolic_bp_mm_hg",
                  "heart_failure",
                  "vascular_disease",
                  "prior_stroke",
                  "history_of_bleeding",
                  "diabetes",
                  "moderate_to_severe_ckd",
                  "dementia",
                  "current_smoking",
        

This page as JSON