Skip to content

Glycemic Load API

Calculate meal-level glycemic load and a relative insulin response estimate from carbohydrate, protein, and fat inputs.

Endpoint

  • GET /api/v1/nutrition/glycemic-load
  • POST /api/v1/nutrition/glycemic-load/post

Parameters

Name Type Required In Description
carbs_g number Yes Query/Body Carbohydrate grams.
glycemic_index number (1-100) Yes Query/Body Glycemic index of the carbohydrate source.
protein_g number No Query/Body Protein grams. Defaults to 0.
fat_g number No Query/Body Fat grams. Defaults to 0.
lang string No Query Response language (en,fr,es,de,pt,ja,hi,ar,bn,gu,id,it,ko,mr,nl,pa,pl,ro,ru,ta,te,th,tr,ur,vi,zh).

Request Example

curl -X POST "https://api.hefitapi.com/api/v1/nutrition/glycemic-load/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"carbs_g":45,"glycemic_index":62,"protein_g":25,"fat_g":12}'

Response Example

{
  "carbs_g": 45.0,
  "glycemic_index": 62.0,
  "protein_g": 25.0,
  "fat_g": 12.0,
  "glycemic_load": 27.9,
  "insulin_index_estimate": 29.46,
  "load_band": "high",
  "load_band_label": "High glycemic load",
  "insulin_impact": "high",
  "insulin_impact_label": "High insulin impact",
  "summary": "High glycemic load. Consider portion control and fiber pairing.",
  "recommendations": {"general": [], "mitigation": []},
  "language": "en",
  "_api_metadata_": {"endpoint_name": "glycemic_load", "response_language": "en"}
}

Localization

This endpoint reads health_fitness_glycemic_load.json from the supported language catalogs.