コンテンツにスキップ

RMR計算API

二つの式による安静時の代謝需要の計算と、実践的なカロリー目標範囲を提供します。

エンドポイント

  • GET /api/v1/rmr-calculator
  • POST /api/v1/rmr-calculator/post

パラメータ

名前 タイプ 必須 In 説明
sex 文字列 はい クエリ/ボディ male または female
age 数値 (>0) はい クエリ/ボディ 年齢 (年)
height 数値 (>0) はい クエリ/ボディ 高さ (cm) (metric) または インチ (imperial)
weight 数値 (>0) はい クエリ/ボディ 体重 (kg) (metric) または ポンド (imperial)
unit 文字列 いいえ クエリ/ボディ metric (デフォルト) または imperial
lang 文字列 いいえ クエリ レスポンス言語 (en, es, de, fr, pt, ja, hi, ar)

このエンドポイントを使用する理由

  • 2つの一般的な式から、堅牢なRMR推定を提供します。
  • 表面方程式のバリエーションにより、より詳細な解釈が可能。
  • カロリープランニングおよびマクロ栄養システムに、より正確なベースラインを提供します。

開始する

リクエスト例

curl -X GET "https://api.hefitapi.com/api/v1/rmr-calculator?sex=male&age=35&height=178&weight=82&unit=metric&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/rmr-calculator/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"sex":"female","age":30,"height":66,"weight":148,"unit":"imperial"}'

レスポンス例

Info

以下のレスポンス例は、デモンストレーションのみを目的としています。 このエンドポイントに対して実際のリクエストを行うことで、完全なリアルタイム、およびより詳細なJSON構造を受け取ることができます。

{
  "sex": "male",
  "age": 35.0,
  "height_cm": 178.0,
  "weight_kg": 82.0,
  "unit": "metric",
  "resting_metabolic_rate": {
    "mifflin_st_jeor_kcal_per_day": 1762.5,
    "harris_benedict_kcal_per_day": 1831.2,
    "blended_estimate_kcal_per_day": 1796.85,
    "equation_delta_kcal_per_day": 68.7
  },
  "metabolic_band": "moderate",
  "metabolic_band_label": "Moderate",
  "calorie_targets_kcal": {"fat_loss": 2246, "maintenance_proxy": 2605, "muscle_gain": 2875},
  "action_plan": ["Start from blended estimate then calibrate"],
  "monitoring_plan": "Review trend and adjust intake every 2-3 weeks.",
  "quality_notes": ["Energy expenditure varies by recovery and daily activity"],
  "_enterprise": {"client": "Acme Health", "plan": "pro", "request_id": "a739d2b585890f4f", "quota": 120, "usage_tracking": true},
  "_api_metadata_": {"endpoint_name": "rmr_calculator", "response_language": "en"}
}

製品ポジショニング

栄養エンジン、健康アプリ、およびデジタルコーチングシステム向けのコアな代謝エンドポイント。

備考

年齢、身長、体重はすべて正の値である必要があります。

推奨されるエンドポイント