# magent Estimated Blood Ethanol Concentration (BAC) Calculator

> magent Estimated Blood Ethanol Concentration (BAC) 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).

Estimates fasting blood alcohol concentration using Watson 1981 TBW and sex-specific body composition parameters from ingested ethanol grams.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/estimated_ethanol
- 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-estimated-blood-ethanol-concentration-bac-calculator-a8a5304d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YXsjVF834xIySIDcUShcT

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-estimated-blood-ethanol-concentration-bac-calculator-a8a5304d
```

Example prompt: Estimate the fasting BAC for a 35-year-old male who is 180 cm tall, weighs 80 kg, and has ingested 42 grams of ethanol — use the Watson total body water method.

## When to prefer this

Use this endpoint when you need a fast, theoretically grounded fasting BAC estimate based on ingested ethanol grams and anthropometric inputs (sex, age, height, weight) using the Watson 1981/1980 methodology. Prefer it for research modeling, educational demonstrations, or app features requiring a pharmacokinetic BAC approximation. Do not use for medicolegal BAC determination, clinical dosing, or post-absorption scenarios.

## Known failure modes

- Missing required fields (sex, age, ethanol_g) returns a 400 validation error
- Neither height_cm/height_in nor weight_kg/weight_lb provided causes computation failure
- Out-of-range values (e.g. age <18, ethanol_g >500) may return errors or undefined results
- Payment not provided or insufficient USDC results in 402 Payment Required
- Incorrect sex enum value (not 'male' or 'female') returns validation error

## How this service works

Fasting Watson 1981 theoretical Co from ingested ethanol grams and sex-specific Watson 1980 total body water. Blood-water fraction 0.80; absorbed fraction 1. Fasting Widmark-type estimate only. Ethanol only; not a medicolegal BAC or treatment dose.

## Output

Returns a computed fasting blood ethanol concentration estimate derived from the Watson 1981 formula using sex-specific total body water (Watson 1980), a blood-water fraction of 0.80, and full absorption assumption. Output is a theoretical BAC value suitable for research or educational use only, not for medicolegal or clinical treatment decisions.

## 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": [
      "sex",
      "age",
      "ethanol_g"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Used in male TBW; required for both sexes."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "Sex for Watson 1980 TBW: male uses age, height, and weight; female uses height and weight only."
      },
      "ethanol_g": {
       "type": "number",
       "description": "Ingested ethanol mass in grams (0-500). Watson 1981 does not publish a mass clamp; one US standard drink is about 14 g."
      },
      "height_cm": {
       "type": "number",
       "description": "Height in centimeters (50-250). Provide height_cm or height_in."
      },
      "height_in": {
       "type": "number",
       "description": "Height in inches (20-98). Converted as cm = in * 2.54."
      },
      "weight_kg": {
       "type": "number",
       "description": "Weight in kilograms (1-500). Provide weight_kg or weight_lb."
      },
      "weight_lb": {
       "type": "number",
       "description": "Weight in pounds (2-1100). Converted as kg = lb * 0.45359237."
      }
     }
    }
   },
   "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-estimated-blood-ethanol-concentration-bac-calculator-a8a5304d/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)
