Metabolic Adaptation Risk API¶
Detect aggressive dieting fatigue early and return a practical recovery protocol for sustainable progress.
Endpoint¶
GET /api/v1/fitness/metabolic-adaptation-riskPOST /api/v1/fitness/metabolic-adaptation-risk/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
calorie_deficit_duration_weeks | integer (0-52) | Yes | Query/Body | Number of weeks in deficit. |
current_calories | integer (800-5000) | Yes | Query/Body | Current daily calorie intake. |
weight_loss_rate | number (0-2.0) | Yes | Query/Body | Weekly weight-loss rate (%). |
training_days | integer (0-7) | Yes | Query/Body | Number of training days per week. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Identify adaptation risk before progress stalls hard.
- Return reverse-diet strategy and decision rules.
- Add hormonal stress context to programming decisions.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/fitness/metabolic-adaptation-risk?calorie_deficit_duration_weeks=14¤t_calories=1550&weight_loss_rate=0.9&training_days=6&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/metabolic-adaptation-risk/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"calorie_deficit_duration_weeks":10,"current_calories":1700,"weight_loss_rate":0.7,"training_days":5}'
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.
{
"adaptation_risk_level": "high",
"adaptation_risk_label": "High",
"risk_score": 79,
"adaptation_risk_insight": "Current profile indicates significant adaptation pressure.",
"reverse_diet_suggestion": "Introduce structured calorie increases. (+93 kcal/week for 2-4 weeks)",
"adaptive_protocol": {
"phase_1": "Stabilize intake and reduce fatigue load",
"phase_2": "Rebuild output and training quality"
},
"weekly_decision_rules": ["Pause deficit when fatigue markers stay elevated"],
"recovery_phase_targets": ["Restore training performance consistency"],
"escalation_flags": ["Long deficit window", "High adaptation risk profile"],
"hormonal_stress_indicator": {
"level": "watch",
"level_label": "Watch",
"insight": "Recovery and endocrine stress should be monitored."
},
"component_load": {
"deficit_duration_pressure": 33.3,
"calorie_floor_pressure": 20.2,
"weight_loss_rate_pressure": 22.5,
"training_load_pressure": 13.7
},
"inputs": {
"calorie_deficit_duration_weeks": 14,
"current_calories": 1550,
"weight_loss_rate_percent_per_week": 0.9,
"training_days": 6
},
"summary": "High adaptation risk; transition to recovery-focused nutrition strategy.",
"language": "en",
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "4a9bb523330804e5",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"endpoint_name": "fitness_metabolic_adaptation_risk",
"response_language": "en"
}
}
Product Positioning¶
Excellent for body-recomposition platforms, prep coaching tools, and long-term adherence systems.
Note
weight_loss_rate is interpreted as percent per week and must be 0-2.0.
Recommended Endpoints¶
GET /api/v1/diabetes-risk- Diabetes Risk APIGET /api/v1/fitness/fasted-training-risk- Fasted Training Risk APIGET /api/v1/fitness/injury-risk- Injury Risk APIGET /api/v1/fitness/micronutrient-risk- Micronutrient Risk APIGET /api/v1/fitness/sedentary-risk-score- Sedentary Risk Score APIGET /api/v1/bmi- BMR API