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/caroc",
"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/caroc",
"tags": [
"caroc",
"osteoporosis",
"fracture-risk",
"body-size",
"calculator"
],
"mimeType": "application/json",
"description": "CAROC 2010 10-year MOF category from age, sex, femoral-neck T-score, and fragility or glucocorticoid flags. Basal low/moderate/high from printed T-score bands; hip or spine fragility or multiple fractures is high; fracture after 40 plus steroids is high; either flag alone bumps one class. Labels <10%, 10-20%, >20%. Not FRAX or a drug order. Not a medical device.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 50,
"sex": "female",
"femoral_neck_t_score": -1,
"hip_or_spine_fragility": false,
"prolonged_glucocorticoids": false,
"fragility_fracture_after_40": false,
"multiple_fragility_fractures": false
}
},
"output": {
"type": "json",
"example": {
"age": 50,
"sex": "female",
"formula": "caroc",
"row_age": 50,
"citation": {
"id": "papaioannou-2010",
"doi": "10.1503/cmaj.100771",
"pmid": "20937681",
"title": "2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary",
"source": "CMAJ. 2010;182(17):1864-1873",
"authors": "Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al."
},
"components": [
{
"met": false,
"factor": "hip_or_spine_fragility"
},
{
"met": false,
"factor": "multiple_fragility_fractures"
},
{
"met": false,
"factor": "fragility_fracture_after_40"
},
{
"met": false,
"factor": "prolonged_glucocorticoids"
},
{
"met": true,
"value": -1,
"factor": "basal_low"
},
{
"met": false,
"value": -1,
"factor": "basal_moderate"
},
{
"met": false,
"value": -1,
"factor": "basal_high"
}
],
"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_level": "low",
"basal_risk_level": "low",
"formula_expression": "CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.",
"ten_year_mof_label": "<10%",
"femoral_neck_t_score": -1,
"hip_or_spine_fragility": false,
"prolonged_glucocorticoids": false,
"fragility_fracture_after_40": false,
"multiple_fragility_fractures": 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": [
"age",
"sex",
"femoral_neck_t_score",
"fragility_fracture_after_40",
"prolonged_glucocorticoids",
"hip_or_spine_fragility",
"multiple_fragility_fractures"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years. CAROC 2010 accepts 50-89 (integer). Ages 50-85 map to the printed 5-year row; 86-89 use the 85-year row. Ages under 50 or over 89 are rejected. magent does not take a date of birth."
},
"sex": {
"type": "string",
"description": "Sex used by the printed table: female or male."
},
"femoral_neck_t_score": {
"type": "number",
"description": "Caller-assigned femoral-neck BMD T-score (-6.0 to 4.0). The NHANES III Caucasian-women reference is a densitometry convention for how that T-score was computed; this tool does not take a race input. magent does not perform DXA."
},
"hip_or_spine_fragility": {
"type": "boolean",
"description": "Hip or clinical spine fragility fracture as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not read imaging."
},
"prolonged_glucocorticoids": {
"type": "boolean",
"description": "Prolonged glucocorticoids as assigned by the caller: at least 3 months in the prior year at prednisone-equivalent 7.5 mg/day or more (Papaioannou 2010). true or false. Alone, bumps one class; with fragility_fracture_after_40, risk_level is high. magent does not compute a steroid dose."
},
"fragility_fracture_after_40": {
"type": "boolean",
"description": "Fragility fracture after age 40 as assigned by the caller (Papaioannou 2010). true or false. Alone, bumps one class; with prolonged_glucocorticoids, risk_level is high. magent does not take a fracture history."
},
"multiple_fragility_fractures": {
"type": "boolean",
"description": "Multiple fragility fractures as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not take a fracture history."
}
}
}
},
"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/caroc",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 50,
"sex": "female",
"femoral_neck_t_score": -1,
"hip_or_spine_fragility": false,
"prolonged_glucocorticoids": false,
"fragility_fracture_after_40": false,
"multiple_fragility_fractures": false
},
{
"age": 50,
"sex": "female",
"femoral_neck_t_score": -1,
"hip_or_spine_fragility": false,
"prolonged_glucocorticoids": false,
"fragility_fracture_after_40": false,
"multiple_fragility_fractures": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/caroc",
"count": 2,
"items": [
{
"age": 50,
"sex": "female",
"formula": "caroc",
"row_age": 50,
"citation": {
"id": "papaioannou-2010",
"doi": "10.1503/cmaj.100771",
"pmid": "20937681",
"title": "2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary",
"source": "CMAJ. 2010;182(17):1864-1873",
"authors": "Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al."
},
"components": [
{
"met": false,
"factor": "hip_or_spine_fragility"
},
{
"met": false,
"factor": "multiple_fragility_fractures"
},
{
"met": false,
"factor": "fragility_fracture_after_40"
},
{
"met": false,
"factor": "prolonged_glucocorticoids"
},
{
"met": true,
"value": -1,
"factor": "basal_low"
},
{
"met": false,
"value": -1,
"factor": "basal_moderate"
},
{
"met": false,
"value": -1,
"factor": "basal_high"
}
],
"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_level": "low",
"basal_risk_level": "low",
"formula_expression": "CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.",
"ten_year_mof_label": "<10%",
"femoral_neck_t_score": -1,
"hip_or_spine_fragility": false,
"prolonged_glucocorticoids": false,
"fragility_fracture_after_40": false,
"multiple_fragility_fractures": false
},
{
"age": 50,
"sex": "female",
"formula": "caroc",
"row_age": 50,
"citation": {
"id": "papaioannou-2010",
"doi": "10.1503/cmaj.100771",
"pmid": "20937681",
"title": "2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary",
"source": "CMAJ. 2010;182(17):1864-1873",
"authors": "Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al."
},
"components": [
{
"met": false,
"factor": "hip_or_spine_fragility"
},
{
"met": false,
"factor": "multiple_fragility_fractures"
},
{
"met": false,
"factor": "fragility_fracture_after_40"
},
{
"met": false,
"factor": "prolonged_glucocorticoids"
},
{
"met": true,
"value": -1,
"factor": "basal_low"
},
{
"met": false,
"value": -1,
"factor": "basal_moderate"
},
{
"met": false,
"value": -1,
"factor": "basal_high"
}
],
"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_level": "low",
"basal_risk_level": "low",
"formula_expression": "CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.",
"ten_year_mof_label": "<10%",
"femoral_neck_t_score": -1,
"hip_or_spine_fragility": false,
"prolonged_glucocorticoids": false,
"fragility_fracture_after_40": false,
"multiple_fragility_fractures": 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": [
"age",
"sex",
"femoral_neck_t_score",
"fragility_fracture_after_40",
"prolonged_glucocorticoids",
"hip_or_spine_fragility",
"multiple_fragility_fractures"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years. CAROC 2010 accepts 50-89 (integer). Ages 50-85 map to the printed 5-year row; 86-89 use the 85-year row. Ages under 50 or over 89 are rejected. magent does not take a date of birth."
},
"sex": {
"type": "string",
"description": "Sex used by the printed table: female or male."
},
"femoral_neck_t_score": {
"type": "number",
"description": "Caller-assigned femoral-neck BMD T-score (-6.0 to 4.0). The NHANES III Caucasian-women reference is a densitometry convention for how that T-score was computed; this tool does not take a race input. magent does not perform DXA."
},
"hip_or_spine_fragility": {
"type": "boolean",
"description": "Hip or clinical spine fragility fracture as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not read imaging."
},
"prolonged_glucocorticoids": {
"type": "boolean",
"description": "Prolonged glucocorticoids as assigned by the caller: at least 3 months in the prior year at prednisone-equivalent 7.5 mg/day or more (Papaioannou 2010). true or false. Alone, bumps one class; with fragility_fracture_after_40, risk_level is high. magent does not compute a steroid dose."
},
"fragility_fracture_after_40": {
"type": "boolean",
"description": "Fragility fracture after age 40 as assigned by the caller (Papaioannou 2010). true or false. Alone, bumps one class; with prolonged_glucocorticoids, risk_level is high. magent does not take a fracture history."
},
"multiple_fragility_fractures": {
"type": "boolean",
"description": "Multiple fragility fractures as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not take a fracture history."
}
}
},
"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 02:12Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-11 18: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. 7 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/caroc, 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.