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/car_olt",
"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/car_olt",
"tags": [
"car-olt",
"liver",
"transplant",
"cvd",
"score"
],
"mimeType": "application/json",
"description": "VanWagner 2017 CAR-OLT integer points (Table 3) for 1-year CVD complication after first orthotopic liver transplant: age bands, sex, caller-assigned race (white 7, black 10, other 0), work, education, atrial fibrillation 25, ventilator 13, pulmonary hypertension 9, no HCC 6, hypertension 4, diabetes 4, heart failure 7. Table 4 predicted percent. Not a listing decision. magent does not assign race.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 40,
"hcc": true,
"sex": "male",
"diabetes": false,
"education": "college",
"race_group": "other",
"hypertension": false,
"heart_failure": false,
"working_for_income": true,
"atrial_fibrillation": false,
"pulmonary_hypertension": false,
"ventilator_respiratory_failure": false
}
},
"output": {
"type": "json",
"example": {
"sex": "male",
"score": 0,
"formula": "car_olt",
"citation": {
"id": "vanwagner-2017-car-olt",
"doi": "10.1002/hep.29329",
"pmid": "28703417",
"title": "A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score",
"source": "Hepatology. 2017;66(6):1968-1979",
"authors": "VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM"
},
"age_years": 40,
"education": "college",
"max_score": 102,
"components": [
{
"value": 40,
"factor": "age",
"points": 0,
"present": false
},
{
"value": "male",
"factor": "sex",
"points": 0,
"present": false
},
{
"value": "other",
"factor": "race_group",
"points": 0,
"present": false
},
{
"value": true,
"factor": "working_for_income",
"points": 0,
"present": false
},
{
"value": "college",
"factor": "education",
"points": 0,
"present": false
},
{
"factor": "atrial_fibrillation",
"points": 0,
"present": false
},
{
"factor": "ventilator_respiratory_failure",
"points": 0,
"present": false
},
{
"factor": "pulmonary_hypertension",
"points": 0,
"present": false
},
{
"value": true,
"factor": "hcc",
"points": 0,
"present": false
},
{
"factor": "hypertension",
"points": 0,
"present": false
},
{
"factor": "diabetes",
"points": 0,
"present": false
},
{
"factor": "heart_failure",
"points": 0,
"present": false
}
],
"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.",
"race_group": "other",
"formula_expression": "CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row",
"working_for_income": true,
"predicted_1yr_cvd_percent": "<5%"
}
},
"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",
"race_group",
"working_for_income",
"education",
"atrial_fibrillation",
"ventilator_respiratory_failure",
"pulmonary_hypertension",
"hcc",
"hypertension",
"diabetes",
"heart_failure"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 18-120). VanWagner 2017 Table 3: <45 scores 0; 45-49 scores -6; 50-54 scores -4; 55-59 scores 2; 60-64 scores 5; ≥65 scores 8. Derivation was first OLT ages 18-75; ≥65 is the top Table 3 band."
},
"hcc": {
"type": "boolean",
"description": "History of hepatocellular carcinoma (VanWagner 2017 Table 3). true scores 0 (referent); false scores 6. No HCC is the higher-risk term. magent does not diagnose HCC."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Caller-assigned sex (VanWagner 2017 Table 3). male scores 0 (referent); female scores 1. magent does not assign sex."
},
"diabetes": {
"type": "boolean",
"description": "History of diabetes prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not assay glucose."
},
"education": {
"enum": [
"high_school_or_unknown",
"college"
],
"type": "string",
"description": "Caller-assigned education (VanWagner 2017 Table 3). college scores 0 (College+ referent); high_school_or_unknown scores 5. magent does not assign education."
},
"race_group": {
"enum": [
"white",
"black",
"other"
],
"type": "string",
"description": "Caller-assigned race as used in VanWagner 2017 Table 3. white scores 7; black scores 10; other scores 0 (referent). Hispanic and Asian map to other in this model. magent does not assign race."
},
"hypertension": {
"type": "boolean",
"description": "History of systemic hypertension prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not measure blood pressure."
},
"heart_failure": {
"type": "boolean",
"description": "History of heart failure prior to transplant (VanWagner 2017 Table 3). true scores 7. magent does not diagnose heart failure."
},
"working_for_income": {
"type": "boolean",
"description": "Working for income at transplant (VanWagner 2017 Table 3). true scores 0 (referent); false scores 10. magent does not assign employment."
},
"atrial_fibrillation": {
"type": "boolean",
"description": "History of atrial fibrillation prior to transplant (VanWagner 2017 Table 3). true scores 25. magent does not read an ECG."
},
"pulmonary_hypertension": {
"type": "boolean",
"description": "History of pulmonary hypertension prior to transplant (VanWagner 2017 Table 3). true scores 9. magent does not perform right-heart catheterization."
},
"ventilator_respiratory_failure": {
"type": "boolean",
"description": "Respiratory failure on a ventilator at transplant (VanWagner 2017 Table 3). true scores 13. magent does not observe ventilation."
}
}
}
},
"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/car_olt",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 40,
"hcc": true,
"sex": "male",
"diabetes": false,
"education": "college",
"race_group": "other",
"hypertension": false,
"heart_failure": false,
"working_for_income": true,
"atrial_fibrillation": false,
"pulmonary_hypertension": false,
"ventilator_respiratory_failure": false
},
{
"age": 40,
"hcc": true,
"sex": "male",
"diabetes": false,
"education": "college",
"race_group": "other",
"hypertension": false,
"heart_failure": false,
"working_for_income": true,
"atrial_fibrillation": false,
"pulmonary_hypertension": false,
"ventilator_respiratory_failure": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/car_olt",
"count": 2,
"items": [
{
"sex": "male",
"score": 0,
"formula": "car_olt",
"citation": {
"id": "vanwagner-2017-car-olt",
"doi": "10.1002/hep.29329",
"pmid": "28703417",
"title": "A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score",
"source": "Hepatology. 2017;66(6):1968-1979",
"authors": "VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM"
},
"age_years": 40,
"education": "college",
"max_score": 102,
"components": [
{
"value": 40,
"factor": "age",
"points": 0,
"present": false
},
{
"value": "male",
"factor": "sex",
"points": 0,
"present": false
},
{
"value": "other",
"factor": "race_group",
"points": 0,
"present": false
},
{
"value": true,
"factor": "working_for_income",
"points": 0,
"present": false
},
{
"value": "college",
"factor": "education",
"points": 0,
"present": false
},
{
"factor": "atrial_fibrillation",
"points": 0,
"present": false
},
{
"factor": "ventilator_respiratory_failure",
"points": 0,
"present": false
},
{
"factor": "pulmonary_hypertension",
"points": 0,
"present": false
},
{
"value": true,
"factor": "hcc",
"points": 0,
"present": false
},
{
"factor": "hypertension",
"points": 0,
"present": false
},
{
"factor": "diabetes",
"points": 0,
"present": false
},
{
"factor": "heart_failure",
"points": 0,
"present": false
}
],
"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.",
"race_group": "other",
"formula_expression": "CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row",
"working_for_income": true,
"predicted_1yr_cvd_percent": "<5%"
},
{
"sex": "male",
"score": 0,
"formula": "car_olt",
"citation": {
"id": "vanwagner-2017-car-olt",
"doi": "10.1002/hep.29329",
"pmid": "28703417",
"title": "A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score",
"source": "Hepatology. 2017;66(6):1968-1979",
"authors": "VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM"
},
"age_years": 40,
"education": "college",
"max_score": 102,
"components": [
{
"value": 40,
"factor": "age",
"points": 0,
"present": false
},
{
"value": "male",
"factor": "sex",
"points": 0,
"present": false
},
{
"value": "other",
"factor": "race_group",
"points": 0,
"present": false
},
{
"value": true,
"factor": "working_for_income",
"points": 0,
"present": false
},
{
"value": "college",
"factor": "education",
"points": 0,
"present": false
},
{
"factor": "atrial_fibrillation",
"points": 0,
"present": false
},
{
"factor": "ventilator_respiratory_failure",
"points": 0,
"present": false
},
{
"factor": "pulmonary_hypertension",
"points": 0,
"present": false
},
{
"value": true,
"factor": "hcc",
"points": 0,
"present": false
},
{
"factor": "hypertension",
"points": 0,
"present": false
},
{
"factor": "diabetes",
"points": 0,
"present": false
},
{
"factor": "heart_failure",
"points": 0,
"present": false
}
],
"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.",
"race_group": "other",
"formula_expression": "CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row",
"working_for_income": true,
"predicted_1yr_cvd_percent": "<5%"
}
]
}
},
"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",
"race_group",
"working_for_income",
"education",
"atrial_fibrillation",
"ventilator_respiratory_failure",
"pulmonary_hypertension",
"hcc",
"hypertension",
"diabetes",
"heart_failure"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 18-120). VanWagner 2017 Table 3: <45 scores 0; 45-49 scores -6; 50-54 scores -4; 55-59 scores 2; 60-64 scores 5; ≥65 scores 8. Derivation was first OLT ages 18-75; ≥65 is the top Table 3 band."
},
"hcc": {
"type": "boolean",
"description": "History of hepatocellular carcinoma (VanWagner 2017 Table 3). true scores 0 (referent); false scores 6. No HCC is the higher-risk term. magent does not diagnose HCC."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Caller-assigned sex (VanWagner 2017 Table 3). male scores 0 (referent); female scores 1. magent does not assign sex."
},
"diabetes": {
"type": "boolean",
"description": "History of diabetes prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not assay glucose."
},
"education": {
"enum": [
"high_school_or_unknown",
"college"
],
"type": "string",
"description": "Caller-assigned education (VanWagner 2017 Table 3). college scores 0 (College+ referent); high_school_or_unknown scores 5. magent does not assign education."
},
"race_group": {
"enum": [
"white",
"black",
"other"
],
"type": "string",
"description": "Caller-assigned race as used in VanWagner 2017 Table 3. white scores 7; black scores 10; other scores 0 (referent). Hispanic and Asian map to other in this model. magent does not assign race."
},
"hypertension": {
"type": "boolean",
"description": "History of systemic hypertension prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not measure blood pressure."
},
"heart_failure": {
"type": "boolean",
"description": "History of heart failure prior to transplant (VanWagner 2017 Table 3). true scores 7. magent does not diagnose heart failure."
},
"working_for_income": {
"type": "boolean",
"description": "Working for income at transplant (VanWagner 2017 Table 3). true scores 0 (referent); false scores 10. magent does not assign employment."
},
"atrial_fibrillation": {
"type": "boolean",
"description": "History of atrial fibrillation prior to transplant (VanWagner 2017 Table 3). true scores 25. magent does not read an ECG."
},
"pulmonary_hypertension": {
"type": "boolean",
"description": "History of pulmonary hypertension prior to transplant (VanWagner 2017 Table 3). true scores 9. magent does not perform right-heart catheterization."
},
"ventilator_respiratory_failure": {
"type": "boolean",
"description": "Respiratory failure on a ventilator at transplant (VanWagner 2017 Table 3). true scores 13. magent does not observe ventilation."
}
}
},
"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-03 06:36Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-11 23:46Z
- 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. 6 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/car_olt, 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.