Sripongpun 2023 steatosis-associated fibrosis estimator (SAFE) from age, BMI (ca
Sripongpun 2023 steatosis-associated fibrosis estimator (SAFE) from age, BMI (capped at 40 in the equation), diabetes, AST, ALT, globulin in g/dL, and platelets. Deterministic published equation with citation. Rule-out below 0; rule-in above 100. Not a biopsy, fibrosis stage, FIB-4, NAFLD fibrosis score, or BARD. magent does not compute BMI from height and weight.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
306 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/safe
| 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 | 306 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"age": 50,
"alt_u_l": 40,
"ast_u_l": 40,
"bmi_kg_m2": 30,
"diabetes": false,
"globulin_g_dl": 3,
"platelets_10e9_l": 200
},
{
"age": 50,
"alt_u_l": 40,
"ast_u_l": 40,
"bmi_kg_m2": 30,
"diabetes": false,
"globulin_g_dl": 3,
"platelets_10e9_l": 200
}
]
},
"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": {
"age": {
"description": "Age in years (18-120).",
"type": "integer"
},
"alt_u_l": {
"description": "Alanine aminotransferase in U/L (1-10000).",
"type": "number"
},
"ast_u_l": {
"description": "Aspartate aminotransferase in U/L (1-10000).",
"type": "number"
},
"bmi_kg_m2": {
"description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Values above 40 are set to 40 in the formula only (Sripongpun 2023); the caller BMI is still echoed.",
"type": "number"
},
"diabetes": {
"description": "Diabetes as assigned by the caller (Sripongpun 2023; 0 or 1 in the equation). true or false. magent does not diagnose diabetes.",
"type": "boolean"
},
"globulin_g_dl": {
"description": "Globulin in g/dL (0.5-8.0). Total protein minus albumin. magent does not convert g/L or split protein and albumin.",
"type": "number"
},
"platelets_10e9_l": {
"description": "Platelet count in 10^9/L (1-2000).",
"type": "number"
}
},
"required": [
"age",
"bmi_kg_m2",
"diabetes",
"ast_u_l",
"alt_u_l",
"globulin_g_dl",
"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"
}