30trust / 100
Calculators Bmi Calculator
by AgentTools in Other
x402 APIFailing, checked 2 h ago
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.
GET https://agenttools-hub.vercel.app/api/v1/calculators/bmi-calculator
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 13.3%
- Response time
- 286 ms typical, 286 ms slowest 5%
- Last check
- 2 h ago: Expected HTTP 402, got 308
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/calculators/bmi-calculator?height=175&weight=70"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fcalculators%2Fbmi-calculator
const res = await pay("https://agenttools-hub.vercel.app/api/v1/calculators/bmi-calculator?height=175&weight=70");
console.log(await res.json());Example input
{
"height": 175,
"weight": 70
}Example output
{
"result": {
"answer": "22.86",
"answerLabel": "BMI — Healthy weight",
"details": [
{
"label": "WHO category",
"value": "Healthy weight"
},
{
"label": "Healthy range for height",
"value": "56.66–76.26 kg"
}
],
"steps": [
"70 ÷ (1.75 m)² = 70 ÷ 3.06 = 22.86"
],
"value": 22.857143
},
"tool": "bmi-calculator"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Expected HTTP 402, got 308 | 308 | 13 ms | - |
| 6 h ago | Expected HTTP 402, got 308 | 308 | 98 ms | - |
| 10 h ago | Expected HTTP 402, got 308 | 308 | 111 ms | - |
| 14 h ago | Expected HTTP 402, got 308 | 308 | 74 ms | - |
| 18 h ago | Expected HTTP 402, got 308 | 308 | 13 ms | - |
| 23 h ago | Expected HTTP 402, got 308 | 308 | 19 ms | - |
| 27 h ago | Expected HTTP 402, got 308 | 308 | 15 ms | - |
| 31 h ago | Expected HTTP 402, got 308 | 308 | 50 ms | - |
| 35 h ago | Expected HTTP 402, got 308 | 308 | 153 ms | - |
| 39 h ago | Expected HTTP 402, got 308 | 308 | 15 ms | - |
| 43 h ago | Expected HTTP 402, got 308 | 308 | 19 ms | - |
| 47 h ago | Expected HTTP 402, got 308 | 308 | 17 ms | - |
| 2 days ago | Expected HTTP 402, got 308 | 308 | 96 ms | - |
| 2 days ago | Passed | 402 | 286 ms | $0.002 |
| 2 days ago | Passed | 402 | 974 ms | $0.002 |