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/carg_tt",
"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/carg_tt",
"tags": [
"carg-tt",
"chemotherapy",
"geriatric",
"toxicity",
"calculator"
],
"mimeType": "application/json",
"description": "Hurria 2011 Table 5 CARG toxicity: age ≥72 (+2), GI/GU (+2, not inverted), standard dose (+2), polychemotherapy (+2), Hb male <11 or female <10 g/dL (+3), caller-assigned Jelliffe CrCl <34 (+3; magent does not compute Jelliffe), hearing fair/worse (+2), ≥1 fall in 6 months (+3), limited walking 1 block (+2), help with meds (+1), decreased social activity (+1). Max 19. 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%. Not the 2016 revision, not CRASH, not a chemo order.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 75,
"sex": "male",
"gi_or_gu": true,
"standard_dose": true,
"hemoglobin_g_dl": 12,
"polychemotherapy": true,
"falls_last_6_months": false,
"jelliffe_crcl_ml_min": 50,
"hearing_fair_or_worse": false,
"decreased_social_activity": false,
"limited_walking_one_block": false,
"needs_help_with_medications": false
}
},
"output": {
"type": "json",
"example": {
"score": 8,
"formula": "carg_tt",
"citation": {
"id": "hurria-2011",
"doi": "10.1200/JCO.2011.34.7625",
"pmid": "21810685",
"title": "Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study",
"source": "J Clin Oncol. 2011;29(25):3457-3465",
"authors": "Hurria A, Togawa K, Mohile SG, et al."
},
"max_score": 19,
"components": [
{
"value": 75,
"factor": "age_ge_72",
"points": 2,
"present": true
},
{
"factor": "gi_or_gu",
"points": 2,
"present": true
},
{
"factor": "standard_dose",
"points": 2,
"present": true
},
{
"factor": "polychemotherapy",
"points": 2,
"present": true
},
{
"value": {
"sex": "male",
"hemoglobin_g_dl": 12
},
"factor": "hemoglobin_low",
"points": 0,
"present": false
},
{
"value": 50,
"factor": "jelliffe_crcl_lt_34",
"points": 0,
"present": false
},
{
"factor": "hearing_fair_or_worse",
"points": 0,
"present": false
},
{
"factor": "falls_last_6_months",
"points": 0,
"present": false
},
{
"factor": "limited_walking_one_block",
"points": 0,
"present": false
},
{
"factor": "needs_help_with_medications",
"points": 0,
"present": false
},
{
"factor": "decreased_social_activity",
"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.",
"risk_group": "intermediate",
"formula_expression": "CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH",
"grade_3_to_5_toxicity_percent": 52
}
},
"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",
"gi_or_gu",
"standard_dose",
"polychemotherapy",
"hemoglobin_g_dl",
"sex",
"jelliffe_crcl_ml_min",
"hearing_fair_or_worse",
"falls_last_6_months",
"limited_walking_one_block",
"needs_help_with_medications",
"decreased_social_activity"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). Hurria 2011 Table 5: ≥72 scores 2. Derived in patients ≥65; magent still applies the ≥72 rule at any accepted age."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Sex used for the hemoglobin cutoff (female or male). Male <11 g/dL or female <10 g/dL scores 3."
},
"gi_or_gu": {
"type": "boolean",
"description": "GI or GU cancer as assigned by the caller (Hurria 2011 Table 5). true scores 2. Lung, breast, GYN, and other cancers are 0. This is a risk factor present (+2), not inverted. magent does not assign cancer type from histology text."
},
"standard_dose": {
"type": "boolean",
"description": "Standard chemotherapy dose as assigned by the caller (Hurria 2011 Table 5). true scores 2. Dose-reduced is 0. magent does not read a chemo order."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Hemoglobin in g/dL (3-22). Male <11 or female <10 scores 3 (Hurria 2011 Table 5). 11.0 male and 10.0 female do not score."
},
"polychemotherapy": {
"type": "boolean",
"description": "Polychemotherapy as assigned by the caller (Hurria 2011 Table 5). true scores 2."
},
"falls_last_6_months": {
"type": "boolean",
"description": "≥1 fall in the last 6 months as assigned by the caller (Hurria 2011 Table 5). true scores 3. magent does not take a fall history."
},
"jelliffe_crcl_ml_min": {
"type": "number",
"description": "Jelliffe ideal-weight creatinine clearance in mL/min as assigned by the caller (1-300). <34 scores 3 (Hurria 2011 Table 5). 34 does not score. magent does not compute Jelliffe."
},
"hearing_fair_or_worse": {
"type": "boolean",
"description": "Hearing fair or worse as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not examine hearing."
},
"decreased_social_activity": {
"type": "boolean",
"description": "MOS decreased social activity limited at least sometimes as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer MOS."
},
"limited_walking_one_block": {
"type": "boolean",
"description": "MOS walking 1 block somewhat limited or limited a lot as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not administer MOS."
},
"needs_help_with_medications": {
"type": "boolean",
"description": "IADL taking medications some help or unable as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer IADL."
}
}
}
},
"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/carg_tt",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 75,
"sex": "male",
"gi_or_gu": true,
"standard_dose": true,
"hemoglobin_g_dl": 12,
"polychemotherapy": true,
"falls_last_6_months": false,
"jelliffe_crcl_ml_min": 50,
"hearing_fair_or_worse": false,
"decreased_social_activity": false,
"limited_walking_one_block": false,
"needs_help_with_medications": false
},
{
"age": 75,
"sex": "male",
"gi_or_gu": true,
"standard_dose": true,
"hemoglobin_g_dl": 12,
"polychemotherapy": true,
"falls_last_6_months": false,
"jelliffe_crcl_ml_min": 50,
"hearing_fair_or_worse": false,
"decreased_social_activity": false,
"limited_walking_one_block": false,
"needs_help_with_medications": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/carg_tt",
"count": 2,
"items": [
{
"score": 8,
"formula": "carg_tt",
"citation": {
"id": "hurria-2011",
"doi": "10.1200/JCO.2011.34.7625",
"pmid": "21810685",
"title": "Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study",
"source": "J Clin Oncol. 2011;29(25):3457-3465",
"authors": "Hurria A, Togawa K, Mohile SG, et al."
},
"max_score": 19,
"components": [
{
"value": 75,
"factor": "age_ge_72",
"points": 2,
"present": true
},
{
"factor": "gi_or_gu",
"points": 2,
"present": true
},
{
"factor": "standard_dose",
"points": 2,
"present": true
},
{
"factor": "polychemotherapy",
"points": 2,
"present": true
},
{
"value": {
"sex": "male",
"hemoglobin_g_dl": 12
},
"factor": "hemoglobin_low",
"points": 0,
"present": false
},
{
"value": 50,
"factor": "jelliffe_crcl_lt_34",
"points": 0,
"present": false
},
{
"factor": "hearing_fair_or_worse",
"points": 0,
"present": false
},
{
"factor": "falls_last_6_months",
"points": 0,
"present": false
},
{
"factor": "limited_walking_one_block",
"points": 0,
"present": false
},
{
"factor": "needs_help_with_medications",
"points": 0,
"present": false
},
{
"factor": "decreased_social_activity",
"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.",
"risk_group": "intermediate",
"formula_expression": "CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH",
"grade_3_to_5_toxicity_percent": 52
},
{
"score": 8,
"formula": "carg_tt",
"citation": {
"id": "hurria-2011",
"doi": "10.1200/JCO.2011.34.7625",
"pmid": "21810685",
"title": "Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study",
"source": "J Clin Oncol. 2011;29(25):3457-3465",
"authors": "Hurria A, Togawa K, Mohile SG, et al."
},
"max_score": 19,
"components": [
{
"value": 75,
"factor": "age_ge_72",
"points": 2,
"present": true
},
{
"factor": "gi_or_gu",
"points": 2,
"present": true
},
{
"factor": "standard_dose",
"points": 2,
"present": true
},
{
"factor": "polychemotherapy",
"points": 2,
"present": true
},
{
"value": {
"sex": "male",
"hemoglobin_g_dl": 12
},
"factor": "hemoglobin_low",
"points": 0,
"present": false
},
{
"value": 50,
"factor": "jelliffe_crcl_lt_34",
"points": 0,
"present": false
},
{
"factor": "hearing_fair_or_worse",
"points": 0,
"present": false
},
{
"factor": "falls_last_6_months",
"points": 0,
"present": false
},
{
"factor": "limited_walking_one_block",
"points": 0,
"present": false
},
{
"factor": "needs_help_with_medications",
"points": 0,
"present": false
},
{
"factor": "decreased_social_activity",
"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.",
"risk_group": "intermediate",
"formula_expression": "CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH",
"grade_3_to_5_toxicity_percent": 52
}
]
}
},
"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",
"gi_or_gu",
"standard_dose",
"polychemotherapy",
"hemoglobin_g_dl",
"sex",
"jelliffe_crcl_ml_min",
"hearing_fair_or_worse",
"falls_last_6_months",
"limited_walking_one_block",
"needs_help_with_medications",
"decreased_social_activity"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). Hurria 2011 Table 5: ≥72 scores 2. Derived in patients ≥65; magent still applies the ≥72 rule at any accepted age."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "Sex used for the hemoglobin cutoff (female or male). Male <11 g/dL or female <10 g/dL scores 3."
},
"gi_or_gu": {
"type": "boolean",
"description": "GI or GU cancer as assigned by the caller (Hurria 2011 Table 5). true scores 2. Lung, breast, GYN, and other cancers are 0. This is a risk factor present (+2), not inverted. magent does not assign cancer type from histology text."
},
"standard_dose": {
"type": "boolean",
"description": "Standard chemotherapy dose as assigned by the caller (Hurria 2011 Table 5). true scores 2. Dose-reduced is 0. magent does not read a chemo order."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Hemoglobin in g/dL (3-22). Male <11 or female <10 scores 3 (Hurria 2011 Table 5). 11.0 male and 10.0 female do not score."
},
"polychemotherapy": {
"type": "boolean",
"description": "Polychemotherapy as assigned by the caller (Hurria 2011 Table 5). true scores 2."
},
"falls_last_6_months": {
"type": "boolean",
"description": "≥1 fall in the last 6 months as assigned by the caller (Hurria 2011 Table 5). true scores 3. magent does not take a fall history."
},
"jelliffe_crcl_ml_min": {
"type": "number",
"description": "Jelliffe ideal-weight creatinine clearance in mL/min as assigned by the caller (1-300). <34 scores 3 (Hurria 2011 Table 5). 34 does not score. magent does not compute Jelliffe."
},
"hearing_fair_or_worse": {
"type": "boolean",
"description": "Hearing fair or worse as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not examine hearing."
},
"decreased_social_activity": {
"type": "boolean",
"description": "MOS decreased social activity limited at least sometimes as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer MOS."
},
"limited_walking_one_block": {
"type": "boolean",
"description": "MOS walking 1 block somewhat limited or limited a lot as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not administer MOS."
},
"needs_help_with_medications": {
"type": "boolean",
"description": "IADL taking medications some help or unable as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer IADL."
}
}
},
"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-01 23:29Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-10 14: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. 8 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/carg_tt, 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.