Wai 2003 AST to platelet ratio index (APRI) from AST, laboratory AST ULN, and pl
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.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
252 msmedian answer time
$0.005listed price per call
$0.007price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/apri
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 252 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"ast_u_l": 90,
"ast_uln_u_l": 45,
"platelets_10e9_l": 120
},
{
"ast_u_l": 90,
"ast_uln_u_l": 45,
"platelets_10e9_l": 120
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"ast_u_l": {
"description": "Aspartate aminotransferase in U/L (1-10000).",
"type": "number"
},
"ast_uln_u_l": {
"description": "Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40.",
"type": "number"
},
"platelets_10e9_l": {
"description": "Platelet count in 10^9/L (1-2000).",
"type": "number"
}
},
"required": [
"ast_u_l",
"ast_uln_u_l",
"platelets_10e9_l"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}