magent

Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.

Tradingofflineeip155:8453Exactvia cdp
Garfield-afAtrial-fibrillationMortalityStrokeCalculator
Calls · 30d
1→ 0%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 5 snapshots so far.
$13.75
Verified settled volume
2,750 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0050
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-09-04 07:02Z
—
Upstream on-chain volume
Reported by the source catalog.
Paid to
0x836Be278f1739fB4308091cD1852F7971Bc19Ee2

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "PAYMENT-SIGNATURE header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "paymentFlow": "upfront",
        "resourceUrl": "https://api.magentlab.com/api/calc/garfield_af",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    },
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "withdrawDelay": 86400,
        "receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    }
  ],
  "resource": {
    "url": "https://api.magentlab.com/api/calc/garfield_af",
    "tags": [
      "garfield-af",
      "atrial-fibrillation",
      "mortality",
      "stroke",
      "calculator"
    ],
    "mimeType": "application/json",
    "description": "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.",
    "serviceName": "magent"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "age": 65,
            "oac": "none",
            "sex": "male",
            "pulse": 70,
            "dementia": false,
            "diabetes": false,
            "ethnicity": "white",
            "weight_kg": 75,
            "antiplatelet": false,
            "prior_stroke": false,
            "heart_failure": false,
            "current_smoking": false,
            "vascular_disease": false,
            "diastolic_bp_mm_hg": 80,
            "history_of_bleeding": false,
            "moderate_to_severe_ckd": false,
            "carotid_occlusive_disease": false
          }
        },
        "output": {
          "type": "json",
          "example": {
            "age": 65,
            "oac": "none",
            "sex": "male",
            "pulse": 70,
            "formula": "garfield_af",
            "bleed_lp": -0.20835515,
            "citation": {
              "id": "fox-2017-garfield-af",
              "doi": "10.1136/bmjopen-2017-017157",
              "pmid": "29273652",
              "title": "Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation",
              "source": "BMJ Open. 2017;7(12):e017157",
              "authors": "Fox KAA, Lucas JE, Pieper KS, et al."
            },
            "dementia": false,
            "diabetes": false,
            "ethnicity": "white",
            "stroke_lp": 0,
            "weight_kg": 75,
            "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.",
            "antiplatelet": false,
            "mortality_lp": -0.38390175,
            "prior_stroke": false,
            "heart_failure": false,
            "current_smoking": false,
            "bleed_1y_percent": 0.7,
            "vascular_disease": false,
            "stroke_1y_percent": 1.2,
            "diastolic_bp_mm_hg": 80,
            "formula_expression": "mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity",
            "history_of_bleeding": false,
            "mortality_1y_percent": 2.6,
            "moderate_to_severe_ckd": false,
            "carotid_occlusive_disease": false
          }
        },
        "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": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "queryParams": {
                "type": "object",
                "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",
                  "oac",
                  "ethnicity",
                  "carotid_occlusive_disease",
                  "antiplatelet"
                ],
                "properties": {
                  "age": {
                    "type": "integer",
                    "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."
                  },
                  "oac": {
                    "enum": [
                      "none",
                      "noac",
                      "vka"
                    ],
                    "type": "string",
                    "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."
                  },
                  "sex": {
                    "enum": [
                      "female",
                      "male"
                    ],
                    "type": "string",
                    "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."
                  },
                  "pulse": {
                    "type": "number",
                    "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."
                  },
                  "dementia": {
                    "type": "boolean",
                    "description": "Caller-assigned dementia (true or false). Mortality +0.489453313; stroke +0.513221391."
                  },
                  "diabetes": {
                    "type": "boolean",
                    "description": "Caller-assigned diabetes (true or false). Mortality +0.280133213; stroke +0.211995445; bleed +0.176898047."
                  },
                  "ethnicity": {
                    "enum": [
                      "white",
                      "hispanic_latino",
                      "asian",
                      "black_mixed_other"
                    ],
                    "type": "string",
                    "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."
                  },
                  "weight_kg": {
                    "type": "number",
                    "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."
                  },
                  "antiplatelet": {
                    "type": "boolean",
                    "description": "Caller-assigned antiplatelet therapy (true or false). Bleed +0.236620846. Mortality and stroke have no antiplatelet term. magent does not order antiplatelet therapy."
                  },
                  "prior_stroke": {
                    "type": "boolean",
                    "description": "Caller-assigned prior stroke (true or false). Mortality +0.26585298; stroke +0.800863063."
                  },
                  "heart_failure": {
                    "type": "boolean",
                    "description": "Caller-assigned heart failure (true or false). Mortality +0.693789082; stroke +0.233182644. magent does not diagnose heart failure."
                  },
                  "current_smoking": {
                    "type": "boolean",
                    "description": "Caller-assigned current smoking (true or false). Mortality +0.345481149; stroke +0.478831506."
                  },
                  "vascular_disease": {
                    "type": "boolean",
                    "description": "Caller-assigned vascular disease (true or false). Mortality +0.306120964; stroke +0.197919709; bleed +0.168950627."
                  },
                  "diastolic_bp_mm_hg": {
                    "type": "number",
                    "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."
                  },
                  "history_of_bleeding": {
                    "type": "boolean",
                    "description": "Caller-assigned history of bleeding (true or false). Mortality +0.385407386; stroke +0.29883967; bleed +0.782237771."
                  },
                  "moderate_to_severe_ckd": {
                    "type": "boolean",
                    "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."
                  },
                  "carotid_occlusive_disease": {
                    "type": "boolean",
                    "description": "Caller-assigned carotid occlusive disease (true or false). Bleed +0.316245771. Mortality and stroke have no carotid term."
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.005USDC≈ $0.005 USD
on Base · exact scheme

Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.

USD Coin contract
0x8335…02913
Payment window
10 minutes
As published
5000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2",
      "paymentFlow": "upfront",
      "resourceUrl": "https://api.magentlab.com/api/calc/garfield_af",
      "assetTransferMethod": "eip3009"
    },
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "amount": "5000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 600
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "items": [
            {
              "age": 65,
              "oac": "none",
              "sex": "male",
              "pulse": 70,
              "dementia": false,
              "diabetes": false,
              "ethnicity": "white",
              "weight_kg": 75,
              "antiplatelet": false,
              "prior_stroke": false,
              "heart_failure": false,
              "current_smoking": false,
              "vascular_disease": false,
              "diastolic_bp_mm_hg": 80,
              "history_of_bleeding": false,
              "moderate_to_severe_ckd": false,
              "carotid_occlusive_disease": false
            },
            {
              "age": 65,
              "oac": "none",
              "sex": "male",
              "pulse": 70,
              "dementia": false,
              "diabetes": false,
              "ethnicity": "white",
              "weight_kg": 75,
              "antiplatelet": false,
              "prior_stroke": false,
              "heart_failure": false,
              "current_smoking": false,
              "vascular_disease": false,
              "diastolic_bp_mm_hg": 80,
              "history_of_bleeding": false,
              "moderate_to_severe_ckd": false,
              "carotid_occlusive_disease": false
            }
          ]
        },
        "type": "http",
        "method": "POST"
      },
      "output": {
        "type": "json",
        "example": {
          "path": "/api/calc/garfield_af",
          "count": 2,
          "items": [
            {
              "age": 65,
              "oac": "none",
              "sex": "male",
              "pulse": 70,
              "formula": "garfield_af",
              "bleed_lp": -0.20835515,
              "citation": {
                "id": "fox-2017-garfield-af",
                "doi": "10.1136/bmjopen-2017-017157",
                "pmid": "29273652",
                "title": "Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation",
                "source": "BMJ Open. 2017;7(12):e017157",
                "authors": "Fox KAA, Lucas JE, Pieper KS, et al."
              },
              "dementia": false,
              "diabetes": false,
              "ethnicity": "white",
              "stroke_lp": 0,
              "weight_kg": 75,
              "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.",
              "antiplatelet": false,
              "mortality_lp": -0.38390175,
              "prior_stroke": false,
              "heart_failure": false,
              "current_smoking": false,
              "bleed_1y_percent": 0.7,
              "vascular_disease": false,
              "stroke_1y_percent": 1.2,
              "diastolic_bp_mm_hg": 80,
              "formula_expression": "mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity",
              "history_of_bleeding": false,
              "mortality_1y_percent": 2.6,
              "moderate_to_severe_ckd": false,
              "carotid_occlusive_disease": false
            },
            {
              "age": 65,
              "oac": "none",
              "sex": "male",
              "pulse": 70,
              "formula": "garfield_af",
              "bleed_lp": -0.20835515,
              "citation": {
                "id": "fox-2017-garfield-af",
                "doi": "10.1136/bmjopen-2017-017157",
                "pmid": "29273652",
                "title": "Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation",
                "source": "BMJ Open. 2017;7(12):e017157",
                "authors": "Fox KAA, Lucas JE, Pieper KS, et al."
              },
              "dementia": false,
              "diabetes": false,
              "ethnicity": "white",
              "stroke_lp": 0,
              "weight_kg": 75,
              "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.",
              "antiplatelet": false,
              "mortality_lp": -0.38390175,
              "prior_stroke": false,
              "heart_failure": false,
              "current_smoking": false,
              "bleed_1y_percent": 0.7,
              "vascular_disease": false,
              "stroke_1y_percent": 1.2,
              "diastolic_bp_mm_hg": 80,
              "formula_expression": "mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity",
              "history_of_bleeding": false,
              "mortality_1y_percent": 2.6,
              "moderate_to_severe_ckd": false,
              "carotid_occlusive_disease": false
            }
          ]
        }
      },
      "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",
                      "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",
                      "oac",
                      "ethnicity",
                      "carotid_occlusive_disease",
                      "antiplatelet"
                    ],
                    "properties": {
                      "age": {
                        "type": "integer",
                        "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."
                      },
                      "oac": {
                        "enum": [
                          "none",
                          "noac",
                          "vka"
                        ],
                        "type": "string",
                        "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."
                      },
                      "sex": {
                        "enum": [
                          "female",
                          "male"
                        ],
                        "type": "string",
                        "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."
                      },
                      "pulse": {
                        "type": "number",
                        "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."
                      },
                      "dementia": {
                        "type": "boolean",
                        "description": "Caller-assigned dementia (true or false). Mortality +0.489453313; stroke +0.513221391."
                      },
                      "diabetes": {
                        "type": "boolean",
                        "description": "Caller-assigned diabetes (true or false). Mortality +0.280133213; stroke +0.211995445; bleed +0.176898047."
                      },
                      "ethnicity": {
                        "enum": [
                          "white",
                          "hispanic_latino",
                          "asian",
                          "black_mixed_other"
                        ],
                        "type": "string",
                        "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."
                      },
                      "weight_kg": {
                        "type": "number",
                        "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."
                      },
                      "antiplatelet": {
                        "type": "boolean",
                        "description": "Caller-assigned antiplatelet therapy (true or false). Bleed +0.236620846. Mortality and stroke have no antiplatelet term. magent does not order antiplatelet therapy."
                      },
                      "prior_stroke": {
                        "type": "boolean",
                        "description": "Caller-assigned prior stroke (true or false). Mortality +0.26585298; stroke +0.800863063."
                      },
                      "heart_failure": {
                        "type": "boolean",
                        "description": "Caller-assigned heart failure (true or false). Mortality +0.693789082; stroke +0.233182644. magent does not diagnose heart failure."
                      },
                      "current_smoking": {
                        "type": "boolean",
                        "description": "Caller-assigned current smoking (true or false). Mortality +0.345481149; stroke +0.478831506."
                      },
                      "vascular_disease": {
                        "type": "boolean",
                        "description": "Caller-assigned vascular disease (true or false). Mortality +0.306120964; stroke +0.197919709; bleed +0.168950627."
                      },
                      "diastolic_bp_mm_hg": {
                        "type": "number",
                        "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."
                      },
                      "history_of_bleeding": {
                        "type": "boolean",
                        "description": "Caller-assigned history of bleeding (true or false). Mortality +0.385407386; stroke +0.29883967; bleed +0.782237771."
                      },
                      "moderate_to_severe_ckd": {
                        "type": "boolean",
                        "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."
                      },
                      "carotid_occlusive_disease": {
                        "type": "boolean",
                        "description": "Caller-assigned carotid occlusive disease (true or false). Bleed +0.316245771. Mortality and stroke have no carotid term."
                      }
                    }
                  },
                  "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"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-09-04 07:02Z
Last indexed by Roundhouse
2026-09-07 06:20Z
Last enriched (probe, favicon, geo)
2026-09-12 13:45Z
x402 version
2
Max timeout
600s
Liveness probe
HTTP 0
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 5 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service magent and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=magent'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://api.magentlab.com/api/calc/garfield_af, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.