Reverse Diet Plan API¶
Return a phased reverse-diet strategy to restore metabolic capacity after deficit periods.
Endpoint¶
GET /api/v1/fitness/reverse-diet-planPOST /api/v1/fitness/reverse-diet-plan/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
current_calories | integer (800-5000) | Yes | Query/Body | Current daily calorie intake. |
deficit_duration_weeks | integer (0-52) | Yes | Query/Body | Duration of deficit phase. |
weight_trend | string | Yes | Query/Body | losing_fast,losing_steady,stable,gaining. |
metabolic_adaptation_risk | string/number | Yes | Query/Body | Risk level (low,moderate,high,very_high) or score 0-100. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Plan calorie restoration with risk-aware progression.
- Reduce rebound uncertainty with response forecasting.
- Add hormonal recovery timelines to program design.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/fitness/reverse-diet-plan?current_calories=1550&deficit_duration_weeks=14&weight_trend=losing_fast&metabolic_adaptation_risk=high&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/reverse-diet-plan/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"current_calories":1700,"deficit_duration_weeks":10,"weight_trend":"stable","metabolic_adaptation_risk":58}'
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.
{
"current_calories": 1550,
"deficit_duration_weeks": 14,
"weight_trend": "losing_fast",
"weight_trend_label": "Losing Fast",
"metabolic_adaptation_risk": "high",
"metabolic_adaptation_risk_label": "High",
"weekly_calorie_increment_schedule": {
"profile": "standard",
"profile_label": "Standard",
"weeks": [
{"week": 1, "target_calories": 1635, "delta_from_start": 85},
{"week": 2, "target_calories": 1720, "delta_from_start": 170}
]
},
"hormonal_recovery_window": {"min_weeks": 4, "max_weeks": 8, "insight": "Recovery window depends on adherence and stress load."},
"expected_weight_response": {
"type": "controlled_rebound",
"type_label": "Controlled Rebound",
"expected_weekly_change_low_kg": 0.1,
"expected_weekly_change_high_kg": 0.45,
"insight": "Temporary scale rise may occur while recovery improves output."
},
"strategic_recommendation": ["Increase intake gradually and monitor weekly trend"],
"next_review_window_days": 7,
"summary": "Risk-aware reverse diet profile with structured ramp-up.",
"language": "en",
"_enterprise": {"client": "Acme Health", "plan": "pro", "request_id": "ba78ca9b15a14ec7", "quota": 120, "usage_tracking": true},
"_api_metadata_": {"endpoint_name": "fitness_reverse_diet_plan", "response_language": "en"}
}
Product Positioning¶
Powerful for physique coaching, diet recovery workflows, and enterprise nutrition platforms.
Note
metabolic_adaptation_risk accepts either level string or numeric score (0-100).
Recommended Endpoints¶
GET /api/v1/fitness/daily-plan- Daily Plan APIGET /api/v1/fitness/deload-plan- Deload Plan APIGET /api/v1/fitness/glycogen-replenishment-plan- Glycogen Replenishment Plan APIGET /api/v1/fitness/hydration-plan- Hydration Plan APIGET /api/v1/fitness/weekly-plan- Weekly Plan APIGET /api/v1/bmi- Bmi API