Skip to content

Sodium In Salt API

Estimate sodium and equivalent pure salt load from different culinary salt profiles.

Endpoint

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

Parameters

Name Type Required In Description
type_of_salt string Yes Query/Body Salt key: iodized_table_salt_fine,kosher_salt_coarse,sea_salt_fine,sea_salt_coarse,himalayan_salt,potassium_salt.
amount_tsp number (>=0) Yes Query/Body Amount in teaspoons.
lang string No Query Response language (en,es,de,fr,pt,ja,hi,ar).

Why Use This Endpoint

  • Convert seasoning choices into sodium impact instantly.
  • Support dietary compliance and hypertension-focused programs.
  • Compare salt profiles with normalized density metrics.

Get Started

Request Example

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}'

Response Example

Info

The response example below is for demonstration purposes only. Make a live request to this endpoint to receive the full, real-time, and potentially richer JSON structure.

{
  "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"}
}

Product Positioning

Useful for nutrition tracking, sodium-awareness products, and clinical diet support tools.

Note

type_of_salt must match one of the supported salt keys exactly.