# Harris–Benedict 1919 Basal Energy Expenditure Calculator

> Harris–Benedict 1919 Basal Energy Expenditure 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 basal energy expenditure (kcal/day) using the original Harris–Benedict 1919 formula from height, weight, age, and sex

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/bee_harris_benedict
- 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/harris-benedict-1919-basal-energy-expenditure-calculator-2682ae02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sKCTFavUZRUQfS-OuDapd

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 harris-benedict-1919-basal-energy-expenditure-calculator-2682ae02
```

Example prompt: What's the Harris–Benedict 1919 basal energy expenditure for a 35-year-old male who is 178 cm tall and weighs 82 kg?

## When to prefer this

Choose this endpoint when you need a deterministic, citeable Harris–Benedict 1919 BEE value — particularly for clinical documentation, prior-authorization workflows, or any context requiring a published-formula reference. Prefer it over modern revised equations (e.g. Mifflin-St Jeor) when the 1919 original formula is specifically required. It accepts both metric and imperial unit inputs, making it convenient without manual conversion.

## Known failure modes

- Missing required parameters (age or sex) returns a 400-level error
- Age outside the 18–120 range may be rejected or produce out-of-scope results
- Neither height_cm/height_in nor weight_kg/weight_lb provided causes calculation failure
- Invalid sex enum value (not 'male' or 'female') returns an error
- Payment failure via x402 protocol returns 402 Payment Required

## How this service works

Harris–Benedict 1919 basal energy expenditure (kcal/day) from height, weight, age, and sex. Deterministic published formula with citation; not a nutrition prescription.

## Output

Returns the basal energy expenditure in kcal/day computed from the Harris–Benedict 1919 sex-specific equations, along with a citation to the original publication. The result is deterministic and reproducible given the same inputs.

## 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": "Sex used by Harris–Benedict 1919 (separate male and female equations)."
      },
      "height_cm": {
       "type": "number",
       "description": "Height in centimeters. Provide height_cm or height_in."
      },
      "height_in": {
       "type": "number",
       "description": "Height in inches. Converted as cm = in * 2.54."
      },
      "weight_kg": {
       "type": "number",
       "description": "Weight in kilograms. Provide weight_kg or weight_lb."
      },
      "weight_lb": {
       "type": "number",
       "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
      }
     }
    }
   },
   "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/bee_harris_benedict",
  "count": 2,
  "items": [
   {
    "sex": "male",
    "units": "kcal/day",
    "formula": "harris_benedict_1919",
    "citation": {
     "id": "harris-benedict-1919",
     "doi": null,
     "title": "A Biometric Study of Basal Metabolism in Man",
     "source": "Carnegie Institution of Washington Publication No. 279; 1919",
     "authors": "Harris JA, Benedict FG"
    },
    "age_years": 25,
    "height_cm": 175,
    "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.",
    "bee_kcal_day": 1735.8,
    "formula_expression": "BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)"
   },
   {
    "sex": "male",
    "units": "kcal/day",
    "formula": "harris_benedict_1919",
    "citation": {
     "id": "harris-benedict-1919",
     "doi": null,
     "title": "A Biometric Study of Basal Metabolism in Man",
     "source": "Carnegie Institution of Washington Publication No. 279; 1919",
     "authors": "Harris JA, Benedict FG"
    },
    "age_years": 25,
    "height_cm": 175,
    "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.",
    "bee_kcal_day": 1735.8,
    "formula_expression": "BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/harris-benedict-1919-basal-energy-expenditure-calculator-2682ae02/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)
