# AgentTools BMI Calculator

> AgentTools BMI Calculator is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Calculates Body Mass Index (BMI) from weight (kg) and height (cm), returning the BMI value, WHO weight category, and healthy weight range for the given height.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/calculators/bmi-calculator?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-bmi-calculator-05900e05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ML3UyMgrcNwhtrkbLcO88

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 agenttools-bmi-calculator-05900e05
```

Example prompt: Can you calculate my BMI? I weigh 75 kg and I'm 178 cm tall — and tell me what WHO weight category that puts me in.

## When to prefer this

Use this endpoint when you need a quick, structured BMI calculation that also returns the WHO weight category and healthy weight range — not just a raw number. Ideal for health agents, fitness apps, or any workflow needing a clinically-framed body weight assessment without a heavier health API dependency.

## Known failure modes

- Missing required weight or height query parameters returns a validation error
- Non-numeric or zero/negative values for weight or height may return an error or unexpected result
- Extremely out-of-range values (e.g. height of 10 cm) may produce nonsensical WHO classifications
- Service unavailability on the Vercel deployment may result in a 500 or timeout

## How this service works

Calculate Body Mass Index from weight (kg) and height (cm), with the WHO weight category and the healthy BMI weight range for your height. Use this when an agent needs to body Mass Index with WHO category.

## Output

Returns the calculated BMI value (numeric), the WHO weight category (e.g. Underweight, Normal weight, Overweight, Obese), and the healthy BMI weight range (in kg) for the provided height.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "weight",
      "height"
     ],
     "properties": {
      "height": {
       "type": "number",
       "description": "Height (cm)"
      },
      "weight": {
       "type": "number",
       "description": "Weight (kg)"
      }
     }
    }
   },
   "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/agenttools-bmi-calculator-05900e05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
