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/ie_mortality",
"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/ie_mortality",
"tags": [
"ie-mortality",
"endocarditis",
"infection",
"prognosis",
"calculator"
],
"mimeType": "application/json",
"description": "Park 2016 ICE Table 5 simplified 6-month IE mortality score: constant 4, age bands (<=45: 0; 46-60: 2; 61-70: 3; >70: 4), and caller-assigned flags (dialysis +3, nosocomial +2, prosthetic +1, symptoms >1 month -1, S. aureus +1, viridans -2, aortic/mitral vegetation +1 each, NYHA 3-4 +3, stroke +2, paravalvular +2, persistent bacteremia +2, surgery -2). Returns score, quadratic mortality percent, and score >= 8. Not a diagnosis. magent does not examine the patient or decide surgery.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 40,
"stroke": false,
"dialysis": false,
"nosocomial_ie": false,
"prosthetic_ie": false,
"aortic_vegetation": false,
"mitral_vegetation": false,
"nyha_class_3_or_4": false,
"surgical_treatment": false,
"symptoms_gt_1_month": false,
"persistent_bacteremia": false,
"staphylococcus_aureus": false,
"paravalvular_complication": false,
"viridans_group_streptococci": false
}
},
"output": {
"type": "json",
"example": {
"score": 4,
"formula": "ie_mortality",
"citation": {
"id": "park-2016",
"doi": "10.1161/JAHA.115.003016",
"pmid": "27091179",
"title": "Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis",
"source": "J Am Heart Assoc. 2016;5(4):e003016",
"authors": "Park LP, Chu VH, Peterson G, et al."
},
"age_years": 40,
"components": [
{
"factor": "constant",
"points": 4,
"present": true
},
{
"value": 40,
"factor": "age",
"points": 0,
"present": true
},
{
"factor": "dialysis",
"points": 0,
"present": false
},
{
"factor": "nosocomial_ie",
"points": 0,
"present": false
},
{
"factor": "prosthetic_ie",
"points": 0,
"present": false
},
{
"factor": "symptoms_gt_1_month",
"points": 0,
"present": false
},
{
"factor": "staphylococcus_aureus",
"points": 0,
"present": false
},
{
"factor": "viridans_group_streptococci",
"points": 0,
"present": false
},
{
"factor": "aortic_vegetation",
"points": 0,
"present": false
},
{
"factor": "mitral_vegetation",
"points": 0,
"present": false
},
{
"factor": "nyha_class_3_or_4",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "paravalvular_complication",
"points": 0,
"present": false
},
{
"factor": "persistent_bacteremia",
"points": 0,
"present": false
},
{
"factor": "surgical_treatment",
"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.",
"score_ge_8": false,
"mortality_percent": 6.6,
"formula_expression": "Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands"
}
},
"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",
"dialysis",
"nosocomial_ie",
"prosthetic_ie",
"symptoms_gt_1_month",
"staphylococcus_aureus",
"viridans_group_streptococci",
"aortic_vegetation",
"mitral_vegetation",
"nyha_class_3_or_4",
"stroke",
"paravalvular_complication",
"persistent_bacteremia",
"surgical_treatment"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 18-120). Park 2016 Table 5: <=45 scores 0; 46-60 scores 2; 61-70 scores 3; >70 scores 4. Age 45 scores 0; 46 scores 2; 70 scores 3; 71 scores 4. magent does not examine the patient."
},
"stroke": {
"type": "boolean",
"description": "Stroke as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not diagnose stroke."
},
"dialysis": {
"type": "boolean",
"description": "History of dialysis as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not review dialysis records."
},
"nosocomial_ie": {
"type": "boolean",
"description": "Nosocomial infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not classify acquisition."
},
"prosthetic_ie": {
"type": "boolean",
"description": "Prosthetic-valve infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. magent does not examine the valve."
},
"aortic_vegetation": {
"type": "boolean",
"description": "Aortic vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of mitral_vegetation. magent does not read an echocardiogram."
},
"mitral_vegetation": {
"type": "boolean",
"description": "Mitral vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of aortic_vegetation. magent does not read an echocardiogram."
},
"nyha_class_3_or_4": {
"type": "boolean",
"description": "NYHA class 3 or 4 heart failure as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not examine the patient or assign NYHA class."
},
"surgical_treatment": {
"type": "boolean",
"description": "Surgical treatment as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. magent does not decide surgery."
},
"symptoms_gt_1_month": {
"type": "boolean",
"description": "Symptoms for more than 1 month before admission as assigned by the caller (Park 2016 Table 5). true or false. -1 if true. magent does not date symptom onset."
},
"persistent_bacteremia": {
"type": "boolean",
"description": "Persistent bacteremia as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not interpret cultures."
},
"staphylococcus_aureus": {
"type": "boolean",
"description": "Staphylococcus aureus as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of viridans_group_streptococci; both may be true. magent does not interpret cultures."
},
"paravalvular_complication": {
"type": "boolean",
"description": "Paravalvular complication as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not read imaging."
},
"viridans_group_streptococci": {
"type": "boolean",
"description": "Viridans group streptococci as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. Independent of staphylococcus_aureus; both may be true. magent does not interpret cultures."
}
}
}
},
"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/ie_mortality",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 40,
"stroke": false,
"dialysis": false,
"nosocomial_ie": false,
"prosthetic_ie": false,
"aortic_vegetation": false,
"mitral_vegetation": false,
"nyha_class_3_or_4": false,
"surgical_treatment": false,
"symptoms_gt_1_month": false,
"persistent_bacteremia": false,
"staphylococcus_aureus": false,
"paravalvular_complication": false,
"viridans_group_streptococci": false
},
{
"age": 40,
"stroke": false,
"dialysis": false,
"nosocomial_ie": false,
"prosthetic_ie": false,
"aortic_vegetation": false,
"mitral_vegetation": false,
"nyha_class_3_or_4": false,
"surgical_treatment": false,
"symptoms_gt_1_month": false,
"persistent_bacteremia": false,
"staphylococcus_aureus": false,
"paravalvular_complication": false,
"viridans_group_streptococci": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/ie_mortality",
"count": 2,
"items": [
{
"score": 4,
"formula": "ie_mortality",
"citation": {
"id": "park-2016",
"doi": "10.1161/JAHA.115.003016",
"pmid": "27091179",
"title": "Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis",
"source": "J Am Heart Assoc. 2016;5(4):e003016",
"authors": "Park LP, Chu VH, Peterson G, et al."
},
"age_years": 40,
"components": [
{
"factor": "constant",
"points": 4,
"present": true
},
{
"value": 40,
"factor": "age",
"points": 0,
"present": true
},
{
"factor": "dialysis",
"points": 0,
"present": false
},
{
"factor": "nosocomial_ie",
"points": 0,
"present": false
},
{
"factor": "prosthetic_ie",
"points": 0,
"present": false
},
{
"factor": "symptoms_gt_1_month",
"points": 0,
"present": false
},
{
"factor": "staphylococcus_aureus",
"points": 0,
"present": false
},
{
"factor": "viridans_group_streptococci",
"points": 0,
"present": false
},
{
"factor": "aortic_vegetation",
"points": 0,
"present": false
},
{
"factor": "mitral_vegetation",
"points": 0,
"present": false
},
{
"factor": "nyha_class_3_or_4",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "paravalvular_complication",
"points": 0,
"present": false
},
{
"factor": "persistent_bacteremia",
"points": 0,
"present": false
},
{
"factor": "surgical_treatment",
"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.",
"score_ge_8": false,
"mortality_percent": 6.6,
"formula_expression": "Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands"
},
{
"score": 4,
"formula": "ie_mortality",
"citation": {
"id": "park-2016",
"doi": "10.1161/JAHA.115.003016",
"pmid": "27091179",
"title": "Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis",
"source": "J Am Heart Assoc. 2016;5(4):e003016",
"authors": "Park LP, Chu VH, Peterson G, et al."
},
"age_years": 40,
"components": [
{
"factor": "constant",
"points": 4,
"present": true
},
{
"value": 40,
"factor": "age",
"points": 0,
"present": true
},
{
"factor": "dialysis",
"points": 0,
"present": false
},
{
"factor": "nosocomial_ie",
"points": 0,
"present": false
},
{
"factor": "prosthetic_ie",
"points": 0,
"present": false
},
{
"factor": "symptoms_gt_1_month",
"points": 0,
"present": false
},
{
"factor": "staphylococcus_aureus",
"points": 0,
"present": false
},
{
"factor": "viridans_group_streptococci",
"points": 0,
"present": false
},
{
"factor": "aortic_vegetation",
"points": 0,
"present": false
},
{
"factor": "mitral_vegetation",
"points": 0,
"present": false
},
{
"factor": "nyha_class_3_or_4",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "paravalvular_complication",
"points": 0,
"present": false
},
{
"factor": "persistent_bacteremia",
"points": 0,
"present": false
},
{
"factor": "surgical_treatment",
"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.",
"score_ge_8": false,
"mortality_percent": 6.6,
"formula_expression": "Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands"
}
]
}
},
"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",
"dialysis",
"nosocomial_ie",
"prosthetic_ie",
"symptoms_gt_1_month",
"staphylococcus_aureus",
"viridans_group_streptococci",
"aortic_vegetation",
"mitral_vegetation",
"nyha_class_3_or_4",
"stroke",
"paravalvular_complication",
"persistent_bacteremia",
"surgical_treatment"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (integer 18-120). Park 2016 Table 5: <=45 scores 0; 46-60 scores 2; 61-70 scores 3; >70 scores 4. Age 45 scores 0; 46 scores 2; 70 scores 3; 71 scores 4. magent does not examine the patient."
},
"stroke": {
"type": "boolean",
"description": "Stroke as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not diagnose stroke."
},
"dialysis": {
"type": "boolean",
"description": "History of dialysis as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not review dialysis records."
},
"nosocomial_ie": {
"type": "boolean",
"description": "Nosocomial infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not classify acquisition."
},
"prosthetic_ie": {
"type": "boolean",
"description": "Prosthetic-valve infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. magent does not examine the valve."
},
"aortic_vegetation": {
"type": "boolean",
"description": "Aortic vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of mitral_vegetation. magent does not read an echocardiogram."
},
"mitral_vegetation": {
"type": "boolean",
"description": "Mitral vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of aortic_vegetation. magent does not read an echocardiogram."
},
"nyha_class_3_or_4": {
"type": "boolean",
"description": "NYHA class 3 or 4 heart failure as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not examine the patient or assign NYHA class."
},
"surgical_treatment": {
"type": "boolean",
"description": "Surgical treatment as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. magent does not decide surgery."
},
"symptoms_gt_1_month": {
"type": "boolean",
"description": "Symptoms for more than 1 month before admission as assigned by the caller (Park 2016 Table 5). true or false. -1 if true. magent does not date symptom onset."
},
"persistent_bacteremia": {
"type": "boolean",
"description": "Persistent bacteremia as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not interpret cultures."
},
"staphylococcus_aureus": {
"type": "boolean",
"description": "Staphylococcus aureus as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of viridans_group_streptococci; both may be true. magent does not interpret cultures."
},
"paravalvular_complication": {
"type": "boolean",
"description": "Paravalvular complication as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not read imaging."
},
"viridans_group_streptococci": {
"type": "boolean",
"description": "Viridans group streptococci as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. Independent of staphylococcus_aureus; both may be true. magent does not interpret cultures."
}
}
},
"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-08-31 13:19Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-22 06:15Z
- x402 version
- 2
- Max timeout
- 600s
- Liveness probe
- HTTP 402
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. 10 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/ie_mortality, 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.