magent
Levy 2006 Seattle Heart Failure Model 1-, 2-, and 3-year survival from Table 2 multivariate HRs. Score = sum of ln(HR)*x; S(t)=exp(-0.0405*t)**exp(score). Age, sex, NYHA, EF, ischemic etiology, SBP, furosemide-eq diuretic, labs, and already-on ACEI, beta-blocker, ARB, K-sparing diuretic, statin, BiV, ICD, or BiV-ICD. Caller assigns class, etiology, and therapy. magent does not measure labs or blood pressure. Not a diagnosis, prescription, or device order.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
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/shfm",
"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/shfm",
"tags": [
"seattle-hf",
"heart-failure",
"hemodynamics",
"survival",
"calculator"
],
"mimeType": "application/json",
"description": "Levy 2006 Seattle Heart Failure Model 1-, 2-, and 3-year survival from Table 2 multivariate HRs. Score = sum of ln(HR)*x; S(t)=exp(-0.0405*t)**exp(score). Age, sex, NYHA, EF, ischemic etiology, SBP, furosemide-eq diuretic, labs, and already-on ACEI, beta-blocker, ARB, K-sparing diuretic, statin, BiV, ICD, or BiV-ICD. Caller assigns class, etiology, and therapy. magent does not measure labs or blood pressure. Not a diagnosis, prescription, or device order.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 60,
"arb": false,
"icd": false,
"sex": "male",
"nyha": 2,
"statin": false,
"biv_icd": false,
"ischemic": false,
"sbp_mm_hg": 120,
"weight_kg": 80,
"ef_percent": 30,
"allopurinol": false,
"beta_blocker": true,
"sodium_meq_l": 140,
"ace_inhibitor": true,
"biv_pacemaker": false,
"hemoglobin_g_dl": 14,
"uric_acid_mg_dl": 6,
"k_sparing_diuretic": false,
"lymphocyte_percent": 25,
"total_cholesterol_mg_dl": 180,
"loop_diuretic_furosemide_eq_mg_day": 0
}
},
"output": {
"type": "json",
"example": {
"age": 60,
"arb": false,
"icd": false,
"sex": "male",
"nyha": 2,
"score": -0.1089,
"statin": false,
"biv_icd": false,
"formula": "shfm",
"citation": {
"id": "levy-2006-shfm",
"doi": "10.1161/CIRCULATIONAHA.105.584102",
"pmid": "16534009",
"title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure",
"source": "Circulation. 2006;113(11):1424-1433",
"authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al."
},
"ischemic": false,
"sbp_mm_hg": 120,
"weight_kg": 80,
"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.",
"ef_percent": 30,
"allopurinol": false,
"beta_blocker": true,
"sodium_meq_l": 140,
"ace_inhibitor": true,
"biv_pacemaker": false,
"hemoglobin_g_dl": 14,
"uric_acid_mg_dl": 6,
"formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
"k_sparing_diuretic": false,
"lymphocyte_percent": 25,
"survival_1y_percent": 96.4,
"survival_2y_percent": 93,
"survival_3y_percent": 89.7,
"total_cholesterol_mg_dl": 180,
"diuretic_furosemide_eq_mg_kg_day": 0,
"loop_diuretic_furosemide_eq_mg_day": 0
}
},
"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",
"nyha",
"ef_percent",
"ischemic",
"sbp_mm_hg",
"weight_kg",
"loop_diuretic_furosemide_eq_mg_day",
"allopurinol",
"sodium_meq_l",
"total_cholesterol_mg_dl",
"hemoglobin_g_dl",
"lymphocyte_percent",
"uric_acid_mg_dl",
"ace_inhibitor",
"beta_blocker",
"arb",
"k_sparing_diuretic",
"statin",
"biv_pacemaker",
"icd",
"biv_icd"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 14-100). Levy 2006 Table 2: per decade, multivariate HR 1.090. magent does not take a date of birth."
},
"arb": {
"type": "boolean",
"description": "Patient already on an angiotensin-receptor blocker as assigned by the caller (true or false). Table 2 already-on HR 0.85. Not a prescription."
},
"icd": {
"type": "boolean",
"description": "Patient already has an ICD (without biventricular pacing) as assigned by the caller (true or false). Table 2 already-on HR 0.73. Mutually exclusive with biv_pacemaker and biv_icd. Not a device order."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Sex used by the forced Table 2 male HR 1.089 (female or male). magent does not assign sex."
},
"nyha": {
"enum": [
1,
2,
3,
4
],
"type": "integer",
"description": "NYHA class 1-4 as assigned by the caller (integer). Levy 2006 Table 2 multivariate HR 1.600 per class. magent does not examine the patient."
},
"statin": {
"type": "boolean",
"description": "Patient already on a statin as assigned by the caller (true or false). Table 2 already-on / multivariate HR 0.63. Not a prescription."
},
"biv_icd": {
"type": "boolean",
"description": "Patient already has a biventricular ICD as assigned by the caller (true or false). Table 2 already-on HR 0.79. Mutually exclusive with biv_pacemaker and icd. Not a device order."
},
"ischemic": {
"type": "boolean",
"description": "Ischemic etiology as assigned by the caller (true or false). Table 2 multivariate HR 1.354. magent does not assign etiology."
},
"sbp_mm_hg": {
"type": "number",
"description": "Systolic blood pressure in mm Hg (50-250). Table 2: per 10 mm Hg, HR 0.877, truncated at 160 (SBP 180 is scored as 160). magent does not measure blood pressure."
},
"weight_kg": {
"type": "number",
"description": "Body weight in kg (20-250) used only to convert the furosemide-equivalent diuretic dose to mg/kg/day. magent does not weigh the patient."
},
"ef_percent": {
"type": "number",
"description": "Left-ventricular ejection fraction in percent (1-80). Enters as 100/EF with Table 2 HR 1.030. magent does not interpret an echocardiogram."
},
"allopurinol": {
"type": "boolean",
"description": "Current allopurinol as assigned by the caller (true or false). Table 2 multivariate HR 1.571. magent does not prescribe allopurinol."
},
"beta_blocker": {
"type": "boolean",
"description": "Patient already on a beta-blocker as assigned by the caller (true or false). Table 2 already-on HR 0.66. Not a prescription."
},
"sodium_meq_l": {
"type": "number",
"description": "Serum sodium in mEq/L (110-160). Table 2: if Na<138, (138-Na) with HR 1.050 per mEq; values ≥138 add 0. magent does not assay sodium."
},
"ace_inhibitor": {
"type": "boolean",
"description": "Patient already on an ACE inhibitor as assigned by the caller (true or false). Table 2 already-on HR 0.77. Not a prescription."
},
"biv_pacemaker": {
"type": "boolean",
"description": "Patient already has a biventricular pacemaker (without ICD) as assigned by the caller (true or false). Table 2 already-on HR 1.00. Mutually exclusive with icd and biv_icd. Not a device order."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Hemoglobin in g/dL (4-22). Table 2: if Hb<16, (16-Hb) with HR 1.124 per g/dL; if Hb>16, (Hb-16) with HR 1.336 per g/dL. magent does not assay hemoglobin."
},
"uric_acid_mg_dl": {
"type": "number",
"description": "Serum uric acid in mg/dL (0.5-25). Table 2: per mg/dL when >3.4, HR 1.064; values <3.4 are truncated to 3.4. magent does not assay uric acid."
},
"k_sparing_diuretic": {
"type": "boolean",
"description": "Patient already on a potassium-sparing diuretic as assigned by the caller (true or false). Table 2 already-on HR 0.74. Not a prescription."
},
"lymphocyte_percent": {
"type": "number",
"description": "Percent lymphocytes (0-100). Table 2: per 5% when <47%, HR 0.897; values >47% are truncated to 47. magent does not assay a CBC."
},
"total_cholesterol_mg_dl": {
"type": "number",
"description": "Total cholesterol in mg/dL (50-800). Enters as 100/cholesterol with Table 2 HR 2.206. magent does not assay lipids."
},
"loop_diuretic_furosemide_eq_mg_day": {
"type": "number",
"description": "Daily loop-diuretic dose as furosemide milligram equivalent (0-1000). Paper conversion: furosemide 80 = torsemide 40 = bumetanide 3. Divided by weight_kg; Table 2 HR 1.178 per mg/kg/day. magent does not prescribe a diuretic."
}
}
}
},
"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.
Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.
- Paid to
- 0x836B…19Ee2
- 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/shfm",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 60,
"arb": false,
"icd": false,
"sex": "male",
"nyha": 2,
"statin": false,
"biv_icd": false,
"ischemic": false,
"sbp_mm_hg": 120,
"weight_kg": 80,
"ef_percent": 30,
"allopurinol": false,
"beta_blocker": true,
"sodium_meq_l": 140,
"ace_inhibitor": true,
"biv_pacemaker": false,
"hemoglobin_g_dl": 14,
"uric_acid_mg_dl": 6,
"k_sparing_diuretic": false,
"lymphocyte_percent": 25,
"total_cholesterol_mg_dl": 180,
"loop_diuretic_furosemide_eq_mg_day": 0
},
{
"age": 60,
"arb": false,
"icd": false,
"sex": "male",
"nyha": 2,
"statin": false,
"biv_icd": false,
"ischemic": false,
"sbp_mm_hg": 120,
"weight_kg": 80,
"ef_percent": 30,
"allopurinol": false,
"beta_blocker": true,
"sodium_meq_l": 140,
"ace_inhibitor": true,
"biv_pacemaker": false,
"hemoglobin_g_dl": 14,
"uric_acid_mg_dl": 6,
"k_sparing_diuretic": false,
"lymphocyte_percent": 25,
"total_cholesterol_mg_dl": 180,
"loop_diuretic_furosemide_eq_mg_day": 0
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/shfm",
"count": 2,
"items": [
{
"age": 60,
"arb": false,
"icd": false,
"sex": "male",
"nyha": 2,
"score": -0.1089,
"statin": false,
"biv_icd": false,
"formula": "shfm",
"citation": {
"id": "levy-2006-shfm",
"doi": "10.1161/CIRCULATIONAHA.105.584102",
"pmid": "16534009",
"title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure",
"source": "Circulation. 2006;113(11):1424-1433",
"authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al."
},
"ischemic": false,
"sbp_mm_hg": 120,
"weight_kg": 80,
"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.",
"ef_percent": 30,
"allopurinol": false,
"beta_blocker": true,
"sodium_meq_l": 140,
"ace_inhibitor": true,
"biv_pacemaker": false,
"hemoglobin_g_dl": 14,
"uric_acid_mg_dl": 6,
"formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
"k_sparing_diuretic": false,
"lymphocyte_percent": 25,
"survival_1y_percent": 96.4,
"survival_2y_percent": 93,
"survival_3y_percent": 89.7,
"total_cholesterol_mg_dl": 180,
"diuretic_furosemide_eq_mg_kg_day": 0,
"loop_diuretic_furosemide_eq_mg_day": 0
},
{
"age": 60,
"arb": false,
"icd": false,
"sex": "male",
"nyha": 2,
"score": -0.1089,
"statin": false,
"biv_icd": false,
"formula": "shfm",
"citation": {
"id": "levy-2006-shfm",
"doi": "10.1161/CIRCULATIONAHA.105.584102",
"pmid": "16534009",
"title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure",
"source": "Circulation. 2006;113(11):1424-1433",
"authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al."
},
"ischemic": false,
"sbp_mm_hg": 120,
"weight_kg": 80,
"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.",
"ef_percent": 30,
"allopurinol": false,
"beta_blocker": true,
"sodium_meq_l": 140,
"ace_inhibitor": true,
"biv_pacemaker": false,
"hemoglobin_g_dl": 14,
"uric_acid_mg_dl": 6,
"formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
"k_sparing_diuretic": false,
"lymphocyte_percent": 25,
"survival_1y_percent": 96.4,
"survival_2y_percent": 93,
"survival_3y_percent": 89.7,
"total_cholesterol_mg_dl": 180,
"diuretic_furosemide_eq_mg_kg_day": 0,
"loop_diuretic_furosemide_eq_mg_day": 0
}
]
}
},
"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",
"nyha",
"ef_percent",
"ischemic",
"sbp_mm_hg",
"weight_kg",
"loop_diuretic_furosemide_eq_mg_day",
"allopurinol",
"sodium_meq_l",
"total_cholesterol_mg_dl",
"hemoglobin_g_dl",
"lymphocyte_percent",
"uric_acid_mg_dl",
"ace_inhibitor",
"beta_blocker",
"arb",
"k_sparing_diuretic",
"statin",
"biv_pacemaker",
"icd",
"biv_icd"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 14-100). Levy 2006 Table 2: per decade, multivariate HR 1.090. magent does not take a date of birth."
},
"arb": {
"type": "boolean",
"description": "Patient already on an angiotensin-receptor blocker as assigned by the caller (true or false). Table 2 already-on HR 0.85. Not a prescription."
},
"icd": {
"type": "boolean",
"description": "Patient already has an ICD (without biventricular pacing) as assigned by the caller (true or false). Table 2 already-on HR 0.73. Mutually exclusive with biv_pacemaker and biv_icd. Not a device order."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Sex used by the forced Table 2 male HR 1.089 (female or male). magent does not assign sex."
},
"nyha": {
"enum": [
1,
2,
3,
4
],
"type": "integer",
"description": "NYHA class 1-4 as assigned by the caller (integer). Levy 2006 Table 2 multivariate HR 1.600 per class. magent does not examine the patient."
},
"statin": {
"type": "boolean",
"description": "Patient already on a statin as assigned by the caller (true or false). Table 2 already-on / multivariate HR 0.63. Not a prescription."
},
"biv_icd": {
"type": "boolean",
"description": "Patient already has a biventricular ICD as assigned by the caller (true or false). Table 2 already-on HR 0.79. Mutually exclusive with biv_pacemaker and icd. Not a device order."
},
"ischemic": {
"type": "boolean",
"description": "Ischemic etiology as assigned by the caller (true or false). Table 2 multivariate HR 1.354. magent does not assign etiology."
},
"sbp_mm_hg": {
"type": "number",
"description": "Systolic blood pressure in mm Hg (50-250). Table 2: per 10 mm Hg, HR 0.877, truncated at 160 (SBP 180 is scored as 160). magent does not measure blood pressure."
},
"weight_kg": {
"type": "number",
"description": "Body weight in kg (20-250) used only to convert the furosemide-equivalent diuretic dose to mg/kg/day. magent does not weigh the patient."
},
"ef_percent": {
"type": "number",
"description": "Left-ventricular ejection fraction in percent (1-80). Enters as 100/EF with Table 2 HR 1.030. magent does not interpret an echocardiogram."
},
"allopurinol": {
"type": "boolean",
"description": "Current allopurinol as assigned by the caller (true or false). Table 2 multivariate HR 1.571. magent does not prescribe allopurinol."
},
"beta_blocker": {
"type": "boolean",
"description": "Patient already on a beta-blocker as assigned by the caller (true or false). Table 2 already-on HR 0.66. Not a prescription."
},
"sodium_meq_l": {
"type": "number",
"description": "Serum sodium in mEq/L (110-160). Table 2: if Na<138, (138-Na) with HR 1.050 per mEq; values ≥138 add 0. magent does not assay sodium."
},
"ace_inhibitor": {
"type": "boolean",
"description": "Patient already on an ACE inhibitor as assigned by the caller (true or false). Table 2 already-on HR 0.77. Not a prescription."
},
"biv_pacemaker": {
"type": "boolean",
"description": "Patient already has a biventricular pacemaker (without ICD) as assigned by the caller (true or false). Table 2 already-on HR 1.00. Mutually exclusive with icd and biv_icd. Not a device order."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Hemoglobin in g/dL (4-22). Table 2: if Hb<16, (16-Hb) with HR 1.124 per g/dL; if Hb>16, (Hb-16) with HR 1.336 per g/dL. magent does not assay hemoglobin."
},
"uric_acid_mg_dl": {
"type": "number",
"description": "Serum uric acid in mg/dL (0.5-25). Table 2: per mg/dL when >3.4, HR 1.064; values <3.4 are truncated to 3.4. magent does not assay uric acid."
},
"k_sparing_diuretic": {
"type": "boolean",
"description": "Patient already on a potassium-sparing diuretic as assigned by the caller (true or false). Table 2 already-on HR 0.74. Not a prescription."
},
"lymphocyte_percent": {
"type": "number",
"description": "Percent lymphocytes (0-100). Table 2: per 5% when <47%, HR 0.897; values >47% are truncated to 47. magent does not assay a CBC."
},
"total_cholesterol_mg_dl": {
"type": "number",
"description": "Total cholesterol in mg/dL (50-800). Enters as 100/cholesterol with Table 2 HR 2.206. magent does not assay lipids."
},
"loop_diuretic_furosemide_eq_mg_day": {
"type": "number",
"description": "Daily loop-diuretic dose as furosemide milligram equivalent (0-1000). Paper conversion: furosemide 80 = torsemide 40 = bumetanide 3. Divided by weight_kg; Table 2 HR 1.178 per mg/kg/day. magent does not prescribe a diuretic."
}
}
},
"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 05:50Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-12 15:45Z
- x402 version
- 2
- Max timeout
- 600s
- Liveness probe
- HTTP 0
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.
Show the promptHide 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/shfm, 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.