{
  "x402Version": 2,
  "id": 39360,
  "slug": "39360",
  "resource": "https://api.magentlab.com/api/calc/intrauterine_rbc",
  "description": "Mandelbrot 1988 intrauterine RBC transfusion volume: fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml uses the unrounded fetoplacental volume times (hct_final_percent - hct_initial_percent) / hct_donor_percent. Hematocrit arm only; the paper also allowed platelet count — magent does not implement platelets. Caller-assigned estimated fetal weight; magent does not estimate weight from biometry. Not a medical device or transfusion order.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "estimated_fetal_weight_g": 1000,
                "hct_donor_percent": 80,
                "hct_final_percent": 40,
                "hct_initial_percent": 20
              },
              {
                "estimated_fetal_weight_g": 1000,
                "hct_donor_percent": 80,
                "hct_final_percent": 40,
                "hct_initial_percent": 20
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D",
                  "doi": "10.1159/000263335",
                  "id": "mandelbrot-1988",
                  "pmid": "3257068",
                  "source": "Fetal Ther. 1988;3(1-2):60-66",
                  "title": "Assessment of fetal blood volume for computer-assisted management of in utero transfusion"
                },
                "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.",
                "estimated_fetal_weight_g": 1000,
                "fetoplacental_volume_ml": 141,
                "formula": "mandelbrot_hct",
                "formula_expression": "fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent",
                "hct_donor_percent": 80,
                "hct_final_percent": 40,
                "hct_initial_percent": 20,
                "volume_ml": 35.3
              },
              {
                "citation": {
                  "authors": "Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D",
                  "doi": "10.1159/000263335",
                  "id": "mandelbrot-1988",
                  "pmid": "3257068",
                  "source": "Fetal Ther. 1988;3(1-2):60-66",
                  "title": "Assessment of fetal blood volume for computer-assisted management of in utero transfusion"
                },
                "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.",
                "estimated_fetal_weight_g": 1000,
                "fetoplacental_volume_ml": 141,
                "formula": "mandelbrot_hct",
                "formula_expression": "fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent",
                "hct_donor_percent": 80,
                "hct_final_percent": 40,
                "hct_initial_percent": 20,
                "volume_ml": 35.3
              }
            ],
            "path": "/api/calc/intrauterine_rbc"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "estimated_fetal_weight_g": {
                          "description": "Caller-assigned estimated fetal weight in grams (200-4000). Required. magent does not estimate fetal weight from biometry.",
                          "type": "number"
                        },
                        "hct_donor_percent": {
                          "description": "Donor unit hematocrit as a percent (60-90). Must be strictly greater than hct_final_percent.",
                          "type": "number"
                        },
                        "hct_final_percent": {
                          "description": "Target fetal hematocrit as a percent (20-60). Must be strictly greater than hct_initial_percent and strictly less than hct_donor_percent.",
                          "type": "number"
                        },
                        "hct_initial_percent": {
                          "description": "Initial fetal hematocrit as a percent (5-50). Must be strictly less than hct_final_percent.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "estimated_fetal_weight_g",
                        "hct_initial_percent",
                        "hct_final_percent",
                        "hct_donor_percent"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "iut",
    "intrauterine-rbc",
    "hematocrit",
    "neonatal",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:05:15.517Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T15:05:15.351Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "estimated_fetal_weight_g": 1000,
                  "hct_donor_percent": 80,
                  "hct_final_percent": 40,
                  "hct_initial_percent": 20
                },
                {
                  "estimated_fetal_weight_g": 1000,
                  "hct_donor_percent": 80,
                  "hct_final_percent": 40,
                  "hct_initial_percent": 20
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D",
                    "doi": "10.1159/000263335",
                    "id": "mandelbrot-1988",
                    "pmid": "3257068",
                    "source": "Fetal Ther. 1988;3(1-2):60-66",
                    "title": "Assessment of fetal blood volume for computer-assisted management of in utero transfusion"
                  },
                  "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.",
                  "estimated_fetal_weight_g": 1000,
                  "fetoplacental_volume_ml": 141,
                  "formula": "mandelbrot_hct",
                  "formula_expression": "fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent",
                  "hct_donor_percent": 80,
                  "hct_final_percent": 40,
                  "hct_initial_percent": 20,
                  "volume_ml": 35.3
                },
                {
                  "citation": {
                    "authors": "Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D",
                    "doi": "10.1159/000263335",
                    "id": "mandelbrot-1988",
                    "pmid": "3257068",
                    "source": "Fetal Ther. 1988;3(1-2):60-66",
                    "title": "Assessment of fetal blood volume for computer-assisted management of in utero transfusion"
                  },
                  "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.",
                  "estimated_fetal_weight_g": 1000,
                  "fetoplacental_volume_ml": 141,
                  "formula": "mandelbrot_hct",
                  "formula_expression": "fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent",
                  "hct_donor_percent": 80,
                  "hct_final_percent": 40,
                  "hct_initial_percent": 20,
                  "volume_ml": 35.3
                }
              ],
              "path": "/api/calc/intrauterine_rbc"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "estimated_fetal_weight_g": {
                            "description": "Caller-assigned estimated fetal weight in grams (200-4000). Required. magent does not estimate fetal weight from biometry.",
                            "type": "number"
                          },
                          "hct_donor_percent": {
                            "description": "Donor unit hematocrit as a percent (60-90). Must be strictly greater than hct_final_percent.",
                            "type": "number"
                          },
                          "hct_final_percent": {
                            "description": "Target fetal hematocrit as a percent (20-60). Must be strictly greater than hct_initial_percent and strictly less than hct_donor_percent.",
                            "type": "number"
                          },
                          "hct_initial_percent": {
                            "description": "Initial fetal hematocrit as a percent (5-50). Must be strictly less than hct_final_percent.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "estimated_fetal_weight_g",
                          "hct_initial_percent",
                          "hct_final_percent",
                          "hct_donor_percent"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}