コンテンツにスキップ

塩分を含む食品のAPI

さまざまな料理塩のプロファイルから、塩分と純粋な塩分の負荷を推定します。

エンドポイント

  • GET /api/v1/sodium-in-salt
  • POST /api/v1/sodium-in-salt/post

パラメータ

名前 必須 クエリ/ボディ 説明
type_of_salt 文字列 はい クエリ/ボディ 塩のキー: iodized_table_salt_fine, kosher_salt_coarse, sea_salt_fine, sea_salt_coarse, himalayan_salt, potassium_salt
amount_tsp 数値 (>=0) はい クエリ/ボディ グラム単位の量
lang 文字列 いいえ クエリ レスポンス言語 (en, es, de, fr, pt, ja, hi, ar)

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

  • 調味料の選択による塩分の影響を瞬時に把握できます。
  • 栄養管理と高血圧対策プログラムのサポートに役立ちます。
  • 基準となる密度メトリックを使用して、塩分プロファイルを比較できます。

詳細はこちら

リクエストの例

curl -X GET "https://api.hefitapi.com/api/v1/sodium-in-salt?type_of_salt=iodized_table_salt_fine&amount_tsp=0.75&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/sodium-in-salt/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"type_of_salt":"sea_salt_coarse","amount_tsp":1.2}'

レスポンスの例

Info

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

{
  "salt_type": "iodized_table_salt_fine",
  "amount_tsp": 0.75,
  "sodium_mg": 1725.0,
  "pure_salt_mg": 4312.5,
  "sodium_density_mg_per_tsp": 2300,
  "daily_limit_usage_percent": {"who_2000mg": 86.25, "upper_2300mg": 75.0},
  "sodium_band": "high",
  "sodium_band_label": "High",
  "salt_profile": "High-density sodium profile.",
  "action_plan": ["Reduce added salt and balance with whole foods"],
  "monitoring_plan": "Track daily sodium totals against personal target.",
  "_enterprise": {"client": "Acme Health", "plan": "pro", "request_id": "adf4ff0c72533544", "quota": 120, "usage_tracking": true},
  "_api_metadata_": {"endpoint_name": "sodium_in_salt", "response_language": "en"}
}

製品のポジショニング

栄養追跡、塩分に関する製品、および臨床的な食事サポートツールに役立ちます。

注意

type_of_salt は、サポートされている塩のキーと完全に一致する必要があります。

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