magent
GET api.magentlab.com/api/calc/apri
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
Wai 2003 AST to platelet ratio index (APRI) from AST, laboratory AST ULN, and platelet count. Returns APRI to two decimals plus published training-set cut-offs for significant fibrosis (Ishak ≥3) and cirrhosis. ULN is required; magent does not assume 40 U/L. Not a diagnosis, not FIB-4, and not a biopsy.
Resource: api.magentlab.com/api/calc/apri
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 11:04:51.566+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": [
"ast_u_l",
"ast_uln_u_l",
"platelets_10e9_l"
],
"properties": {
"ast_u_l": {
"type": "number",
"description": "Aspartate aminotransferase in U/L (1-10000)."
},
"ast_uln_u_l": {
"type": "number",
"description": "Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40."
},
"platelets_10e9_l": {
"type": "number",
"description": "Platelet count in 10^9/L (1-2000)."
}
}
}
},
"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/apri?ast_u_l=90&ast_uln_u_l=45&platelets_10e9_l=120",
"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.