Glycogen Replenishment Plan API¶
Estimate glycogen depletion and return 24-hour carb refeed strategy with timing windows and sodium support guidance.
Endpoint¶
GET /api/v1/fitness/glycogen-replenishment-planPOST /api/v1/fitness/glycogen-replenishment-plan/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
body_weight | number (35-300) | Yes | Query/Body | Body weight in kilograms. |
workout_duration | integer (15-300) | Yes | Query/Body | Session duration in minutes. |
intensity_level | string | Yes | Query/Body | low,moderate,high,very_high. |
goal | string | Yes | Query/Body | fat_loss,muscle_gain,maintenance,endurance,recomposition. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Convert training load into practical refueling steps.
- Personalize carb timing windows post-session.
- Improve recovery quality through carb-sodium-fluid coordination.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/fitness/glycogen-replenishment-plan?body_weight=82&workout_duration=90&intensity_level=high&goal=performance&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/glycogen-replenishment-plan/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"body_weight":82,"workout_duration":90,"intensity_level":"high","goal":"maintenance"}'
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.
{
"goal": "maintenance",
"goal_label": "Maintenance",
"body_weight_kg": 82.0,
"workout_duration_min": 90,
"intensity_level": "high",
"intensity_label": "High",
"glycogen_depletion": {
"score": 85,
"level": "very_high",
"level_label": "Very High"
},
"carb_replenishment_target": {
"total_24h_g": 123,
"range_g": {
"min": 111,
"max": 135
},
"per_kg_g": 1.5
},
"timing_protocol": {
"0_2h": {
"target_carb_g": 43,
"instruction": "Prioritize rapid glycogen restoration."
},
"2_6h": {
"target_carb_g": 43,
"instruction": "Continue moderate carb feedings."
},
"6_24h": {
"target_carb_g": 37,
"instruction": "Complete repletion with balanced meals."
}
},
"sodium_recommendations": {
"total_24h_mg": 1428,
"first_4h_mg": 785,
"with_meals_mg": 643,
"notes": "Elevated sodium support recommended post-session."
},
"recovery_fluids_pairing_liters": 1.0,
"goal_alignment_note": "Maintain energy balance while restoring performance readiness.",
"summary": "Substantial glycogen restoration protocol recommended.",
"language": "en",
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "a3b0cdcf866803f2",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"endpoint_name": "fitness_glycogen_replenishment_plan",
"response_language": "en"
}
}
Product Positioning¶
High-impact for performance nutrition, endurance apps, and advanced coaching platforms.
Note
Input goal must match one of the supported enum values; invalid goal returns HTTP 400.
Recommended Endpoints¶
GET /api/v1/fitness/daily-plan- Daily Plan APIGET /api/v1/fitness/deload-plan- Deload Plan APIGET /api/v1/fitness/hydration-plan- Hydration Plan APIGET /api/v1/fitness/reverse-diet-plan- Reverse Diet Plan APIGET /api/v1/fitness/weekly-plan- Weekly Plan APIGET /api/v1/bmi- Bmi API