Child–Pugh (Child–Turcotte–Pugh) cirrhosis severity from bilirubin, albumin, INR
Child–Pugh (Child–Turcotte–Pugh) cirrhosis severity from bilirubin, albumin, INR, caller-assigned encephalopathy, and ascites. Deterministic published score with citation; not a transplant listing protocol.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
265 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/child_pugh
| 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 | 265 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"albumin_g_dl": 4,
"albumin_g_l": 40,
"ascites": "none",
"bilirubin_mg_dl": 1,
"bilirubin_umol_l": 17.1,
"encephalopathy": "none",
"inr": 1.2
},
{
"albumin_g_dl": 4,
"albumin_g_l": 40,
"ascites": "none",
"bilirubin_mg_dl": 1,
"bilirubin_umol_l": 17.1,
"encephalopathy": "none",
"inr": 1.2
}
]
},
"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": {
"albumin_g_dl": {
"description": "Albumin in g/dL (1-6). Provide this or albumin_g_l. >3.5 scores 1; 2.8-3.5 scores 2; <2.8 scores 3.",
"type": "number"
},
"albumin_g_l": {
"description": "Albumin in g/L. Converted as g/dL = g/L / 10.",
"type": "number"
},
"ascites": {
"description": "Caller-assigned ascites. none scores 1; slight scores 2; moderate scores 3. magent does not examine the patient.",
"enum": [
"none",
"slight",
"moderate"
],
"type": "string"
},
"bilirubin_mg_dl": {
"description": "Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <2.0 scores 1; 2.0-3.0 scores 2; >3.0 scores 3.",
"type": "number"
},
"bilirubin_umol_l": {
"description": "Total bilirubin in \u00b5mol/L. Converted as mg/dL = \u00b5mol/L / 17.1.",
"type": "number"
},
"encephalopathy": {
"description": "Caller-assigned encephalopathy grade. none scores 1; grade_1_2 scores 2; grade_3_4 scores 3. magent does not examine the patient.",
"enum": [
"none",
"grade_1_2",
"grade_3_4"
],
"type": "string"
},
"inr": {
"description": "INR (0.8-10). Contemporary substitute for Pugh PT-prolongation seconds. <1.70 scores 1; 1.70-2.30 scores 2; >2.30 scores 3.",
"type": "number"
}
},
"required": [
"inr",
"encephalopathy",
"ascites"
],
"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"
}