# Magent CCI (Corrected Count Increment) Calculator

> Magent CCI (Corrected Count Increment) 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-14).

Computes the corrected count increment (CCI) and uncorrected platelet increment after a platelet transfusion using the Davis 1999 formula

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cci
- 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/magent-cci-corrected-count-increment-calculator-aa73ead7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HDhMxdzgH00jsKbUMrw7m

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 magent-cci-corrected-count-increment-calculator-aa73ead7
```

Example prompt: Calculate the corrected count increment for a platelet transfusion where the pre-transfusion count was 8,000 per µL, the post-transfusion count was 42,000 per µL, the patient's BSA is 1.85 m², and they received a dose of 3×10^11 platelets.

## When to prefer this

Choose this endpoint when you need a fast, formulaic CCI computation per Davis 1999 and already have BSA, pre/post platelet counts, and platelet dose available. It is ideal for automating transfusion audits, populating clinical dashboards, or embedding CCI logic in an agent workflow without building the formula yourself. Do not use it if you need BSA computed from height/weight (Nadler), platelet assaying, refractoriness thresholds applied automatically, or PPR (percent platelet recovery) — those are out of scope.

## Known failure modes

- post_plt_per_ul less than pre_plt_per_ul — validation error, negative increment not allowed
- platelets_transfused_e11 is zero or negative — division by zero or validation error
- bsa_m2 out of range (below 0.1 or above 4.0) — validation error
- platelet counts exceed 2,000,000 per µL — out-of-range validation error
- Missing required query parameters — 400 bad request
- Payment not provided or insufficient — 402 payment required

## How this service works

Corrected count increment (CCI) after platelet transfusion: (post - pre platelet count per uL) * BSA_m2 / (dose in 10^11). Davis 1999 Transfusion. Returns CCI and the uncorrected increment only. Caller supplies BSA; magent does not compute Nadler BSA from height/weight, assay platelets, emit a 5000 or 7500 refractoriness cutoff, or order a transfusion. Davis 1999 cautions CCI/PPR can distort comparisons of platelet products.

## Output

Returns the corrected count increment (CCI) computed as (post − pre platelet count per µL) × BSA_m² / (dose in 10^11), and the uncorrected platelet increment (post − pre). Does not return BSA, a refractoriness flag, a 5,000 or 7,500 cutoff judgment, or any transfusion order 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": [
      "pre_plt_per_ul",
      "post_plt_per_ul",
      "bsa_m2",
      "platelets_transfused_e11"
     ],
     "properties": {
      "bsa_m2": {
       "type": "number",
       "description": "Caller-supplied body-surface area in m² (0.1-4.0). Required. magent does not measure BSA and does not compute Nadler BSA from height and weight."
      },
      "pre_plt_per_ul": {
       "type": "number",
       "description": "Pretransfusion platelet count per µL (0-2000000). Same numeric value as ×10^9/L for the increment. magent does not assay platelets."
      },
      "post_plt_per_ul": {
       "type": "number",
       "description": "Posttransfusion platelet count per µL (0-2000000). Must be at least pre_plt_per_ul. magent does not assay platelets."
      },
      "platelets_transfused_e11": {
       "type": "number",
       "description": "Platelet dose already in units of 10^11 (0.1-50). Example: 3 means 3×10^11 platelets. Must be positive. magent does not assay the unit."
      }
     }
    }
   },
   "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/magent-cci-corrected-count-increment-calculator-aa73ead7/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)
