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/ascvd_vhr",
"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/ascvd_vhr",
"tags": [
"ascvd",
"very-high-risk",
"aha-acc-2018",
"lipids",
"cholesterol"
],
"mimeType": "application/json",
"description": "AHA/ACC 2018 Table 4 very high-risk ASCVD for known clinical ASCVD. Very high-risk if ≥2 major events (recent ACS, prior MI, ischemic stroke, symptomatic PAD) or 1 major event and ≥2 high-risk conditions (age ≥65, heterozygous FH, CABG/PCI outside those events, diabetes, hypertension, CKD eGFR 15-59, current smoking, LDL-C ≥100 on max statin and ezetimibe, congestive HF). Not PCE. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 70,
"diabetes": true,
"history_mi": true,
"recent_acs": false,
"hypertension": false,
"congestive_hf": false,
"current_smoking": false,
"heterozygous_fh": false,
"ischemic_stroke": false,
"symptomatic_pad": false,
"ckd_egfr_15_to_59": false,
"prior_cabg_or_pci_outside_major": false,
"ldl_c_ge_100_on_max_statin_ezetimibe": false
}
},
"output": {
"type": "json",
"example": {
"age": 70,
"formula": "ascvd_vhr",
"citation": {
"id": "grundy-2018-aha-acc-cholesterol",
"doi": "10.1161/CIR.0000000000000625",
"pmid": "30586774",
"title": "2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol",
"source": "Circulation. 2019;139(25):e1082-e1143",
"authors": "Grundy SM, Stone NJ, Bailey AL, et al."
},
"criteria": [
{
"met": false,
"factor": "recent_acs"
},
{
"met": true,
"factor": "history_mi"
},
{
"met": false,
"factor": "ischemic_stroke"
},
{
"met": false,
"factor": "symptomatic_pad"
},
{
"met": true,
"value": 70,
"factor": "age_ge_65"
},
{
"met": false,
"factor": "heterozygous_fh"
},
{
"met": false,
"factor": "prior_cabg_or_pci_outside_major"
},
{
"met": true,
"factor": "diabetes"
},
{
"met": false,
"factor": "hypertension"
},
{
"met": false,
"factor": "ckd_egfr_15_to_59"
},
{
"met": false,
"factor": "current_smoking"
},
{
"met": false,
"factor": "ldl_c_ge_100_on_max_statin_ezetimibe"
},
{
"met": false,
"factor": "congestive_hf"
}
],
"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.",
"very_high_risk": true,
"classifying_rule": "one_major_and_multiple_high_risk_conditions",
"major_event_count": 1,
"formula_expression": "very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C",
"high_risk_condition_count": 2
}
},
"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",
"recent_acs",
"history_mi",
"ischemic_stroke",
"symptomatic_pad",
"heterozygous_fh",
"prior_cabg_or_pci_outside_major",
"diabetes",
"hypertension",
"ckd_egfr_15_to_59",
"current_smoking",
"ldl_c_ge_100_on_max_statin_ezetimibe",
"congestive_hf"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). ≥65 is an AHA/ACC 2018 Table 4 high-risk condition. magent does not assign age."
},
"diabetes": {
"type": "boolean",
"description": "Diabetes mellitus as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose diabetes."
},
"history_mi": {
"type": "boolean",
"description": "History of MI other than a caller-assigned recent ACS as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose MI."
},
"recent_acs": {
"type": "boolean",
"description": "Recent ACS within the past 12 months as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not date ACS."
},
"hypertension": {
"type": "boolean",
"description": "Hypertension as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not measure blood pressure."
},
"congestive_hf": {
"type": "boolean",
"description": "History of congestive HF as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose HF."
},
"current_smoking": {
"type": "boolean",
"description": "Current smoking as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assign smoking status."
},
"heterozygous_fh": {
"type": "boolean",
"description": "Heterozygous familial hypercholesterolemia as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose FH."
},
"ischemic_stroke": {
"type": "boolean",
"description": "History of ischemic stroke as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose stroke."
},
"symptomatic_pad": {
"type": "boolean",
"description": "Symptomatic PAD as assigned by the caller from the Table 4 row (claudication with ABI <0.85, or previous revascularization or amputation). true or false. magent does not measure ABI."
},
"ckd_egfr_15_to_59": {
"type": "boolean",
"description": "CKD with eGFR 15–59 mL/min/1.73 m² as assigned by the caller (AHA/ACC 2018 Table 4 printed band). true or false. magent does not compute eGFR."
},
"prior_cabg_or_pci_outside_major": {
"type": "boolean",
"description": "Prior CABG or PCI outside the major ASCVD event(s) as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not read an operative note."
},
"ldl_c_ge_100_on_max_statin_ezetimibe": {
"type": "boolean",
"description": "Persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assay LDL-C."
}
}
}
},
"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/ascvd_vhr",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 70,
"diabetes": true,
"history_mi": true,
"recent_acs": false,
"hypertension": false,
"congestive_hf": false,
"current_smoking": false,
"heterozygous_fh": false,
"ischemic_stroke": false,
"symptomatic_pad": false,
"ckd_egfr_15_to_59": false,
"prior_cabg_or_pci_outside_major": false,
"ldl_c_ge_100_on_max_statin_ezetimibe": false
},
{
"age": 70,
"diabetes": true,
"history_mi": true,
"recent_acs": false,
"hypertension": false,
"congestive_hf": false,
"current_smoking": false,
"heterozygous_fh": false,
"ischemic_stroke": false,
"symptomatic_pad": false,
"ckd_egfr_15_to_59": false,
"prior_cabg_or_pci_outside_major": false,
"ldl_c_ge_100_on_max_statin_ezetimibe": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/ascvd_vhr",
"count": 2,
"items": [
{
"age": 70,
"formula": "ascvd_vhr",
"citation": {
"id": "grundy-2018-aha-acc-cholesterol",
"doi": "10.1161/CIR.0000000000000625",
"pmid": "30586774",
"title": "2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol",
"source": "Circulation. 2019;139(25):e1082-e1143",
"authors": "Grundy SM, Stone NJ, Bailey AL, et al."
},
"criteria": [
{
"met": false,
"factor": "recent_acs"
},
{
"met": true,
"factor": "history_mi"
},
{
"met": false,
"factor": "ischemic_stroke"
},
{
"met": false,
"factor": "symptomatic_pad"
},
{
"met": true,
"value": 70,
"factor": "age_ge_65"
},
{
"met": false,
"factor": "heterozygous_fh"
},
{
"met": false,
"factor": "prior_cabg_or_pci_outside_major"
},
{
"met": true,
"factor": "diabetes"
},
{
"met": false,
"factor": "hypertension"
},
{
"met": false,
"factor": "ckd_egfr_15_to_59"
},
{
"met": false,
"factor": "current_smoking"
},
{
"met": false,
"factor": "ldl_c_ge_100_on_max_statin_ezetimibe"
},
{
"met": false,
"factor": "congestive_hf"
}
],
"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.",
"very_high_risk": true,
"classifying_rule": "one_major_and_multiple_high_risk_conditions",
"major_event_count": 1,
"formula_expression": "very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C",
"high_risk_condition_count": 2
},
{
"age": 70,
"formula": "ascvd_vhr",
"citation": {
"id": "grundy-2018-aha-acc-cholesterol",
"doi": "10.1161/CIR.0000000000000625",
"pmid": "30586774",
"title": "2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol",
"source": "Circulation. 2019;139(25):e1082-e1143",
"authors": "Grundy SM, Stone NJ, Bailey AL, et al."
},
"criteria": [
{
"met": false,
"factor": "recent_acs"
},
{
"met": true,
"factor": "history_mi"
},
{
"met": false,
"factor": "ischemic_stroke"
},
{
"met": false,
"factor": "symptomatic_pad"
},
{
"met": true,
"value": 70,
"factor": "age_ge_65"
},
{
"met": false,
"factor": "heterozygous_fh"
},
{
"met": false,
"factor": "prior_cabg_or_pci_outside_major"
},
{
"met": true,
"factor": "diabetes"
},
{
"met": false,
"factor": "hypertension"
},
{
"met": false,
"factor": "ckd_egfr_15_to_59"
},
{
"met": false,
"factor": "current_smoking"
},
{
"met": false,
"factor": "ldl_c_ge_100_on_max_statin_ezetimibe"
},
{
"met": false,
"factor": "congestive_hf"
}
],
"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.",
"very_high_risk": true,
"classifying_rule": "one_major_and_multiple_high_risk_conditions",
"major_event_count": 1,
"formula_expression": "very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C",
"high_risk_condition_count": 2
}
]
}
},
"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",
"recent_acs",
"history_mi",
"ischemic_stroke",
"symptomatic_pad",
"heterozygous_fh",
"prior_cabg_or_pci_outside_major",
"diabetes",
"hypertension",
"ckd_egfr_15_to_59",
"current_smoking",
"ldl_c_ge_100_on_max_statin_ezetimibe",
"congestive_hf"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). ≥65 is an AHA/ACC 2018 Table 4 high-risk condition. magent does not assign age."
},
"diabetes": {
"type": "boolean",
"description": "Diabetes mellitus as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose diabetes."
},
"history_mi": {
"type": "boolean",
"description": "History of MI other than a caller-assigned recent ACS as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose MI."
},
"recent_acs": {
"type": "boolean",
"description": "Recent ACS within the past 12 months as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not date ACS."
},
"hypertension": {
"type": "boolean",
"description": "Hypertension as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not measure blood pressure."
},
"congestive_hf": {
"type": "boolean",
"description": "History of congestive HF as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose HF."
},
"current_smoking": {
"type": "boolean",
"description": "Current smoking as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assign smoking status."
},
"heterozygous_fh": {
"type": "boolean",
"description": "Heterozygous familial hypercholesterolemia as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose FH."
},
"ischemic_stroke": {
"type": "boolean",
"description": "History of ischemic stroke as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose stroke."
},
"symptomatic_pad": {
"type": "boolean",
"description": "Symptomatic PAD as assigned by the caller from the Table 4 row (claudication with ABI <0.85, or previous revascularization or amputation). true or false. magent does not measure ABI."
},
"ckd_egfr_15_to_59": {
"type": "boolean",
"description": "CKD with eGFR 15–59 mL/min/1.73 m² as assigned by the caller (AHA/ACC 2018 Table 4 printed band). true or false. magent does not compute eGFR."
},
"prior_cabg_or_pci_outside_major": {
"type": "boolean",
"description": "Prior CABG or PCI outside the major ASCVD event(s) as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not read an operative note."
},
"ldl_c_ge_100_on_max_statin_ezetimibe": {
"type": "boolean",
"description": "Persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assay LDL-C."
}
}
},
"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-04 08:10Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-12 14:15Z
- 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. 5 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/ascvd_vhr, 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.