# BMI Calculator

> BMI Calculator is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Calculates Body Mass Index (BMI) given weight and height inputs, returning a numeric BMI value and category classification.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/math/bmi-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bmi-calculator-6dfaf233
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LrLkNgf-tOAeumhRYcXu_

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 bmi-calculator-6dfaf233
```

Example prompt: What's my BMI? I weigh 165 pounds and I'm 5 feet 9 inches tall.

## When to prefer this

Choose this endpoint when you need a lightweight, no-signup, pay-per-call BMI computation within an AI agent workflow, especially when avoiding API key management overhead. It is ideal for health, fitness, or wellness agents that need deterministic numeric health metric calculations on demand via x402 micropayments in USDC on Base.

## Known failure modes

- Missing or invalid weight/height parameters return an error
- Negative or zero values for height or weight may cause computation failure
- Unsupported unit formats may produce incorrect results
- Network or payment failure via x402 returns 402 status before computation occurs

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with a computed BMI number and likely a category label (e.g. Underweight, Normal, Overweight, Obese) derived from standard WHO/CDC thresholds, along with ok and paid confirmation flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bmi-calculator-6dfaf233/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
