Skip to content

Insulin Sensitivity API

Quantify metabolic flexibility with sensitivity scoring, risk insight, and actionable carb planning guidance.

Endpoint

  • GET /api/v1/fitness/insulin-sensitivity
  • POST /api/v1/fitness/insulin-sensitivity/post

Parameters

Name Type Required In Description
waist_cm number (45-180) Yes Query/Body Waist circumference in centimeters.
body_fat_percentage number (5-65) Yes Query/Body Body-fat percentage.
fasting_hours number (8-24) Yes Query/Body Overnight fasting window.
weekly_activity_minutes integer (0-3000) Yes Query/Body Weekly movement volume.
lang string No Query Response language (en,es,de,fr,pt,ja,hi,ar).

Why Use This Endpoint

  • Turn metabolic markers into score-based guidance.
  • Personalize carb strategy by sensitivity rating.
  • Embed periodic metabolic reviews in consumer and B2B products.

Get Started

Request Example

curl -X GET "https://api.hefitapi.com/api/v1/fitness/insulin-sensitivity?waist_cm=91&body_fat_percentage=23&fasting_hours=13&weekly_activity_minutes=220&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/insulin-sensitivity/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"waist_cm":84,"body_fat_percentage":17,"fasting_hours":14,"weekly_activity_minutes":320}'

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.

{
  "waist_cm": 91.0,
  "body_fat_percentage": 23.0,
  "fasting_hours": 13.0,
  "weekly_activity_minutes": 220,
  "insulin_sensitivity_rating": {
    "score": 64,
    "rating": "moderate",
    "rating_label": "Moderate"
  },
  "carb_tolerance_guidance": [
    "Distribute carbs around training windows.",
    "Prioritize high-fiber carb sources."
  ],
  "metabolic_health_insight": {
    "risk_score": 36,
    "risk_label": "Controlled",
    "insight": "Current profile supports moderate carb tolerance with consistency."
  },
  "drivers": {
    "waist_component": 78.0,
    "body_fat_component": 67.0,
    "fasting_component": 92.9,
    "activity_component": 91.7
  },
  "next_review_window_days": 30,
  "confidence_score": 81,
  "summary": "Metabolic profile is stable with room for optimization.",
  "language": "en",
  "_enterprise": {
    "client": "Acme Health",
    "plan": "pro",
    "request_id": "e81d79cbb2793bdf",
    "quota": 120,
    "usage_tracking": true
  },
  "_api_metadata_": {
    "endpoint_name": "fitness_insulin_sensitivity",
    "response_language": "en"
  }
}

Product Positioning

Designed for metabolic health platforms, nutrition engines, and data-driven coaching systems.

Note

All four inputs are required for both GET and POST variants.