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/mrc_icu",
"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/mrc_icu",
"tags": [
"mrc-icu",
"icu",
"medication-complexity",
"gwynn-2019"
],
"mimeType": "application/json",
"description": "Gwynn 2019 MRC-ICU: 39 printed ICU medication and device items (1, 2, or 3 points). Multiplier classes are weight × the caller-assigned count of qualifying medications. Non-multiplier items add the printed weight when present. Output is the integer sum plus components. Not a pharmacist-staffing order; magent does not read the MAR.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"ecmo": false,
"iabp": false,
"lvad": false,
"digoxin": false,
"lithium": false,
"dialysis": false,
"warfarin": false,
"clozapine": false,
"argatroban": false,
"chemotherapy": 0,
"theophylline": false,
"bowel_regimen": false,
"chlorhexidine": false,
"prostacyclins": 0,
"vancomycin_iv": false,
"amphotericin_b": false,
"anticoagulants": 0,
"antimicrobials": 0,
"blood_products": 0,
"aminoglycosides": 0,
"antiarrhythmics": 0,
"anticonvulsants": 0,
"glycemic_control": false,
"azole_antifungals": 0,
"opioids_sedatives": 0,
"immunosuppressants": 0,
"lidocaine_infusion": false,
"tpn_non_pharmacist": false,
"hyperosmolar_fluids": 0,
"continuous_infusions": 0,
"therapeutic_heparins": 0,
"mechanical_ventilation": false,
"neuromuscular_blockade": false,
"tpn_clinical_pharmacist": false,
"stress_ulcer_prophylaxis": false,
"restricted_antimicrobials": 0,
"ganciclovir_valganciclovir": 0,
"thromboembolic_prophylaxis": false,
"continuous_opioids_sedatives": 0
}
},
"output": {
"type": "json",
"example": {
"score": 0,
"formula": "mrc_icu",
"citation": {
"id": "gwynn-2019",
"doi": "10.1093/ajhp/zxy054",
"pmid": "31067298",
"title": "Development and validation of a medication regimen complexity scoring tool for critically ill patients",
"source": "Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40",
"authors": "Gwynn ME, Poisson MO, Waller JL, Newsome AS"
},
"components": [
{
"value": 0,
"factor": "aminoglycosides",
"points": 0,
"present": false
},
{
"factor": "amphotericin_b",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "antiarrhythmics",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "anticoagulants",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "anticonvulsants",
"points": 0,
"present": false
},
{
"factor": "argatroban",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "azole_antifungals",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "blood_products",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "chemotherapy",
"points": 0,
"present": false
},
{
"factor": "clozapine",
"points": 0,
"present": false
},
{
"factor": "digoxin",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "ganciclovir_valganciclovir",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "hyperosmolar_fluids",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "immunosuppressants",
"points": 0,
"present": false
},
{
"factor": "lidocaine_infusion",
"points": 0,
"present": false
},
{
"factor": "lithium",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "prostacyclins",
"points": 0,
"present": false
},
{
"factor": "theophylline",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "therapeutic_heparins",
"points": 0,
"present": false
},
{
"factor": "vancomycin_iv",
"points": 0,
"present": false
},
{
"factor": "warfarin",
"points": 0,
"present": false
},
{
"factor": "neuromuscular_blockade",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "continuous_infusions",
"points": 0,
"present": false
},
{
"factor": "tpn_non_pharmacist",
"points": 0,
"present": false
},
{
"factor": "tpn_clinical_pharmacist",
"points": 0,
"present": false
},
{
"factor": "thromboembolic_prophylaxis",
"points": 0,
"present": false
},
{
"factor": "stress_ulcer_prophylaxis",
"points": 0,
"present": false
},
{
"factor": "glycemic_control",
"points": 0,
"present": false
},
{
"factor": "bowel_regimen",
"points": 0,
"present": false
},
{
"factor": "chlorhexidine",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "opioids_sedatives",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "continuous_opioids_sedatives",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "antimicrobials",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "restricted_antimicrobials",
"points": 0,
"present": false
},
{
"factor": "dialysis",
"points": 0,
"present": false
},
{
"factor": "ecmo",
"points": 0,
"present": false
},
{
"factor": "iabp",
"points": 0,
"present": false
},
{
"factor": "lvad",
"points": 0,
"present": false
},
{
"factor": "mechanical_ventilation",
"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_expression": "MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 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": [
"aminoglycosides",
"amphotericin_b",
"antiarrhythmics",
"anticoagulants",
"anticonvulsants",
"argatroban",
"azole_antifungals",
"blood_products",
"chemotherapy",
"clozapine",
"digoxin",
"ganciclovir_valganciclovir",
"hyperosmolar_fluids",
"immunosuppressants",
"lidocaine_infusion",
"lithium",
"prostacyclins",
"theophylline",
"therapeutic_heparins",
"vancomycin_iv",
"warfarin",
"neuromuscular_blockade",
"continuous_infusions",
"tpn_non_pharmacist",
"tpn_clinical_pharmacist",
"thromboembolic_prophylaxis",
"stress_ulcer_prophylaxis",
"glycemic_control",
"bowel_regimen",
"chlorhexidine",
"opioids_sedatives",
"continuous_opioids_sedatives",
"antimicrobials",
"restricted_antimicrobials",
"dialysis",
"ecmo",
"iabp",
"lvad",
"mechanical_ventilation"
],
"properties": {
"ecmo": {
"type": "boolean",
"description": "Extracorporeal membrane oxygenation (ECMO) present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"iabp": {
"type": "boolean",
"description": "Intra-aortic balloon pump (IABP) present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"lvad": {
"type": "boolean",
"description": "Left ventricular assist device (LVAD) present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"digoxin": {
"type": "boolean",
"description": "Digoxin present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"lithium": {
"type": "boolean",
"description": "Lithium present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"dialysis": {
"type": "boolean",
"description": "Dialysis present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"warfarin": {
"type": "boolean",
"description": "Warfarin present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"clozapine": {
"type": "boolean",
"description": "Clozapine present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"argatroban": {
"type": "boolean",
"description": "Argatroban present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"chemotherapy": {
"type": "integer",
"description": "Count of active inpatient chemotherapy agents as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×."
},
"theophylline": {
"type": "boolean",
"description": "Theophylline present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"bowel_regimen": {
"type": "boolean",
"description": "Bowel regimen present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"chlorhexidine": {
"type": "boolean",
"description": "Chlorhexidine present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"prostacyclins": {
"type": "integer",
"description": "Count of prostacyclins (epoprostenol, iloprost, treprostinil) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"vancomycin_iv": {
"type": "boolean",
"description": "Intravenous vancomycin present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"amphotericin_b": {
"type": "boolean",
"description": "Amphotericin B or liposomal amphotericin B present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"anticoagulants": {
"type": "integer",
"description": "Count of anticoagulants (NOACs/DOACs, fondaparinux) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"antimicrobials": {
"type": "integer",
"description": "Count of antimicrobials including HIV medications and excluding agents listed on other Gwynn 2019 rows, as assigned by the caller (integer 0-20). Printed 1×."
},
"blood_products": {
"type": "integer",
"description": "Count of blood products (factor products, antithrombin III) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"aminoglycosides": {
"type": "integer",
"description": "Count of aminoglycosides (amikacin, gentamicin, tobramycin) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×. magent does not read the MAR."
},
"antiarrhythmics": {
"type": "integer",
"description": "Count of antiarrhythmics (amiodarone, dofetilide, sotalol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"anticonvulsants": {
"type": "integer",
"description": "Count of anticonvulsants (carbamazepine, phenobarbital, phenytoin, valproic acid) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×."
},
"glycemic_control": {
"type": "boolean",
"description": "Glycemic control with subcutaneous insulin, excluding intravenous insulin, as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"azole_antifungals": {
"type": "integer",
"description": "Count of azole antifungals (posaconazole, voriconazole) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"opioids_sedatives": {
"type": "integer",
"description": "Count of scheduled or PRN opioids and sedatives as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"immunosuppressants": {
"type": "integer",
"description": "Count of immunosuppressants (cyclosporine, sirolimus, tacrolimus) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×."
},
"lidocaine_infusion": {
"type": "boolean",
"description": "Lidocaine continuous infusion present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"tpn_non_pharmacist": {
"type": "boolean",
"description": "Total parenteral nutrition managed by a non-pharmacist service as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"hyperosmolar_fluids": {
"type": "integer",
"description": "Count of hyperosmolar fluids (hypertonic saline 1.5%, 3%, 23.4%; mannitol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"continuous_infusions": {
"type": "integer",
"description": "Count of continuous infusions not listed on another Gwynn 2019 row, as assigned by the caller (integer 0-20). Printed 1×."
},
"therapeutic_heparins": {
"type": "integer",
"description": "Count of therapeutic heparins (enoxaparin, heparin infusion) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"mechanical_ventilation": {
"type": "boolean",
"description": "Mechanical ventilation present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"neuromuscular_blockade": {
"type": "boolean",
"description": "Neuromuscular blockade present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"tpn_clinical_pharmacist": {
"type": "boolean",
"description": "Total parenteral nutrition managed by a clinical specialist pharmacist as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"stress_ulcer_prophylaxis": {
"type": "boolean",
"description": "Stress ulcer prophylaxis present, excluding pantoprazole infusion, as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"restricted_antimicrobials": {
"type": "integer",
"description": "Count of restricted antimicrobials (4th-5th generation cephalosporins, carbapenems, linezolid, daptomycin, colistin/polymyxins) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"ganciclovir_valganciclovir": {
"type": "integer",
"description": "Count of ganciclovir or valganciclovir products as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"thromboembolic_prophylaxis": {
"type": "boolean",
"description": "Thromboembolic prophylaxis present, excluding heparin infusion and therapeutic enoxaparin, as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"continuous_opioids_sedatives": {
"type": "integer",
"description": "Count of continuous-infusion opioids and sedatives (propofol, fentanyl, dexmedetomidine, ketamine, benzodiazepines) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
}
}
}
},
"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/mrc_icu",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"ecmo": false,
"iabp": false,
"lvad": false,
"digoxin": false,
"lithium": false,
"dialysis": false,
"warfarin": false,
"clozapine": false,
"argatroban": false,
"chemotherapy": 0,
"theophylline": false,
"bowel_regimen": false,
"chlorhexidine": false,
"prostacyclins": 0,
"vancomycin_iv": false,
"amphotericin_b": false,
"anticoagulants": 0,
"antimicrobials": 0,
"blood_products": 0,
"aminoglycosides": 0,
"antiarrhythmics": 0,
"anticonvulsants": 0,
"glycemic_control": false,
"azole_antifungals": 0,
"opioids_sedatives": 0,
"immunosuppressants": 0,
"lidocaine_infusion": false,
"tpn_non_pharmacist": false,
"hyperosmolar_fluids": 0,
"continuous_infusions": 0,
"therapeutic_heparins": 0,
"mechanical_ventilation": false,
"neuromuscular_blockade": false,
"tpn_clinical_pharmacist": false,
"stress_ulcer_prophylaxis": false,
"restricted_antimicrobials": 0,
"ganciclovir_valganciclovir": 0,
"thromboembolic_prophylaxis": false,
"continuous_opioids_sedatives": 0
},
{
"ecmo": false,
"iabp": false,
"lvad": false,
"digoxin": false,
"lithium": false,
"dialysis": false,
"warfarin": false,
"clozapine": false,
"argatroban": false,
"chemotherapy": 0,
"theophylline": false,
"bowel_regimen": false,
"chlorhexidine": false,
"prostacyclins": 0,
"vancomycin_iv": false,
"amphotericin_b": false,
"anticoagulants": 0,
"antimicrobials": 0,
"blood_products": 0,
"aminoglycosides": 0,
"antiarrhythmics": 0,
"anticonvulsants": 0,
"glycemic_control": false,
"azole_antifungals": 0,
"opioids_sedatives": 0,
"immunosuppressants": 0,
"lidocaine_infusion": false,
"tpn_non_pharmacist": false,
"hyperosmolar_fluids": 0,
"continuous_infusions": 0,
"therapeutic_heparins": 0,
"mechanical_ventilation": false,
"neuromuscular_blockade": false,
"tpn_clinical_pharmacist": false,
"stress_ulcer_prophylaxis": false,
"restricted_antimicrobials": 0,
"ganciclovir_valganciclovir": 0,
"thromboembolic_prophylaxis": false,
"continuous_opioids_sedatives": 0
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/mrc_icu",
"count": 2,
"items": [
{
"score": 0,
"formula": "mrc_icu",
"citation": {
"id": "gwynn-2019",
"doi": "10.1093/ajhp/zxy054",
"pmid": "31067298",
"title": "Development and validation of a medication regimen complexity scoring tool for critically ill patients",
"source": "Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40",
"authors": "Gwynn ME, Poisson MO, Waller JL, Newsome AS"
},
"components": [
{
"value": 0,
"factor": "aminoglycosides",
"points": 0,
"present": false
},
{
"factor": "amphotericin_b",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "antiarrhythmics",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "anticoagulants",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "anticonvulsants",
"points": 0,
"present": false
},
{
"factor": "argatroban",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "azole_antifungals",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "blood_products",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "chemotherapy",
"points": 0,
"present": false
},
{
"factor": "clozapine",
"points": 0,
"present": false
},
{
"factor": "digoxin",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "ganciclovir_valganciclovir",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "hyperosmolar_fluids",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "immunosuppressants",
"points": 0,
"present": false
},
{
"factor": "lidocaine_infusion",
"points": 0,
"present": false
},
{
"factor": "lithium",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "prostacyclins",
"points": 0,
"present": false
},
{
"factor": "theophylline",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "therapeutic_heparins",
"points": 0,
"present": false
},
{
"factor": "vancomycin_iv",
"points": 0,
"present": false
},
{
"factor": "warfarin",
"points": 0,
"present": false
},
{
"factor": "neuromuscular_blockade",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "continuous_infusions",
"points": 0,
"present": false
},
{
"factor": "tpn_non_pharmacist",
"points": 0,
"present": false
},
{
"factor": "tpn_clinical_pharmacist",
"points": 0,
"present": false
},
{
"factor": "thromboembolic_prophylaxis",
"points": 0,
"present": false
},
{
"factor": "stress_ulcer_prophylaxis",
"points": 0,
"present": false
},
{
"factor": "glycemic_control",
"points": 0,
"present": false
},
{
"factor": "bowel_regimen",
"points": 0,
"present": false
},
{
"factor": "chlorhexidine",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "opioids_sedatives",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "continuous_opioids_sedatives",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "antimicrobials",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "restricted_antimicrobials",
"points": 0,
"present": false
},
{
"factor": "dialysis",
"points": 0,
"present": false
},
{
"factor": "ecmo",
"points": 0,
"present": false
},
{
"factor": "iabp",
"points": 0,
"present": false
},
{
"factor": "lvad",
"points": 0,
"present": false
},
{
"factor": "mechanical_ventilation",
"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_expression": "MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2"
},
{
"score": 0,
"formula": "mrc_icu",
"citation": {
"id": "gwynn-2019",
"doi": "10.1093/ajhp/zxy054",
"pmid": "31067298",
"title": "Development and validation of a medication regimen complexity scoring tool for critically ill patients",
"source": "Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40",
"authors": "Gwynn ME, Poisson MO, Waller JL, Newsome AS"
},
"components": [
{
"value": 0,
"factor": "aminoglycosides",
"points": 0,
"present": false
},
{
"factor": "amphotericin_b",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "antiarrhythmics",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "anticoagulants",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "anticonvulsants",
"points": 0,
"present": false
},
{
"factor": "argatroban",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "azole_antifungals",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "blood_products",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "chemotherapy",
"points": 0,
"present": false
},
{
"factor": "clozapine",
"points": 0,
"present": false
},
{
"factor": "digoxin",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "ganciclovir_valganciclovir",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "hyperosmolar_fluids",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "immunosuppressants",
"points": 0,
"present": false
},
{
"factor": "lidocaine_infusion",
"points": 0,
"present": false
},
{
"factor": "lithium",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "prostacyclins",
"points": 0,
"present": false
},
{
"factor": "theophylline",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "therapeutic_heparins",
"points": 0,
"present": false
},
{
"factor": "vancomycin_iv",
"points": 0,
"present": false
},
{
"factor": "warfarin",
"points": 0,
"present": false
},
{
"factor": "neuromuscular_blockade",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "continuous_infusions",
"points": 0,
"present": false
},
{
"factor": "tpn_non_pharmacist",
"points": 0,
"present": false
},
{
"factor": "tpn_clinical_pharmacist",
"points": 0,
"present": false
},
{
"factor": "thromboembolic_prophylaxis",
"points": 0,
"present": false
},
{
"factor": "stress_ulcer_prophylaxis",
"points": 0,
"present": false
},
{
"factor": "glycemic_control",
"points": 0,
"present": false
},
{
"factor": "bowel_regimen",
"points": 0,
"present": false
},
{
"factor": "chlorhexidine",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "opioids_sedatives",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "continuous_opioids_sedatives",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "antimicrobials",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "restricted_antimicrobials",
"points": 0,
"present": false
},
{
"factor": "dialysis",
"points": 0,
"present": false
},
{
"factor": "ecmo",
"points": 0,
"present": false
},
{
"factor": "iabp",
"points": 0,
"present": false
},
{
"factor": "lvad",
"points": 0,
"present": false
},
{
"factor": "mechanical_ventilation",
"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_expression": "MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 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": [
"aminoglycosides",
"amphotericin_b",
"antiarrhythmics",
"anticoagulants",
"anticonvulsants",
"argatroban",
"azole_antifungals",
"blood_products",
"chemotherapy",
"clozapine",
"digoxin",
"ganciclovir_valganciclovir",
"hyperosmolar_fluids",
"immunosuppressants",
"lidocaine_infusion",
"lithium",
"prostacyclins",
"theophylline",
"therapeutic_heparins",
"vancomycin_iv",
"warfarin",
"neuromuscular_blockade",
"continuous_infusions",
"tpn_non_pharmacist",
"tpn_clinical_pharmacist",
"thromboembolic_prophylaxis",
"stress_ulcer_prophylaxis",
"glycemic_control",
"bowel_regimen",
"chlorhexidine",
"opioids_sedatives",
"continuous_opioids_sedatives",
"antimicrobials",
"restricted_antimicrobials",
"dialysis",
"ecmo",
"iabp",
"lvad",
"mechanical_ventilation"
],
"properties": {
"ecmo": {
"type": "boolean",
"description": "Extracorporeal membrane oxygenation (ECMO) present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"iabp": {
"type": "boolean",
"description": "Intra-aortic balloon pump (IABP) present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"lvad": {
"type": "boolean",
"description": "Left ventricular assist device (LVAD) present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"digoxin": {
"type": "boolean",
"description": "Digoxin present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"lithium": {
"type": "boolean",
"description": "Lithium present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"dialysis": {
"type": "boolean",
"description": "Dialysis present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"warfarin": {
"type": "boolean",
"description": "Warfarin present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"clozapine": {
"type": "boolean",
"description": "Clozapine present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"argatroban": {
"type": "boolean",
"description": "Argatroban present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"chemotherapy": {
"type": "integer",
"description": "Count of active inpatient chemotherapy agents as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×."
},
"theophylline": {
"type": "boolean",
"description": "Theophylline present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"bowel_regimen": {
"type": "boolean",
"description": "Bowel regimen present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"chlorhexidine": {
"type": "boolean",
"description": "Chlorhexidine present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"prostacyclins": {
"type": "integer",
"description": "Count of prostacyclins (epoprostenol, iloprost, treprostinil) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"vancomycin_iv": {
"type": "boolean",
"description": "Intravenous vancomycin present as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"amphotericin_b": {
"type": "boolean",
"description": "Amphotericin B or liposomal amphotericin B present as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"anticoagulants": {
"type": "integer",
"description": "Count of anticoagulants (NOACs/DOACs, fondaparinux) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"antimicrobials": {
"type": "integer",
"description": "Count of antimicrobials including HIV medications and excluding agents listed on other Gwynn 2019 rows, as assigned by the caller (integer 0-20). Printed 1×."
},
"blood_products": {
"type": "integer",
"description": "Count of blood products (factor products, antithrombin III) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"aminoglycosides": {
"type": "integer",
"description": "Count of aminoglycosides (amikacin, gentamicin, tobramycin) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×. magent does not read the MAR."
},
"antiarrhythmics": {
"type": "integer",
"description": "Count of antiarrhythmics (amiodarone, dofetilide, sotalol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"anticonvulsants": {
"type": "integer",
"description": "Count of anticonvulsants (carbamazepine, phenobarbital, phenytoin, valproic acid) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×."
},
"glycemic_control": {
"type": "boolean",
"description": "Glycemic control with subcutaneous insulin, excluding intravenous insulin, as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"azole_antifungals": {
"type": "integer",
"description": "Count of azole antifungals (posaconazole, voriconazole) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"opioids_sedatives": {
"type": "integer",
"description": "Count of scheduled or PRN opioids and sedatives as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"immunosuppressants": {
"type": "integer",
"description": "Count of immunosuppressants (cyclosporine, sirolimus, tacrolimus) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×."
},
"lidocaine_infusion": {
"type": "boolean",
"description": "Lidocaine continuous infusion present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"tpn_non_pharmacist": {
"type": "boolean",
"description": "Total parenteral nutrition managed by a non-pharmacist service as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"hyperosmolar_fluids": {
"type": "integer",
"description": "Count of hyperosmolar fluids (hypertonic saline 1.5%, 3%, 23.4%; mannitol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"continuous_infusions": {
"type": "integer",
"description": "Count of continuous infusions not listed on another Gwynn 2019 row, as assigned by the caller (integer 0-20). Printed 1×."
},
"therapeutic_heparins": {
"type": "integer",
"description": "Count of therapeutic heparins (enoxaparin, heparin infusion) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"mechanical_ventilation": {
"type": "boolean",
"description": "Mechanical ventilation present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"neuromuscular_blockade": {
"type": "boolean",
"description": "Neuromuscular blockade present as assigned by the caller (Gwynn 2019). true adds 2 points."
},
"tpn_clinical_pharmacist": {
"type": "boolean",
"description": "Total parenteral nutrition managed by a clinical specialist pharmacist as assigned by the caller (Gwynn 2019). true adds 3 points."
},
"stress_ulcer_prophylaxis": {
"type": "boolean",
"description": "Stress ulcer prophylaxis present, excluding pantoprazole infusion, as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"restricted_antimicrobials": {
"type": "integer",
"description": "Count of restricted antimicrobials (4th-5th generation cephalosporins, carbapenems, linezolid, daptomycin, colistin/polymyxins) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
},
"ganciclovir_valganciclovir": {
"type": "integer",
"description": "Count of ganciclovir or valganciclovir products as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×."
},
"thromboembolic_prophylaxis": {
"type": "boolean",
"description": "Thromboembolic prophylaxis present, excluding heparin infusion and therapeutic enoxaparin, as assigned by the caller (Gwynn 2019). true adds 1 point."
},
"continuous_opioids_sedatives": {
"type": "integer",
"description": "Count of continuous-infusion opioids and sedatives (propofol, fentanyl, dexmedetomidine, ketamine, benzodiazepines) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×."
}
}
},
"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 00:14Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-11 16: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/mrc_icu, 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.