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/caprini",
"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/caprini",
"tags": [
"caprini",
"vte",
"thrombosis",
"score",
"calculator"
],
"mimeType": "application/json",
"description": "Caprini 2005 thrombosis risk assessment (Table 3): exclusive age (41-60=1, 61-74=2, >=75=3) and exclusive surgery (minor=1; arthroscopic/major/laparoscopic=2; arthroplasty=5) plus caller-assigned 1-, 2-, 3-, and 5-point flags. Max 78. Bands: 0-1 low, 2 moderate, 3-4 high, >=5 highest. Not a diagnosis. Not Caprini 2009/2013. Not a prophylaxis order.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"age": 50,
"sepsis": false,
"stroke": false,
"obesity": false,
"surgery": "none",
"malignancy": false,
"swollen_legs": false,
"history_dvt_pe": false,
"varicose_veins": false,
"factor_v_leiden": false,
"multiple_trauma": false,
"medical_bed_rest": false,
"other_risk_factor": false,
"prothrombin_20210a": false,
"spinal_cord_injury": false,
"lupus_anticoagulant": false,
"other_thrombophilia": false,
"prior_major_surgery": false,
"serious_lung_disease": false,
"central_venous_access": false,
"elevated_homocysteine": false,
"confined_to_bed_gt_72h": false,
"hip_pelvis_leg_fracture": false,
"pregnancy_or_postpartum": false,
"congestive_heart_failure": false,
"adverse_pregnancy_history": false,
"family_history_thrombosis": false,
"immobilizing_plaster_cast": false,
"anticardiolipin_antibodies": false,
"inflammatory_bowel_disease": false,
"oral_contraceptives_or_hrt": false,
"abnormal_pulmonary_function": false,
"acute_myocardial_infarction": false,
"heparin_induced_thrombocytopenia": false
}
},
"output": {
"type": "json",
"example": {
"score": 1,
"formula": "caprini",
"surgery": "none",
"citation": {
"id": "caprini-2005",
"doi": "10.1016/j.disamonth.2005.02.003",
"pmid": "15900257",
"title": "Thrombosis risk assessment as a guide to quality patient care",
"source": "Dis Mon. 2005;51(2-3):70-78",
"authors": "Caprini JA"
},
"age_years": 50,
"max_score": 78,
"risk_band": "low",
"components": [
{
"value": 50,
"factor": "age",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "surgery",
"points": 0,
"present": false
},
{
"factor": "prior_major_surgery",
"points": 0,
"present": false
},
{
"factor": "varicose_veins",
"points": 0,
"present": false
},
{
"factor": "inflammatory_bowel_disease",
"points": 0,
"present": false
},
{
"factor": "swollen_legs",
"points": 0,
"present": false
},
{
"factor": "obesity",
"points": 0,
"present": false
},
{
"factor": "acute_myocardial_infarction",
"points": 0,
"present": false
},
{
"factor": "congestive_heart_failure",
"points": 0,
"present": false
},
{
"factor": "sepsis",
"points": 0,
"present": false
},
{
"factor": "serious_lung_disease",
"points": 0,
"present": false
},
{
"factor": "abnormal_pulmonary_function",
"points": 0,
"present": false
},
{
"factor": "medical_bed_rest",
"points": 0,
"present": false
},
{
"factor": "other_risk_factor",
"points": 0,
"present": false
},
{
"factor": "oral_contraceptives_or_hrt",
"points": 0,
"present": false
},
{
"factor": "pregnancy_or_postpartum",
"points": 0,
"present": false
},
{
"factor": "adverse_pregnancy_history",
"points": 0,
"present": false
},
{
"factor": "malignancy",
"points": 0,
"present": false
},
{
"factor": "confined_to_bed_gt_72h",
"points": 0,
"present": false
},
{
"factor": "immobilizing_plaster_cast",
"points": 0,
"present": false
},
{
"factor": "central_venous_access",
"points": 0,
"present": false
},
{
"factor": "history_dvt_pe",
"points": 0,
"present": false
},
{
"factor": "family_history_thrombosis",
"points": 0,
"present": false
},
{
"factor": "factor_v_leiden",
"points": 0,
"present": false
},
{
"factor": "prothrombin_20210a",
"points": 0,
"present": false
},
{
"factor": "elevated_homocysteine",
"points": 0,
"present": false
},
{
"factor": "lupus_anticoagulant",
"points": 0,
"present": false
},
{
"factor": "anticardiolipin_antibodies",
"points": 0,
"present": false
},
{
"factor": "heparin_induced_thrombocytopenia",
"points": 0,
"present": false
},
{
"factor": "other_thrombophilia",
"points": 0,
"present": false
},
{
"factor": "hip_pelvis_leg_fracture",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "multiple_trauma",
"points": 0,
"present": false
},
{
"factor": "spinal_cord_injury",
"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": "Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest"
}
},
"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",
"surgery",
"prior_major_surgery",
"varicose_veins",
"inflammatory_bowel_disease",
"swollen_legs",
"obesity",
"acute_myocardial_infarction",
"congestive_heart_failure",
"sepsis",
"serious_lung_disease",
"abnormal_pulmonary_function",
"medical_bed_rest",
"other_risk_factor",
"oral_contraceptives_or_hrt",
"pregnancy_or_postpartum",
"adverse_pregnancy_history",
"malignancy",
"confined_to_bed_gt_72h",
"immobilizing_plaster_cast",
"central_venous_access",
"history_dvt_pe",
"family_history_thrombosis",
"factor_v_leiden",
"prothrombin_20210a",
"elevated_homocysteine",
"lupus_anticoagulant",
"anticardiolipin_antibodies",
"heparin_induced_thrombocytopenia",
"other_thrombophilia",
"hip_pelvis_leg_fracture",
"stroke",
"multiple_trauma",
"spinal_cord_injury"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). Caprini 2005 exclusive bands: 41-60 scores 1; 61-74 scores 2; 75 or older scores 3. Age 40 or younger scores 0 for age."
},
"sepsis": {
"type": "boolean",
"description": "Sepsis (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"stroke": {
"type": "boolean",
"description": "Stroke (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5."
},
"obesity": {
"type": "boolean",
"description": "Obesity as assigned by the caller (Caprini 2005 BMI >25). true scores 1. magent does not take height or weight."
},
"surgery": {
"enum": [
"none",
"minor",
"arthroscopic",
"major",
"laparoscopic",
"arthroplasty"
],
"type": "string",
"description": "Mutually exclusive Caprini 2005 Table 3 surgery category as assigned by the caller. none scores 0. minor (minor surgery planned) scores 1. arthroscopic, major (major surgery >45 minutes), and laparoscopic (laparoscopic surgery >45 minutes) score 2. arthroplasty (elective major lower extremity arthroplasty) scores 5. One category only. History of prior major surgery is a separate 1-point flag."
},
"malignancy": {
"type": "boolean",
"description": "Malignancy (present or previous) as assigned by the caller (Caprini 2005 Table 3). true scores 2."
},
"swollen_legs": {
"type": "boolean",
"description": "Swollen legs (current) as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient."
},
"history_dvt_pe": {
"type": "boolean",
"description": "History of DVT or PE as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose VTE."
},
"varicose_veins": {
"type": "boolean",
"description": "Varicose veins as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient."
},
"factor_v_leiden": {
"type": "boolean",
"description": "Positive Factor V Leiden as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"multiple_trauma": {
"type": "boolean",
"description": "Multiple trauma (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5."
},
"medical_bed_rest": {
"type": "boolean",
"description": "Medical patient currently at bed rest as assigned by the caller (Caprini 2005 Table 3). true scores 1. Independent of confined_to_bed_gt_72h."
},
"other_risk_factor": {
"type": "boolean",
"description": "Other Caprini 2005 Table 3 1-point risk factor as assigned by the caller. true scores 1. magent does not invent a factor from prose."
},
"prothrombin_20210a": {
"type": "boolean",
"description": "Positive Prothrombin 20210A as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"spinal_cord_injury": {
"type": "boolean",
"description": "Acute spinal cord injury (paralysis) (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5."
},
"lupus_anticoagulant": {
"type": "boolean",
"description": "Positive lupus anticoagulant as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"other_thrombophilia": {
"type": "boolean",
"description": "Other congenital or acquired thrombophilia as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"prior_major_surgery": {
"type": "boolean",
"description": "History of prior major surgery (<1 month) as assigned by the caller (Caprini 2005 Table 3). Independent of the exclusive surgery category. true scores 1."
},
"serious_lung_disease": {
"type": "boolean",
"description": "Serious lung disease including pneumonia (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"central_venous_access": {
"type": "boolean",
"description": "Central venous access as assigned by the caller (Caprini 2005 Table 3). true scores 2."
},
"elevated_homocysteine": {
"type": "boolean",
"description": "Elevated serum homocysteine as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"confined_to_bed_gt_72h": {
"type": "boolean",
"description": "Patient confined to bed (>72 hours) as assigned by the caller (Caprini 2005 Table 3). true scores 2. Independent of medical_bed_rest."
},
"hip_pelvis_leg_fracture": {
"type": "boolean",
"description": "Hip, pelvis, or leg fracture (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5. Independent of exclusive surgery."
},
"pregnancy_or_postpartum": {
"type": "boolean",
"description": "Pregnancy or postpartum (<1 month) as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1."
},
"congestive_heart_failure": {
"type": "boolean",
"description": "Congestive heart failure (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"adverse_pregnancy_history": {
"type": "boolean",
"description": "History of unexplained stillborn infant, recurrent spontaneous abortion (>=3), premature birth with toxemia, or growth-restricted infant as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1."
},
"family_history_thrombosis": {
"type": "boolean",
"description": "Family history of thrombosis as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"immobilizing_plaster_cast": {
"type": "boolean",
"description": "Immobilizing plaster cast (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 2."
},
"anticardiolipin_antibodies": {
"type": "boolean",
"description": "Elevated anticardiolipin antibodies as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"inflammatory_bowel_disease": {
"type": "boolean",
"description": "History of inflammatory bowel disease as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"oral_contraceptives_or_hrt": {
"type": "boolean",
"description": "Oral contraceptives or hormone replacement therapy as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1."
},
"abnormal_pulmonary_function": {
"type": "boolean",
"description": "Abnormal pulmonary function (COPD) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"acute_myocardial_infarction": {
"type": "boolean",
"description": "Acute myocardial infarction as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"heparin_induced_thrombocytopenia": {
"type": "boolean",
"description": "Heparin-induced thrombocytopenia (HIT) as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose HIT."
}
}
}
},
"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/caprini",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"age": 50,
"sepsis": false,
"stroke": false,
"obesity": false,
"surgery": "none",
"malignancy": false,
"swollen_legs": false,
"history_dvt_pe": false,
"varicose_veins": false,
"factor_v_leiden": false,
"multiple_trauma": false,
"medical_bed_rest": false,
"other_risk_factor": false,
"prothrombin_20210a": false,
"spinal_cord_injury": false,
"lupus_anticoagulant": false,
"other_thrombophilia": false,
"prior_major_surgery": false,
"serious_lung_disease": false,
"central_venous_access": false,
"elevated_homocysteine": false,
"confined_to_bed_gt_72h": false,
"hip_pelvis_leg_fracture": false,
"pregnancy_or_postpartum": false,
"congestive_heart_failure": false,
"adverse_pregnancy_history": false,
"family_history_thrombosis": false,
"immobilizing_plaster_cast": false,
"anticardiolipin_antibodies": false,
"inflammatory_bowel_disease": false,
"oral_contraceptives_or_hrt": false,
"abnormal_pulmonary_function": false,
"acute_myocardial_infarction": false,
"heparin_induced_thrombocytopenia": false
},
{
"age": 50,
"sepsis": false,
"stroke": false,
"obesity": false,
"surgery": "none",
"malignancy": false,
"swollen_legs": false,
"history_dvt_pe": false,
"varicose_veins": false,
"factor_v_leiden": false,
"multiple_trauma": false,
"medical_bed_rest": false,
"other_risk_factor": false,
"prothrombin_20210a": false,
"spinal_cord_injury": false,
"lupus_anticoagulant": false,
"other_thrombophilia": false,
"prior_major_surgery": false,
"serious_lung_disease": false,
"central_venous_access": false,
"elevated_homocysteine": false,
"confined_to_bed_gt_72h": false,
"hip_pelvis_leg_fracture": false,
"pregnancy_or_postpartum": false,
"congestive_heart_failure": false,
"adverse_pregnancy_history": false,
"family_history_thrombosis": false,
"immobilizing_plaster_cast": false,
"anticardiolipin_antibodies": false,
"inflammatory_bowel_disease": false,
"oral_contraceptives_or_hrt": false,
"abnormal_pulmonary_function": false,
"acute_myocardial_infarction": false,
"heparin_induced_thrombocytopenia": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/caprini",
"count": 2,
"items": [
{
"score": 1,
"formula": "caprini",
"surgery": "none",
"citation": {
"id": "caprini-2005",
"doi": "10.1016/j.disamonth.2005.02.003",
"pmid": "15900257",
"title": "Thrombosis risk assessment as a guide to quality patient care",
"source": "Dis Mon. 2005;51(2-3):70-78",
"authors": "Caprini JA"
},
"age_years": 50,
"max_score": 78,
"risk_band": "low",
"components": [
{
"value": 50,
"factor": "age",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "surgery",
"points": 0,
"present": false
},
{
"factor": "prior_major_surgery",
"points": 0,
"present": false
},
{
"factor": "varicose_veins",
"points": 0,
"present": false
},
{
"factor": "inflammatory_bowel_disease",
"points": 0,
"present": false
},
{
"factor": "swollen_legs",
"points": 0,
"present": false
},
{
"factor": "obesity",
"points": 0,
"present": false
},
{
"factor": "acute_myocardial_infarction",
"points": 0,
"present": false
},
{
"factor": "congestive_heart_failure",
"points": 0,
"present": false
},
{
"factor": "sepsis",
"points": 0,
"present": false
},
{
"factor": "serious_lung_disease",
"points": 0,
"present": false
},
{
"factor": "abnormal_pulmonary_function",
"points": 0,
"present": false
},
{
"factor": "medical_bed_rest",
"points": 0,
"present": false
},
{
"factor": "other_risk_factor",
"points": 0,
"present": false
},
{
"factor": "oral_contraceptives_or_hrt",
"points": 0,
"present": false
},
{
"factor": "pregnancy_or_postpartum",
"points": 0,
"present": false
},
{
"factor": "adverse_pregnancy_history",
"points": 0,
"present": false
},
{
"factor": "malignancy",
"points": 0,
"present": false
},
{
"factor": "confined_to_bed_gt_72h",
"points": 0,
"present": false
},
{
"factor": "immobilizing_plaster_cast",
"points": 0,
"present": false
},
{
"factor": "central_venous_access",
"points": 0,
"present": false
},
{
"factor": "history_dvt_pe",
"points": 0,
"present": false
},
{
"factor": "family_history_thrombosis",
"points": 0,
"present": false
},
{
"factor": "factor_v_leiden",
"points": 0,
"present": false
},
{
"factor": "prothrombin_20210a",
"points": 0,
"present": false
},
{
"factor": "elevated_homocysteine",
"points": 0,
"present": false
},
{
"factor": "lupus_anticoagulant",
"points": 0,
"present": false
},
{
"factor": "anticardiolipin_antibodies",
"points": 0,
"present": false
},
{
"factor": "heparin_induced_thrombocytopenia",
"points": 0,
"present": false
},
{
"factor": "other_thrombophilia",
"points": 0,
"present": false
},
{
"factor": "hip_pelvis_leg_fracture",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "multiple_trauma",
"points": 0,
"present": false
},
{
"factor": "spinal_cord_injury",
"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": "Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest"
},
{
"score": 1,
"formula": "caprini",
"surgery": "none",
"citation": {
"id": "caprini-2005",
"doi": "10.1016/j.disamonth.2005.02.003",
"pmid": "15900257",
"title": "Thrombosis risk assessment as a guide to quality patient care",
"source": "Dis Mon. 2005;51(2-3):70-78",
"authors": "Caprini JA"
},
"age_years": 50,
"max_score": 78,
"risk_band": "low",
"components": [
{
"value": 50,
"factor": "age",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "surgery",
"points": 0,
"present": false
},
{
"factor": "prior_major_surgery",
"points": 0,
"present": false
},
{
"factor": "varicose_veins",
"points": 0,
"present": false
},
{
"factor": "inflammatory_bowel_disease",
"points": 0,
"present": false
},
{
"factor": "swollen_legs",
"points": 0,
"present": false
},
{
"factor": "obesity",
"points": 0,
"present": false
},
{
"factor": "acute_myocardial_infarction",
"points": 0,
"present": false
},
{
"factor": "congestive_heart_failure",
"points": 0,
"present": false
},
{
"factor": "sepsis",
"points": 0,
"present": false
},
{
"factor": "serious_lung_disease",
"points": 0,
"present": false
},
{
"factor": "abnormal_pulmonary_function",
"points": 0,
"present": false
},
{
"factor": "medical_bed_rest",
"points": 0,
"present": false
},
{
"factor": "other_risk_factor",
"points": 0,
"present": false
},
{
"factor": "oral_contraceptives_or_hrt",
"points": 0,
"present": false
},
{
"factor": "pregnancy_or_postpartum",
"points": 0,
"present": false
},
{
"factor": "adverse_pregnancy_history",
"points": 0,
"present": false
},
{
"factor": "malignancy",
"points": 0,
"present": false
},
{
"factor": "confined_to_bed_gt_72h",
"points": 0,
"present": false
},
{
"factor": "immobilizing_plaster_cast",
"points": 0,
"present": false
},
{
"factor": "central_venous_access",
"points": 0,
"present": false
},
{
"factor": "history_dvt_pe",
"points": 0,
"present": false
},
{
"factor": "family_history_thrombosis",
"points": 0,
"present": false
},
{
"factor": "factor_v_leiden",
"points": 0,
"present": false
},
{
"factor": "prothrombin_20210a",
"points": 0,
"present": false
},
{
"factor": "elevated_homocysteine",
"points": 0,
"present": false
},
{
"factor": "lupus_anticoagulant",
"points": 0,
"present": false
},
{
"factor": "anticardiolipin_antibodies",
"points": 0,
"present": false
},
{
"factor": "heparin_induced_thrombocytopenia",
"points": 0,
"present": false
},
{
"factor": "other_thrombophilia",
"points": 0,
"present": false
},
{
"factor": "hip_pelvis_leg_fracture",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "multiple_trauma",
"points": 0,
"present": false
},
{
"factor": "spinal_cord_injury",
"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": "Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest"
}
]
}
},
"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",
"surgery",
"prior_major_surgery",
"varicose_veins",
"inflammatory_bowel_disease",
"swollen_legs",
"obesity",
"acute_myocardial_infarction",
"congestive_heart_failure",
"sepsis",
"serious_lung_disease",
"abnormal_pulmonary_function",
"medical_bed_rest",
"other_risk_factor",
"oral_contraceptives_or_hrt",
"pregnancy_or_postpartum",
"adverse_pregnancy_history",
"malignancy",
"confined_to_bed_gt_72h",
"immobilizing_plaster_cast",
"central_venous_access",
"history_dvt_pe",
"family_history_thrombosis",
"factor_v_leiden",
"prothrombin_20210a",
"elevated_homocysteine",
"lupus_anticoagulant",
"anticardiolipin_antibodies",
"heparin_induced_thrombocytopenia",
"other_thrombophilia",
"hip_pelvis_leg_fracture",
"stroke",
"multiple_trauma",
"spinal_cord_injury"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). Caprini 2005 exclusive bands: 41-60 scores 1; 61-74 scores 2; 75 or older scores 3. Age 40 or younger scores 0 for age."
},
"sepsis": {
"type": "boolean",
"description": "Sepsis (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"stroke": {
"type": "boolean",
"description": "Stroke (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5."
},
"obesity": {
"type": "boolean",
"description": "Obesity as assigned by the caller (Caprini 2005 BMI >25). true scores 1. magent does not take height or weight."
},
"surgery": {
"enum": [
"none",
"minor",
"arthroscopic",
"major",
"laparoscopic",
"arthroplasty"
],
"type": "string",
"description": "Mutually exclusive Caprini 2005 Table 3 surgery category as assigned by the caller. none scores 0. minor (minor surgery planned) scores 1. arthroscopic, major (major surgery >45 minutes), and laparoscopic (laparoscopic surgery >45 minutes) score 2. arthroplasty (elective major lower extremity arthroplasty) scores 5. One category only. History of prior major surgery is a separate 1-point flag."
},
"malignancy": {
"type": "boolean",
"description": "Malignancy (present or previous) as assigned by the caller (Caprini 2005 Table 3). true scores 2."
},
"swollen_legs": {
"type": "boolean",
"description": "Swollen legs (current) as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient."
},
"history_dvt_pe": {
"type": "boolean",
"description": "History of DVT or PE as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose VTE."
},
"varicose_veins": {
"type": "boolean",
"description": "Varicose veins as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient."
},
"factor_v_leiden": {
"type": "boolean",
"description": "Positive Factor V Leiden as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"multiple_trauma": {
"type": "boolean",
"description": "Multiple trauma (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5."
},
"medical_bed_rest": {
"type": "boolean",
"description": "Medical patient currently at bed rest as assigned by the caller (Caprini 2005 Table 3). true scores 1. Independent of confined_to_bed_gt_72h."
},
"other_risk_factor": {
"type": "boolean",
"description": "Other Caprini 2005 Table 3 1-point risk factor as assigned by the caller. true scores 1. magent does not invent a factor from prose."
},
"prothrombin_20210a": {
"type": "boolean",
"description": "Positive Prothrombin 20210A as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"spinal_cord_injury": {
"type": "boolean",
"description": "Acute spinal cord injury (paralysis) (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5."
},
"lupus_anticoagulant": {
"type": "boolean",
"description": "Positive lupus anticoagulant as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"other_thrombophilia": {
"type": "boolean",
"description": "Other congenital or acquired thrombophilia as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"prior_major_surgery": {
"type": "boolean",
"description": "History of prior major surgery (<1 month) as assigned by the caller (Caprini 2005 Table 3). Independent of the exclusive surgery category. true scores 1."
},
"serious_lung_disease": {
"type": "boolean",
"description": "Serious lung disease including pneumonia (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"central_venous_access": {
"type": "boolean",
"description": "Central venous access as assigned by the caller (Caprini 2005 Table 3). true scores 2."
},
"elevated_homocysteine": {
"type": "boolean",
"description": "Elevated serum homocysteine as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"confined_to_bed_gt_72h": {
"type": "boolean",
"description": "Patient confined to bed (>72 hours) as assigned by the caller (Caprini 2005 Table 3). true scores 2. Independent of medical_bed_rest."
},
"hip_pelvis_leg_fracture": {
"type": "boolean",
"description": "Hip, pelvis, or leg fracture (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5. Independent of exclusive surgery."
},
"pregnancy_or_postpartum": {
"type": "boolean",
"description": "Pregnancy or postpartum (<1 month) as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1."
},
"congestive_heart_failure": {
"type": "boolean",
"description": "Congestive heart failure (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"adverse_pregnancy_history": {
"type": "boolean",
"description": "History of unexplained stillborn infant, recurrent spontaneous abortion (>=3), premature birth with toxemia, or growth-restricted infant as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1."
},
"family_history_thrombosis": {
"type": "boolean",
"description": "Family history of thrombosis as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"immobilizing_plaster_cast": {
"type": "boolean",
"description": "Immobilizing plaster cast (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 2."
},
"anticardiolipin_antibodies": {
"type": "boolean",
"description": "Elevated anticardiolipin antibodies as assigned by the caller (Caprini 2005 Table 3). true scores 3."
},
"inflammatory_bowel_disease": {
"type": "boolean",
"description": "History of inflammatory bowel disease as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"oral_contraceptives_or_hrt": {
"type": "boolean",
"description": "Oral contraceptives or hormone replacement therapy as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1."
},
"abnormal_pulmonary_function": {
"type": "boolean",
"description": "Abnormal pulmonary function (COPD) as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"acute_myocardial_infarction": {
"type": "boolean",
"description": "Acute myocardial infarction as assigned by the caller (Caprini 2005 Table 3). true scores 1."
},
"heparin_induced_thrombocytopenia": {
"type": "boolean",
"description": "Heparin-induced thrombocytopenia (HIT) as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose HIT."
}
}
},
"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:17Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-11 10: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. 14 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/caprini, 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.