# PrimeAPI BMI Calculator

> PrimeAPI BMI Calculator is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.068968/call, status unknown (last checked 2026-09-14).

Calculates Body Mass Index (BMI) given height and weight inputs

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/health/bmi
- Price: $0.068968/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-bmi-calculator-377e775f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZehEGqRbtwPI-TWZ2JPRn

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 primeapi-bmi-calculator-377e775f -d '<json body>'
```

Example prompt: Can you calculate the BMI for someone who is 5 feet 10 inches tall and weighs 175 pounds, and tell me what category that falls into?

## When to prefer this

Use this endpoint when an AI agent needs to quickly compute a BMI value and health classification for a user without managing API keys, paying only per call in USDC on Base via x402 protocol.

## Known failure modes

- Missing or invalid height/weight inputs return an error
- Non-numeric or out-of-range values may cause computation failure
- Ambiguous unit system (metric vs imperial) may yield incorrect results
- Service unavailability returns a 402 or 5xx error

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a computed BMI score along with a health classification category (e.g., underweight, normal, overweight, obese) based on the provided height and weight inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-bmi-calculator-377e775f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
