Vücut Kitle İndeksi Hesaplama: API ve MCP
Vücut Kitle İndeksi Hesaplama için REST ve MCP başvurusu: girdi alanları, sınırlar, çıktılar, örnek istek ve gerçek yanıt. Ücretsiz, kayıt yok.
GET /api/v1/tools/health.bmi/mcp/health
- Kimlik
health.bmi- Sürüm
- 1.0.0
- Erişim
- Ücretsiz
- Araç sayfası
- Vücut Kitle İndeksi Hesaplama
- Şema
GET /api/v1/tools/health.bmi
Girdiler
| Alan | Tür | Sınırlar | Varsayılan | Açıklama |
|---|---|---|---|---|
units | string | metric | pounds | stones | metric | Birimler |
weight | number | ≥ 20, ≤ 350 | Kilo (kg) | |
height | number | ≥ 100, ≤ 250 | Boy (cm) | |
weightSt | integer | ≥ 1, ≤ 55 | Kilo, stone (st) | |
weightLb | number | ≥ 0, ≤ 800 | Kilo, libre (lb) · Stone ile: stone’un üstündeki libre. | |
heightFt | integer | ≥ 3, ≤ 8 | Boy, fit (ft) | |
heightIn | number | ≥ 0, ≤ 11,99 | 0 | Boy, inç (in) |
Çıktılar
| Alan | Tür | Açıklama |
|---|---|---|
bmi | number | Vücut kitle indeksi (kg/m²) |
underweight | boolean | Zayıf: VKİ 18,5’in altında. |
normal | boolean | Normal kilolu: VKİ 18,5–24,9. |
overweight | boolean | Fazla kilolu: VKİ 25,0–29,9. |
obese | boolean | Obez: VKİ 30,0 ve üzeri. |
healthyMin | number | Sağlıklı kilo aralığı: en az (kg) |
healthyMax | number | Sağlıklı kilo aralığı: en çok (kg) |
Örnek istek
curl -X POST https://hesaplayici.com/api/v1/tools/health.bmi/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"units":"metric","weight":68,"height":170,"heightIn":0},"locale":"tr"}'Örnek yanıt
{
"output": {
"bmi": 23.5,
"underweight": false,
"normal": true,
"overweight": false,
"obese": false,
"healthyMin": 53.5,
"healthyMax": 72
},
"steps": [
{
"id": "bmi",
"formula": "VKİ = kilo / boy²",
"substitution": "VKİ = 68 / 1,7²",
"value": 23.5,
"unit": "kg/m²"
},
{
"id": "healthyMin",
"formula": "sağlıklı kilo alt sınırı = 18,5 × boy²",
"substitution": "sağlıklı kilo alt sınırı = 18,5 × 1,7²",
"value": 53.5,
"unit": "kg"
},
{
"id": "healthyMax",
"formula": "sağlıklı kilo üst sınırı = 24,9 × boy²",
"substitution": "sağlıklı kilo üst sınırı = 24,9 × 1,7²",
"value": 72,
"unit": "kg"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "tr"
},
"citation": {
"url": "https://hesaplayici.com/saglik/vucut-kitle-indeksi-hesaplama",
"title": "Vücut Kitle İndeksi Hesaplama"
}
}