# Magent Cryoprecipitate Bag Estimator

> Magent Cryoprecipitate Bag Estimator 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).

Estimates the number of cryoprecipitate bags needed to raise fibrinogen to a desired level using the AABB Technical Manual formula (Nascimento 2011)

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cryoprecipitate
- 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-cryoprecipitate-bag-estimator-681f48c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ym4SIe2L0J7rM36J8q036

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-cryoprecipitate-bag-estimator-681f48c8
```

Example prompt: Estimate how many cryoprecipitate bags my patient needs — they weigh 80 kg, hematocrit is 35%, current fibrinogen is 90 mg/dL, and I want to raise it to 200 mg/dL.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, citation-backed cryoprecipitate bag estimate using the standard AABB/Nascimento 2011 formula. Ideal for clinical decision support tools, documentation assistants, or educational contexts where a reproducible arithmetic result is needed. Do not use as an actual transfusion order, major haemorrhage protocol, or product selection tool — it is an estimate only, assuming 100% fibrinogen recovery and 250 mg per bag, both of which vary in practice.

## Known failure modes

- desired_fibrinogen_mg_dl not strictly greater than current_fibrinogen_mg_dl — returns validation error
- weight_kg outside 1-200 range — rejected with parameter error
- hematocrit_percent outside 10-70 range — rejected with parameter error
- current_fibrinogen_mg_dl outside 0-400 range — rejected with parameter error
- desired_fibrinogen_mg_dl outside 50-400 range — rejected with parameter error
- Missing required query parameters — returns 400 bad request
- Payment not provided or insufficient — returns 402 Payment Required

## How this service works

Cryoprecipitate bag estimate from the AABB Technical Manual calculation as reprinted in Nascimento 2011: 70 mL/kg blood volume, 250 mg fibrinogen per bag, bags = ceil(mg_fibrinogen / 250). Deterministic published arithmetic with citation. Not a transfusion order or major-haemorrhage protocol. The paper notes 100% recovery is likely false and fibrinogen per bag varies. magent does not choose a product or ABO group.

## Output

Returns the estimated number of cryoprecipitate bags (ceiling-rounded integer) needed to raise fibrinogen to the desired level, computed from the AABB formula: 70 mL/kg blood volume adjusted for hematocrit, fibrinogen deficit per dL, total mg deficit, divided by 250 mg per bag. May include intermediate values such as estimated blood volume and total fibrinogen deficit.

## 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": [
      "weight_kg",
      "hematocrit_percent",
      "current_fibrinogen_mg_dl",
      "desired_fibrinogen_mg_dl"
     ],
     "properties": {
      "weight_kg": {
       "type": "number",
       "description": "Weight in kilograms (1-200). Required."
      },
      "hematocrit_percent": {
       "type": "number",
       "description": "Hematocrit as a percent (10-70). Required. Not a 0-1 fraction; magent does not accept hematocrit_fraction."
      },
      "current_fibrinogen_mg_dl": {
       "type": "number",
       "description": "Current fibrinogen in mg/dL (0-400). Required."
      },
      "desired_fibrinogen_mg_dl": {
       "type": "number",
       "description": "Desired fibrinogen in mg/dL (50-400). Must be strictly greater than current_fibrinogen_mg_dl."
      }
     }
    }
   },
   "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-cryoprecipitate-bag-estimator-681f48c8/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)
