# Cockcroft-Gault Creatinine Clearance Calculator

> Cockcroft-Gault Creatinine Clearance Calculator 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-15).

Calculates creatinine clearance (CrCl) using the Cockcroft-Gault formula from age, sex, weight, and serum creatinine

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/crcl_cockcroft_gault
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cockcroft-gault-creatinine-clearance-calculator-a3d1d864
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-SZ1VLv_0f-qFNS208x-Y

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 cockcroft-gault-creatinine-clearance-calculator-a3d1d864
```

Example prompt: Calculate the Cockcroft-Gault creatinine clearance for a 68-year-old female weighing 72 kg with a serum creatinine of 1.4 mg/dL.

## When to prefer this

Use this endpoint when a drug label or clinical guideline specifically references CrCl (Cockcroft-Gault) for dosing thresholds rather than CKD-EPI eGFR. Ideal for agents automating medication dosing checks, pharmacy prior-authorization workflows, or clinical decision support where a deterministic, citable formula is required. Prefer over CKD-EPI when the label explicitly calls for CrCl or when the patient's actual body weight is the appropriate weight basis.

## Known failure modes

- Missing required fields (age or sex) returns a validation error
- Age outside 18-120 range may be rejected or flagged
- Providing neither weight_kg/weight_lb nor creatinine values returns an error
- Implausibly extreme values (e.g. creatinine 0 or weight 0) may produce invalid results
- Unit mismatch (e.g. entering µmol/L as mg/dL) produces a silently wrong result if wrong field used

## How this service works

Cockcroft-Gault creatinine clearance from age, sex, total body weight, and creatinine. Use when a label still doses on CrCl rather than CKD-EPI eGFR. Deterministic published formula with citation; not a dosing recommendation.

## Output

Returns the estimated creatinine clearance in mL/min computed via the Cockcroft-Gault formula, incorporating the 0.85 sex correction factor for females. Includes the citation for the published formula and a note that this is not a dosing recommendation.

## 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": [
      "age",
      "sex"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120)."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "female applies the published 0.85 factor; male does not."
      },
      "weight_kg": {
       "type": "number",
       "description": "Total body weight in kilograms. Provide weight_kg or weight_lb."
      },
      "weight_lb": {
       "type": "number",
       "description": "Total body weight in pounds. Converted as kg = lb * 0.45359237."
      },
      "creatinine_mg_dl": {
       "type": "number",
       "description": "Serum creatinine in mg/dL. Provide this or creatinine_umol_l."
      },
      "creatinine_umol_l": {
       "type": "number",
       "description": "Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/crcl_cockcroft_gault",
  "count": 2,
  "items": [
   {
    "sex": "female",
    "units": "mL/min",
    "formula": "cockcroft_gault",
    "citation": {
     "id": "cockcroft-1976",
     "doi": "10.1159/000180580",
     "title": "Prediction of creatinine clearance from serum creatinine",
     "source": "Nephron. 1976;16(1):31-41",
     "authors": "Cockcroft DW, Gault MH"
    },
    "age_years": 65,
    "weight_kg": 70,
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "crcl_ml_min": 56.3,
    "weight_basis": "total_body_weight",
    "creatinine_mg_dl": 1.1,
    "formula_expression": "CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)"
   },
   {
    "sex": "female",
    "units": "mL/min",
    "formula": "cockcroft_gault",
    "citation": {
     "id": "cockcroft-1976",
     "doi": "10.1159/000180580",
     "title": "Prediction of creatinine clearance from serum creatinine",
     "source": "Nephron. 1976;16(1):31-41",
     "authors": "Cockcroft DW, Gault MH"
    },
    "age_years": 65,
    "weight_kg": 70,
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "crcl_ml_min": 56.3,
    "weight_basis": "total_body_weight",
    "creatinine_mg_dl": 1.1,
    "formula_expression": "CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cockcroft-gault-creatinine-clearance-calculator-a3d1d864/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)
