# AgentTools BMI Calculator

> AgentTools BMI Calculator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Calculates Body Mass Index 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://agentstoolshub.com/api/v1/calculators/bmi-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-bmi-calculator-8f532794
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_plZZBJZ22MPHYmaCt-Yxa

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-8f532794
```

Example prompt: What's my BMI and WHO weight category? I weigh 82 kg and I'm 178 cm tall — also tell me the healthy weight range for my height.

## When to prefer this

Use this endpoint when you need a quick, reliable BMI calculation with official WHO weight classification and healthy weight range context — especially when both weight (kg) and height (cm) are known and you need more than just a raw number, such as a clinical category or target range.

## Known failure modes

- Missing required weight or height parameters returns a validation error
- Non-numeric or zero/negative values for weight or height may return an error or nonsensical result
- Extremely out-of-range values (e.g. height 0 cm) may cause computation errors
- API unavailability or payment failure (x402) prevents response

## 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 corresponding 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-8f532794/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
