Skip to content

Cortisol Stress Load API

Assess stress burden and overtraining risk with structured recovery and escalation outputs for performance and wellness products.

Endpoint

  • GET /api/v1/fitness/cortisol-stress-load
  • POST /api/v1/fitness/cortisol-stress-load/post

Parameters

Name Type Required In Description
sleep_hours number (0-16) Yes Query/Body Sleep duration.
caffeine_intake_mg number (0-1200) Yes Query/Body Daily caffeine intake in mg.
training_intensity string Yes Query/Body low,moderate,high,very_high.
life_stress_score integer (1-10) Yes Query/Body Subjective life-stress burden.
lang string No Query Response language (en,es,de,fr,pt,ja,hi,ar).

Why Use This Endpoint

  • Catch overtraining risk before performance drops.
  • Guide daily training-day type selection.
  • Automate recovery protocols in coaching software.

Get Started

Request Example

curl -X GET "https://api.hefitapi.com/api/v1/fitness/cortisol-stress-load?sleep_hours=5.9&caffeine_intake_mg=360&training_intensity=high&life_stress_score=8&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/cortisol-stress-load/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"sleep_hours":5.9,"caffeine_intake_mg":360,"training_intensity":"high","life_stress_score":8}'

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.

{
  "stress_load_index": 78,
  "stress_band": "very_high",
  "stress_band_label": "Very High",
  "overtraining_warning": {
    "level": "high",
    "level_label": "High",
    "insight": "Recovery debt and cumulative stress are elevated."
  },
  "nervous_system_recovery_guidance": [
    "Reduce training load",
    "Increase recovery focus"
  ],
  "day_type_recommendation": {
    "type": "pull_back",
    "focus": "recovery_priority"
  },
  "rapid_downshift_actions": ["Prioritize sleep extension", "Limit stimulant load"],
  "next_48h_protocol": ["Low-intensity movement", "Hydration and sleep emphasis"],
  "escalation_flags": ["Critical stress index reached"],
  "component_load": {
    "sleep_pressure": 29.4,
    "caffeine_pressure": 24.0,
    "training_pressure": 20.7,
    "life_stress_pressure": 28.0
  },
  "inputs": {
    "sleep_hours": 5.9,
    "caffeine_intake_mg": 360.0,
    "training_intensity": "high",
    "training_intensity_label": "High",
    "life_stress_score": 8
  },
  "summary": "Stress burden is high and recovery intervention is needed.",
  "language": "en",
  "_enterprise": {
    "client": "Acme Health",
    "plan": "pro",
    "request_id": "4e6a8c55eaf0f9d1",
    "quota": 120,
    "usage_tracking": true
  },
  "_api_metadata_": {
    "endpoint_name": "fitness_cortisol_stress_load",
    "response_language": "en"
  }
}

Product Positioning

A high-value feature for recovery platforms, adaptive training engines, and high-performance athlete products.

Note

training_intensity supports only: low, moderate, high, very_high.