# CLIF-C ACLF Score Calculator (Jalan 2014)

> CLIF-C ACLF Score Calculator (Jalan 2014) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the Jalan 2014 CLIF-C ACLF prognostic score for acute-on-chronic liver failure from a caller-supplied CLIF-C OF score, patient age, and WBC count.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/clif_c_aclf
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clif-c-aclf-score-calculator-jalan-2014-bd635be1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sa2LaHQIZBES7XsN36XfQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability clif-c-aclf-score-calculator-jalan-2014-bd635be1
```

Example prompt: Calculate the CLIF-C ACLF score for a 58-year-old patient with a CLIF-C OF of 10 and a WBC of 12.5 × 10⁹/L using the Jalan 2014 formula.

## When to prefer this

Use this endpoint when you have already scored the six CLIF-C organ subsystems and computed the CLIF-C OF integer externally, and need only the final Jalan 2014 ACLF composite score. Do not use for MELD, MELD-Na, Child-Pugh, CLIF-SOFA, or transplant listing — those are separate scoring systems. Prefer this over manual calculation to avoid arithmetic errors in the logarithm and clamping steps.

## Known failure modes

- Missing required parameter (clif_c_of, age, or wbc_10e9_l) returns a validation error
- CLIF-C OF value outside integer range 6-18 is rejected
- Age outside 18-120 range returns an error
- WBC outside 0.1-200 × 10^9/L range is invalid (also causes math error if ≤ 0 due to ln)
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Jalan 2014 CLIF-C ACLF (CANONIC) from caller-assigned CLIF-C OF (integer 6-18), age, and WBC in 10^9/L. Score = 10 × (0.33 × CLIF-C OF + 0.04 × age + 0.63 × ln(WBC) − 2), rounded to 1 decimal then clamped 0-100. magent does not score the six organs or compute CLIF-C OF. Not MELD, MELD-Na, Child-Pugh, CLIF-SOFA, or a transplant listing protocol. Not a medical device.

## Output

Returns a single CLIF-C ACLF score as a number between 0 and 100 (rounded to 1 decimal place), computed using the Jalan 2014 formula: 10 × (0.33 × CLIF-C OF + 0.04 × age + 0.63 × ln(WBC) − 2), clamped to the [0, 100] range.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "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": [
      "clif_c_of",
      "age",
      "wbc_10e9_l"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120)."
      },
      "clif_c_of": {
       "type": "integer",
       "description": "Caller-assigned CLIF-C organ-failure score, integer 6-18 (Jalan 2014). magent does not score the six organs or compute CLIF-C OF."
      },
      "wbc_10e9_l": {
       "type": "number",
       "description": "White-cell count in 10^9/L (0.1-200). Natural log in the equation."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clif-c-aclf-score-calculator-jalan-2014-bd635be1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
