magent
GET api.magentlab.com/api/calc/ranson
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
Ranson 1974 pancreatitis score from eleven published signs (five at admission, six at 48 hours) as boolean flags. Returns points 0-11 and mortality band 0-2 / 3-4 / 5-6 / 7-11. Deterministic published arithmetic with citation; not an ICU order.
Resource: api.magentlab.com/api/calc/ranson
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 11:47:21.124+00
{
"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_gt_55",
"wbc_gt_16k",
"glucose_gt_200",
"ldh_gt_350",
"ast_gt_250",
"hct_drop_gt_10",
"bun_rise_gt_5",
"calcium_lt_8",
"pao2_lt_60",
"base_deficit_gt_4",
"fluid_seq_gt_6l"
],
"properties": {
"age_gt_55": {
"type": "boolean",
"description": "Admission: age >55 years (Ranson 1974). true or false."
},
"ast_gt_250": {
"type": "boolean",
"description": "Admission: AST >250 U/L. true or false."
},
"ldh_gt_350": {
"type": "boolean",
"description": "Admission: LDH >350 IU/L. true or false."
},
"pao2_lt_60": {
"type": "boolean",
"description": "First 48 h: arterial PaO2 <60 mm Hg. true or false."
},
"wbc_gt_16k": {
"type": "boolean",
"description": "Admission: WBC >16 000/mm^3. true or false."
},
"calcium_lt_8": {
"type": "boolean",
"description": "First 48 h: serum calcium <8 mg/dL. true or false."
},
"bun_rise_gt_5": {
"type": "boolean",
"description": "First 48 h: BUN rise >5 mg/dL. true or false."
},
"glucose_gt_200": {
"type": "boolean",
"description": "Admission: blood glucose >200 mg/dL. true or false."
},
"hct_drop_gt_10": {
"type": "boolean",
"description": "First 48 h: hematocrit fall >10 percentage points. true or false."
},
"fluid_seq_gt_6l": {
"type": "boolean",
"description": "First 48 h: estimated fluid sequestration >6 L. true or false."
},
"base_deficit_gt_4": {
"type": "boolean",
"description": "First 48 h: base deficit >4 mEq/L. true or false."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"paymentFlow": "upfront",
"resourceUrl": "https://api.magentlab.com/api/calc/ranson?age_gt_55=false&ast_gt_250=false&base_deficit_gt_4=false&bun_rise_gt_5=false&calcium_lt_8=false&fluid_seq_gt_6l=false&glucose_gt_200=false&hct_drop_gt_10=false&ldh_gt_350=false&pao2_lt_60=false&wbc_gt_16k=false",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "5000"
},
{
"raw": {
"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
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"scheme": "batch-settlement",
"network": "eip155:8453",
"amountAtomic": "5000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.