高齢者向けBMI API¶
BMIを計算し、高齢者向けに分類します(underweight, normal_weight, overweight_obese)。
エンドポイント¶
GET /api/v1/geriatric-bmiPOST /api/v1/geriatric-bmi/post
パラメータ¶
| 名前 | タイプ | 必須 | Query/Body | 説明 |
|---|---|---|---|---|
weight | 数値 | はい | Query/Body | 体重。 |
height | 数値 | はい | Query/Body | 身長。 |
unit | 文字列 (metric,imperial) | いいえ | Query/Body | 入力モード。 デフォルトは metric。 |
lang | 文字列 | いいえ | Query | レスポンス言語 (en,es,de,fr,pt,ja,hi,ar)。 |
このエンドポイントを使用する理由¶
- 高齢者向けの適切なBMIの解釈を適用する。
- 高齢者の栄養と虚弱状態のモニタリングプログラムをサポートする。
- 一般的なBMIのカットオフから生じる誤分類のリスクを軽減する。
リクエストの例¶
curl -X GET "https://api.hefitapi.com/api/v1/geriatric-bmi?weight=72&height=168&unit=metric&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/geriatric-bmi/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"weight":72,"height":168,"unit":"metric"}'
レスポンスの例¶
Info
以下のレスポンスの例は、デモンストレーションのみを目的としています。 このエンドポイントに対してライブリクエストを作成して、完全な、リアルタイム、および潜在的に豊富なJSON構造を受け取ります。
{
"status": "success",
"data": {
"weight": 72.0,
"height": 1.68,
"unit": "metric",
"bmi": 25.5,
"category": "Normal Weight",
"risk_band": "target",
"risk_band_label": "Target",
"risk_signal": "BMI is within geriatric target range.",
"action_plan": ["Maintain current healthy pattern"],
"monitoring_plan": "Review weight trend each month."
},
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "2fa3952b7587d6da",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"endpoint_name": "geriatric_bmi",
"response_language": "en"
}
}
製品の価値¶
高齢者ケアプラットフォーム、高齢者向けテレヘルス、および高齢者向けのウェルネスアプリケーションに最適です。
備考
エンドポイントは正の身長と体重の値を必要とします。無効な入力はHTTP 400を返します。
推奨されるエンドポイント¶
GET /api/v1/bmi- BMI APIGET /api/v1/bmi_imperial- BMI Imperial APIGET /api/v1/tdee- TDEE APIGET /api/v1/bmr- BMR APIGET /api/v1/protein-calculator- タンパク質計算 APIGET /api/v1/fitness/heart-rate-zones- 心拍数ゾーン API