SERVICE / DETAILother

magent

GET api.magentlab.com/api/calc/kings_college

SONAR SCORE0.000
LIVE PRICE0.005000
BAZAAR LIVEnot compatible
CDP INDEXEDno
DECISION EVIDENCE

Why an agent can trust this route.

1 observations in the last 24h
HANDSHAKE SUCCESS0.0%402 challenge reachable
PAID DELIVERY0.0%settlement observed
P90 LATENCY10021msrecent response window
PRICE DRIFTadvertised vs observed

Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.

SONAR PROBE HISTORY / 30D

Observed outcomes

JSON ↗
LIVE ENDPOINT METADATA

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.

Resource: api.magentlab.com/api/calc/kings_college

Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2

Payment methods: eip3009 · Last validation: 2026-09-14 10:59:00.767+00

{
  "input": {
    "type": "object",
    "required": [
      "type",
      "method"
    ],
    "properties": {
      "type": {
        "type": "string",
        "const": "http"
      },
      "method": {
        "enum": [
          "GET",
          "HEAD",
          "DELETE"
        ],
        "type": "string"
      },
      "headers": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "queryParams": {
        "type": "object",
        "required": [
          "etiology",
          "arterial_ph",
          "pt_sec",
          "creatinine_umol_l",
          "encephalopathy_grade",
          "age_years",
          "unfavorable_etiology",
          "jaundice_to_encephalopathy_days",
          "bilirubin_umol_l"
        ],
        "properties": {
          "pt_sec": {
            "type": "number",
            "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."
          },
          "etiology": {
            "enum": [
              "acetaminophen",
              "non_acetaminophen"
            ],
            "type": "string",
            "description": "acetaminophen or non_acetaminophen (O'Grady 1989). Selects the paracetamol or non-paracetamol poor-prognosis tree. Required on every request."
          },
          "age_years": {
            "type": "integer",
            "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."
          },
          "arterial_ph": {
            "type": "number",
            "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."
          },
          "bilirubin_umol_l": {
            "type": "number",
            "description": "Serum bilirubin in umol/L (2-684). Non-acetaminophen factor met when > 300. Required even on the acetaminophen tree; not scored there."
          },
          "creatinine_umol_l": {
            "type": "number",
            "description": "Serum creatinine in umol/L (9-1768). Acetaminophen combo criterion met when > 300. Required even on the non-acetaminophen tree; not scored there."
          },
          "encephalopathy_grade": {
            "type": "integer",
            "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."
          },
          "unfavorable_etiology": {
            "type": "boolean",
            "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."
          },
          "jaundice_to_encephalopathy_days": {
            "type": "integer",
            "description": "Days from jaundice to encephalopathy (integer 0-90). Non-acetaminophen factor met when > 7. Required even on the acetaminophen tree; not scored there."
          }
        }
      }
    },
    "additionalProperties": false
  },
  "output": {
    "type": "object",
    "required": [
      "type"
    ],
    "properties": {
      "type": {
        "type": "string"
      },
      "example": {
        "type": "object"
      }
    }
  },
  "paymentRequirements": [
    {
      "raw": {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/kings_college?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",
          "assetTransferMethod": "eip3009"
        },
        "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
        "amount": "5000",
        "scheme": "exact",
        "network": "eip155:8453",
        "maxTimeoutSeconds": 600
      },
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "scheme": "exact",
      "network": "eip155:8453",
      "amountAtomic": "5000"
    },
    {
      "raw": {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "withdrawDelay": 86400,
          "receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
          "assetTransferMethod": "eip3009"
        },
        "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
        "amount": "5000",
        "scheme": "batch-settlement",
        "network": "eip155:8453",
        "maxTimeoutSeconds": 600
      },
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "amountAtomic": "5000"
    }
  ]
}
METADATA PROVENANCE

Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.