70trust / 100
Calc Carg Tt
by magent in News & content
x402 APIPassing, checked 2 h ago
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.
POST https://api.magentlab.com/api/calc/carg_tt
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 162 ms typical, 416 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.magentlab.com/api/calc/carg_tt" \
-H "content-type: application/json" \
-d '{"items":[{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true},{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true}]}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fcarg_tt
const res = await pay("https://api.magentlab.com/api/calc/carg_tt", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"items":[{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true},{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true}]}),
});
console.log(await res.json());Example input
{
"items": [
{
"age": 75,
"decreased_social_activity": false,
"falls_last_6_months": false,
"gi_or_gu": true,
"hearing_fair_or_worse": false,
"hemoglobin_g_dl": 12,
"jelliffe_crcl_ml_min": 50,
"limited_walking_one_block": false,
"needs_help_with_medications": false,
"polychemotherapy": true,
"sex": "male",
"standard_dose": true
},
{
"age": 75,
"decreased_social_activity": false,
"falls_last_6_months": false,
"gi_or_gu": true,
"hearing_fair_or_worse": false,
"hemoglobin_g_dl": 12,
"jelliffe_crcl_ml_min": 50,
"limited_walking_one_block": false,
"needs_help_with_medications": false,
"polychemotherapy": true,
"sex": "male",
"standard_dose": true
}
]
}Example output
{
"count": 2,
"items": [
{
"citation": {
"authors": "Hurria A, Togawa K, Mohile SG, et al.",
"doi": "10.1200/JCO.2011.34.7625",
"id": "hurria-2011",
"pmid": "21810685",
"source": "J Clin Oncol. 2011;29(25):3457-3465",
"title": "Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study"
},
"components": [
{
"factor": "age_ge_72",
"points": 2,
"present": true,
"value": 75
},
{
"factor": "gi_or_gu",
"points": 2,
"present": true
},
{
"factor": "standard_dose",
"points": 2,
"present": true
},
{
"factor": "polychemotherapy",
"points": 2,
"present": true
},
{
"factor": "hemoglobin_low",
"points": 0,
"present": false,
"value": {
"hemoglobin_g_dl": 12,
"sex": "male"
}
},
{
"factor": "jelliffe_crcl_lt_34",
"points": 0,
"present": false,
"value": 50
},
{
"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.",
"formula": "carg_tt",
"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,
"max_score": 19,
"risk_group": "intermediate",
"score": 8
},
{
"citation": {
"authors": "Hurria A, Togawa K, Mohile SG, et al.",
"doi": "10.1200/JCO.2011.34.7625",
"id": "hurria-2011",
"pmid": "21810685",
"source": "J Clin Oncol. 2011;29(25):3457-3465",
"title": "Predicting chemotherapy toxicity in older adults with cancer: a prospective mulSecurity scan
- Charges more than its listed price in payment
Listed at $0.005, charges $0.007
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 198 ms | $0.007 |
| 6 h ago | Passed | 402 | 431 ms | $0.007 |
| 10 h ago | Passed | 402 | 139 ms | $0.007 |
| 19 h ago | Passed | 402 | 416 ms | $0.007 |
| 23 h ago | Passed | 402 | 162 ms | $0.007 |
| 27 h ago | Passed | 402 | 146 ms | $0.007 |
| 30 h ago | Passed | 402 | 138 ms | $0.007 |
| 34 h ago | Passed | 402 | 303 ms | $0.007 |
| 37 h ago | Passed | 402 | 145 ms | $0.007 |
| 41 h ago | Passed | 402 | 138 ms | $0.007 |
| 46 h ago | Passed | 402 | 347 ms | $0.007 |
History
| 11 Oct 2026 | Price changed from $0.005 to $0.007 |