magent
Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.
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/vacs_cci",
"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/vacs_cci",
"tags": [
"vacs-cci",
"charlson",
"mortality",
"comorbidity",
"calculator"
],
"mimeType": "application/json",
"description": "McGinnis 2024 VACS-CCI Table 2 Model 7 linear predictor from sex, age, hemoglobin, FIB-4, eGFR, albumin, WBC, BMI, hepatitis C, and caller-assigned Charlson groupings. CCI group is those weights (0/1/2/3+) times age band. The 0-100 score needs unpublished development min/max Xbeta; magent does not invent it. Paper prints score 30 to 1/3/8/18% and 45 to 6/14/35/61% at 1/2/5/10 years. Not a diagnosis or individual prognosis. magent does not code the chart.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 55,
"sex": "male",
"fib4": 1,
"dementia": false,
"bmi_kg_m2": 25,
"liver_mild": false,
"wbc_10e9_l": 4,
"hepatitis_c": false,
"albumin_g_dl": 4,
"kidney_severe": false,
"any_malignancy": false,
"hemoglobin_g_dl": 14,
"rheumatic_disease": false,
"egfr_ml_min_1_73m2": 90,
"peptic_ulcer_disease": false,
"myocardial_infarction": false,
"metastatic_solid_tumor": false,
"cerebrovascular_disease": false,
"kidney_mild_to_moderate": false,
"congestive_heart_failure": false,
"hemiplegia_or_paraplegia": false,
"liver_moderate_to_severe": false,
"chronic_pulmonary_disease": false,
"diabetes_with_complications": false,
"peripheral_vascular_disease": false,
"diabetes_without_complications": false
}
},
"output": {
"type": "json",
"example": {
"age": 55,
"sex": "male",
"fib4": 1,
"formula": "vacs_cci",
"age_band": "50_64",
"citation": {
"id": "mcginnis-2024-vacs-cci",
"doi": "10.3389/fmed.2023.1342466",
"pmid": "38356736",
"title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration",
"source": "Front Med (Lausanne). 2024;10:1342466",
"authors": "McGinnis KA, Justice AC, Marconi VC, et al."
},
"dementia": false,
"bmi_kg_m2": 25,
"cci_group": "0",
"cci_score": 0,
"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.",
"liver_mild": false,
"wbc_10e9_l": 4,
"hepatitis_c": false,
"albumin_g_dl": 4,
"kidney_severe": false,
"any_malignancy": false,
"hemoglobin_g_dl": 14,
"linear_predictor": 1.228,
"rheumatic_disease": false,
"egfr_ml_min_1_73m2": 90,
"formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
"peptic_ulcer_disease": false,
"myocardial_infarction": false,
"metastatic_solid_tumor": false,
"cerebrovascular_disease": false,
"kidney_mild_to_moderate": false,
"congestive_heart_failure": false,
"hemiplegia_or_paraplegia": false,
"liver_moderate_to_severe": false,
"chronic_pulmonary_disease": false,
"diabetes_with_complications": false,
"peripheral_vascular_disease": false,
"diabetes_without_complications": 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": [
"sex",
"age",
"hemoglobin_g_dl",
"fib4",
"egfr_ml_min_1_73m2",
"albumin_g_dl",
"wbc_10e9_l",
"bmi_kg_m2",
"hepatitis_c",
"myocardial_infarction",
"congestive_heart_failure",
"peripheral_vascular_disease",
"cerebrovascular_disease",
"dementia",
"chronic_pulmonary_disease",
"rheumatic_disease",
"peptic_ulcer_disease",
"diabetes_without_complications",
"diabetes_with_complications",
"hemiplegia_or_paraplegia",
"kidney_mild_to_moderate",
"kidney_severe",
"any_malignancy",
"metastatic_solid_tumor",
"liver_mild",
"liver_moderate_to_severe"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (<50, 50-64, 65-79, 80+). magent does not assign age."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex."
},
"fib4": {
"type": "number",
"description": "Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4."
},
"dementia": {
"type": "boolean",
"description": "Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia."
},
"bmi_kg_m2": {
"type": "number",
"description": "Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight."
},
"liver_mild": {
"type": "boolean",
"description": "Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease."
},
"wbc_10e9_l": {
"type": "number",
"description": "White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC."
},
"hepatitis_c": {
"type": "boolean",
"description": "Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C."
},
"albumin_g_dl": {
"type": "number",
"description": "Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin."
},
"kidney_severe": {
"type": "boolean",
"description": "Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease."
},
"any_malignancy": {
"type": "boolean",
"description": "Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin."
},
"rheumatic_disease": {
"type": "boolean",
"description": "Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease."
},
"egfr_ml_min_1_73m2": {
"type": "number",
"description": "Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI."
},
"peptic_ulcer_disease": {
"type": "boolean",
"description": "Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease."
},
"myocardial_infarction": {
"type": "boolean",
"description": "Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction."
},
"metastatic_solid_tumor": {
"type": "boolean",
"description": "Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer."
},
"cerebrovascular_disease": {
"type": "boolean",
"description": "Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke."
},
"kidney_mild_to_moderate": {
"type": "boolean",
"description": "Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease."
},
"congestive_heart_failure": {
"type": "boolean",
"description": "Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure."
},
"hemiplegia_or_paraplegia": {
"type": "boolean",
"description": "Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis."
},
"liver_moderate_to_severe": {
"type": "boolean",
"description": "Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease."
},
"chronic_pulmonary_disease": {
"type": "boolean",
"description": "Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease."
},
"diabetes_with_complications": {
"type": "boolean",
"description": "Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes."
},
"peripheral_vascular_disease": {
"type": "boolean",
"description": "Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease."
},
"diabetes_without_complications": {
"type": "boolean",
"description": "Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes."
}
}
}
},
"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/vacs_cci",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 55,
"sex": "male",
"fib4": 1,
"dementia": false,
"bmi_kg_m2": 25,
"liver_mild": false,
"wbc_10e9_l": 4,
"hepatitis_c": false,
"albumin_g_dl": 4,
"kidney_severe": false,
"any_malignancy": false,
"hemoglobin_g_dl": 14,
"rheumatic_disease": false,
"egfr_ml_min_1_73m2": 90,
"peptic_ulcer_disease": false,
"myocardial_infarction": false,
"metastatic_solid_tumor": false,
"cerebrovascular_disease": false,
"kidney_mild_to_moderate": false,
"congestive_heart_failure": false,
"hemiplegia_or_paraplegia": false,
"liver_moderate_to_severe": false,
"chronic_pulmonary_disease": false,
"diabetes_with_complications": false,
"peripheral_vascular_disease": false,
"diabetes_without_complications": false
},
{
"age": 55,
"sex": "male",
"fib4": 1,
"dementia": false,
"bmi_kg_m2": 25,
"liver_mild": false,
"wbc_10e9_l": 4,
"hepatitis_c": false,
"albumin_g_dl": 4,
"kidney_severe": false,
"any_malignancy": false,
"hemoglobin_g_dl": 14,
"rheumatic_disease": false,
"egfr_ml_min_1_73m2": 90,
"peptic_ulcer_disease": false,
"myocardial_infarction": false,
"metastatic_solid_tumor": false,
"cerebrovascular_disease": false,
"kidney_mild_to_moderate": false,
"congestive_heart_failure": false,
"hemiplegia_or_paraplegia": false,
"liver_moderate_to_severe": false,
"chronic_pulmonary_disease": false,
"diabetes_with_complications": false,
"peripheral_vascular_disease": false,
"diabetes_without_complications": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/vacs_cci",
"count": 2,
"items": [
{
"age": 55,
"sex": "male",
"fib4": 1,
"formula": "vacs_cci",
"age_band": "50_64",
"citation": {
"id": "mcginnis-2024-vacs-cci",
"doi": "10.3389/fmed.2023.1342466",
"pmid": "38356736",
"title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration",
"source": "Front Med (Lausanne). 2024;10:1342466",
"authors": "McGinnis KA, Justice AC, Marconi VC, et al."
},
"dementia": false,
"bmi_kg_m2": 25,
"cci_group": "0",
"cci_score": 0,
"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.",
"liver_mild": false,
"wbc_10e9_l": 4,
"hepatitis_c": false,
"albumin_g_dl": 4,
"kidney_severe": false,
"any_malignancy": false,
"hemoglobin_g_dl": 14,
"linear_predictor": 1.228,
"rheumatic_disease": false,
"egfr_ml_min_1_73m2": 90,
"formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
"peptic_ulcer_disease": false,
"myocardial_infarction": false,
"metastatic_solid_tumor": false,
"cerebrovascular_disease": false,
"kidney_mild_to_moderate": false,
"congestive_heart_failure": false,
"hemiplegia_or_paraplegia": false,
"liver_moderate_to_severe": false,
"chronic_pulmonary_disease": false,
"diabetes_with_complications": false,
"peripheral_vascular_disease": false,
"diabetes_without_complications": false
},
{
"age": 55,
"sex": "male",
"fib4": 1,
"formula": "vacs_cci",
"age_band": "50_64",
"citation": {
"id": "mcginnis-2024-vacs-cci",
"doi": "10.3389/fmed.2023.1342466",
"pmid": "38356736",
"title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration",
"source": "Front Med (Lausanne). 2024;10:1342466",
"authors": "McGinnis KA, Justice AC, Marconi VC, et al."
},
"dementia": false,
"bmi_kg_m2": 25,
"cci_group": "0",
"cci_score": 0,
"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.",
"liver_mild": false,
"wbc_10e9_l": 4,
"hepatitis_c": false,
"albumin_g_dl": 4,
"kidney_severe": false,
"any_malignancy": false,
"hemoglobin_g_dl": 14,
"linear_predictor": 1.228,
"rheumatic_disease": false,
"egfr_ml_min_1_73m2": 90,
"formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
"peptic_ulcer_disease": false,
"myocardial_infarction": false,
"metastatic_solid_tumor": false,
"cerebrovascular_disease": false,
"kidney_mild_to_moderate": false,
"congestive_heart_failure": false,
"hemiplegia_or_paraplegia": false,
"liver_moderate_to_severe": false,
"chronic_pulmonary_disease": false,
"diabetes_with_complications": false,
"peripheral_vascular_disease": false,
"diabetes_without_complications": 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": [
"sex",
"age",
"hemoglobin_g_dl",
"fib4",
"egfr_ml_min_1_73m2",
"albumin_g_dl",
"wbc_10e9_l",
"bmi_kg_m2",
"hepatitis_c",
"myocardial_infarction",
"congestive_heart_failure",
"peripheral_vascular_disease",
"cerebrovascular_disease",
"dementia",
"chronic_pulmonary_disease",
"rheumatic_disease",
"peptic_ulcer_disease",
"diabetes_without_complications",
"diabetes_with_complications",
"hemiplegia_or_paraplegia",
"kidney_mild_to_moderate",
"kidney_severe",
"any_malignancy",
"metastatic_solid_tumor",
"liver_mild",
"liver_moderate_to_severe"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (<50, 50-64, 65-79, 80+). magent does not assign age."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex."
},
"fib4": {
"type": "number",
"description": "Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4."
},
"dementia": {
"type": "boolean",
"description": "Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia."
},
"bmi_kg_m2": {
"type": "number",
"description": "Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight."
},
"liver_mild": {
"type": "boolean",
"description": "Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease."
},
"wbc_10e9_l": {
"type": "number",
"description": "White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC."
},
"hepatitis_c": {
"type": "boolean",
"description": "Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C."
},
"albumin_g_dl": {
"type": "number",
"description": "Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin."
},
"kidney_severe": {
"type": "boolean",
"description": "Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease."
},
"any_malignancy": {
"type": "boolean",
"description": "Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin."
},
"rheumatic_disease": {
"type": "boolean",
"description": "Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease."
},
"egfr_ml_min_1_73m2": {
"type": "number",
"description": "Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI."
},
"peptic_ulcer_disease": {
"type": "boolean",
"description": "Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease."
},
"myocardial_infarction": {
"type": "boolean",
"description": "Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction."
},
"metastatic_solid_tumor": {
"type": "boolean",
"description": "Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer."
},
"cerebrovascular_disease": {
"type": "boolean",
"description": "Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke."
},
"kidney_mild_to_moderate": {
"type": "boolean",
"description": "Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease."
},
"congestive_heart_failure": {
"type": "boolean",
"description": "Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure."
},
"hemiplegia_or_paraplegia": {
"type": "boolean",
"description": "Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis."
},
"liver_moderate_to_severe": {
"type": "boolean",
"description": "Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease."
},
"chronic_pulmonary_disease": {
"type": "boolean",
"description": "Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease."
},
"diabetes_with_complications": {
"type": "boolean",
"description": "Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes."
},
"peripheral_vascular_disease": {
"type": "boolean",
"description": "Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease."
},
"diabetes_without_complications": {
"type": "boolean",
"description": "Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes."
}
}
},
"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 08:10Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-12 14:15Z
- 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/vacs_cci, 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.