Sweat Rate Sodium API¶
Return sweat-rate and sodium-loss estimates for sport, endurance, and heat-exposure planning.
Endpoint¶
GET /api/v1/fitness/sweat-rate-sodiumPOST /api/v1/fitness/sweat-rate-sodium/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
pre_workout_weight_kg | number | Yes | Query/Body | Body weight before exercise. |
post_workout_weight_kg | number | Yes | Query/Body | Body weight after exercise. |
fluid_consumed_liters | number | Yes | Query/Body | Fluid consumed during exercise. |
duration_minutes | number | Yes | Query/Body | Session duration in minutes. |
sweat_profile | string | No | Query/Body | salty, normal, or dilute; defaults to normal. |
lang | string | No | Query | Response language (en,fr,es,de,pt,ja,hi,ar,bn,gu,id,it,ko,mr,nl,pa,pl,ro,ru,ta,te,th,tr,ur,vi,zh). |
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/fitness/sweat-rate-sodium?pre_workout_weight_kg=78&post_workout_weight_kg=77.2&fluid_consumed_liters=0.6&duration_minutes=90&sweat_profile=normal&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/sweat-rate-sodium/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"pre_workout_weight_kg":78,"post_workout_weight_kg":77.2,"fluid_consumed_liters":0.6,"duration_minutes":90,"sweat_profile":"normal"}'
Response Example¶
{
"sweat_loss_liters": 1.4,
"sweat_rate_l_hr": 0.93,
"sodium_loss_mg": 1120.0,
"sweat_rate_band": "moderate",
"sweat_rate_label": "Moderate sweat rate",
"sweat_profile": "normal",
"sweat_profile_label": "Normal sweat profile",
"summary": "Moderate sweat rate. Structured fluid and electrolyte replacement is recommended for longer sessions.",
"recommendations": {
"hydration": ["Drink 500-750ml of fluid per hour of active training."],
"electrolytes": ["Use standard electrolyte formulation (600-900mg/L) for sessions exceeding 60 minutes."]
},
"language": "en",
"_api_metadata_": {"endpoint_name": "sweat_rate_sodium", "response_language": "en"}
}
Localization¶
This endpoint reads health_fitness_sweat_rate_sodium.json from the supported language catalogs.
Recommended Endpoints¶
GET /api/v1/fitness/hydration-plan- Hydration Plan APIGET /api/v1/fitness/hyponatremia-risk- Hyponatremia Risk APIGET /api/v1/fitness/glycogen-replenishment-plan- Glycogen Replenishment Plan API