Maddrey discriminant function (1978) from patient and control prothrombin time i
Maddrey discriminant function (1978) from patient and control prothrombin time in seconds plus bilirubin. Deterministic published formula with citation; not a diagnosis or steroid order.
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/maddrey
| 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": [
{
"bilirubin_mg_dl": 8,
"bilirubin_umol_l": 136.8,
"pt_control_sec": 12,
"pt_patient_sec": 20
},
{
"bilirubin_mg_dl": 8,
"bilirubin_umol_l": 136.8,
"pt_control_sec": 12,
"pt_patient_sec": 20
}
]
},
"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": {
"bilirubin_mg_dl": {
"description": "Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l.",
"type": "number"
},
"bilirubin_umol_l": {
"description": "Total bilirubin in \u00b5mol/L (2-684). Converted as mg/dL = \u00b5mol/L / 17.1.",
"type": "number"
},
"pt_control_sec": {
"description": "Laboratory control prothrombin time in seconds (8-20). INR is not accepted.",
"type": "number"
},
"pt_patient_sec": {
"description": "Patient prothrombin time in seconds (8-120). INR is not accepted.",
"type": "number"
}
},
"required": [
"pt_patient_sec",
"pt_control_sec"
],
"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"
}