ToolAssay

King's College criteria (O'Grady 1989) for poor prognosis in fulminant hepatic f

King's College criteria (O'Grady 1989) for poor prognosis in fulminant hepatic failure. Acetaminophen: arterial pH <7.30, or PT >100 s plus creatinine >300 umol/L plus grade III/IV encephalopathy. Non-acetaminophen: PT >100 s, or any 3 of age <11 or >40, unfavorable etiology (non-A non-B or drug reaction), jaundice-to-encephalopathy >7 days, bilirubin >300 umol/L, PT >50 s. PT seconds, not INR. Not a transplant listing order.

Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
284 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/kings_college

CategoryEverything else
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.007 284 ms

Example input (from the provider)

{
  "body": {
    "items": [
      {
        "age_years": 30,
        "arterial_ph": 7.4,
        "bilirubin_umol_l": 50,
        "creatinine_umol_l": 80,
        "encephalopathy_grade": 1,
        "etiology": "acetaminophen",
        "jaundice_to_encephalopathy_days": 2,
        "pt_sec": 20,
        "unfavorable_etiology": false
      },
      {
        "age_years": 30,
        "arterial_ph": 7.4,
        "bilirubin_umol_l": 50,
        "creatinine_umol_l": 80,
        "encephalopathy_grade": 1,
        "etiology": "acetaminophen",
        "jaundice_to_encephalopathy_days": 2,
        "pt_sec": 20,
        "unfavorable_etiology": false
      }
    ]
  },
  "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_years": {
                    "description": "Age in years (0-120). Non-acetaminophen factor met when age < 11 or age > 40 (1989 abstract, not a later <10 restatement). Required even on the acetaminophen tree; not scored there.",
                    "type": "integer"
                  },
                  "arterial_ph": {
                    "description": "Arterial pH (6.80-7.80). Acetaminophen criterion met when pH < 7.30, independent of encephalopathy. Required even on the non-acetaminophen tree; not scored there.",
                    "type": "number"
                  },
                  "bilirubin_umol_l": {
                    "description": "Serum bilirubin in umol/L (2-684). Non-acetaminophen factor met when > 300. Required even on the acetaminophen tree; not scored there.",
                    "type": "number"
                  },
                  "creatinine_umol_l": {
                    "description": "Serum creatinine in umol/L (9-1768). Acetaminophen combo criterion met when > 300. Required even on the non-acetaminophen tree; not scored there.",
                    "type": "number"
                  },
                  "encephalopathy_grade": {
                    "description": "Hepatic encephalopathy grade 0-4 as assigned by the caller (Conn 1977 / West Haven). Acetaminophen combo uses grade >= 3 (grade III/IV). Required even on the non-acetaminophen tree; not scored there. magent does not examine the patient.",
                    "type": "integer"
                  },
                  "etiology": {
                    "description": "acetaminophen or non_acetaminophen (O'Grady 1989). Selects the paracetamol or non-paracetamol poor-prognosis tree. Required on every request.",
                    "enum": [
                      "acetaminophen",
                      "non_acetaminophen"
                    ],
                    "type": "string"
                  },
                  "jaundice_to_encephalopathy_days": {
                    "description": "Days from jaundice to encephalopathy (integer 0-90). Non-acetaminophen factor met when > 7. Required even on the acetaminophen tree; not scored there.",
                    "type": "integer"
                  },
                  "pt_sec": {
                    "description": "Prothrombin time in seconds (8-120) as published in 1989. INR is not accepted. Acetaminophen combo uses PT > 100; non-acetaminophen uses PT > 100 alone or PT > 50 as one of five factors.",
                    "type": "number"
                  },
                  "unfavorable_etiology": {
                    "description": "Unfavorable etiology as assigned by the caller (paper: non-A non-B hepatitis or drug reaction). true or false. Non-acetaminophen any-3 factor. Required even on the acetaminophen tree; not scored there.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "etiology",
                  "arterial_ph",
                  "pt_sec",
                  "creatinine_umol_l",
                  "encephalopathy_grade",
                  "age_years",
                  "unfavorable_etiology",
                  "jaundice_to_encephalopathy_days",
                  "bilirubin_umol_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"
}

This page as JSON