magent
GET api.magentlab.com/api/calc/nafld_fibrosis
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
Angulo 2007 NAFLD fibrosis score from age, BMI, IFG/diabetes, AST, ALT, platelets, and albumin. Deterministic published equation with citation. Not a biopsy or diagnosis. Not FIB-4, APRI, or BARD.
Resource: api.magentlab.com/api/calc/nafld_fibrosis
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 11:09:53.685+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",
"bmi_kg_m2",
"ifg_or_diabetes",
"ast_u_l",
"alt_u_l",
"platelets_10e9_l"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120)."
},
"alt_u_l": {
"type": "number",
"description": "Alanine aminotransferase in U/L (1-10000)."
},
"ast_u_l": {
"type": "number",
"description": "Aspartate aminotransferase in U/L (1-10000)."
},
"bmi_kg_m2": {
"type": "number",
"description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI."
},
"albumin_g_l": {
"type": "number",
"description": "Albumin in g/L (10-60). Converted as g/dL = g/L / 10."
},
"albumin_g_dl": {
"type": "number",
"description": "Albumin in g/dL (1-6). Provide albumin_g_dl or albumin_g_l, not both."
},
"ifg_or_diabetes": {
"type": "boolean",
"description": "Impaired fasting glucose or diabetes as assigned by the caller (Angulo 2007 IFG/diabetes term). true or false."
},
"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/nafld_fibrosis?age=50&albumin_g_dl=4&albumin_g_l=40&alt_u_l=40&ast_u_l=40&bmi_kg_m2=30&ifg_or_diabetes=true&platelets_10e9_l=200",
"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.