Skip to content

HOMA-IR Calculator API

Assess insulin resistance signal quality using HOMA-IR and QUICKI outputs for metabolic monitoring workflows.

Endpoint

  • GET /api/v1/homa-ir-calculator
  • POST /api/v1/homa-ir-calculator/post

Parameters

Name Type Required In Description
glucose number (>0) Yes Query/Body Fasting glucose value.
insulin number (>0) Yes Query/Body Fasting insulin value.
lang string No Query Response language (en,es,de,fr,pt,ja,hi,ar).

Why Use This Endpoint

  • Quantify insulin resistance trends in one call.
  • Return both HOMA-IR and QUICKI perspectives.
  • Enable recurring metabolic-risk tracking in consumer apps.

Get Started

Request Example

curl -X GET "https://api.hefitapi.com/api/v1/homa-ir-calculator?glucose=102&insulin=11.5&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/homa-ir-calculator/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"glucose":102,"insulin":11.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.

{
  "homa_ir": 2.9,
  "homa_meaning": "Insulin resistance pattern detected.",
  "quicki": 0.32,
  "quicki_meaning": "Possible insulin resistance.",
  "resistance_band": "moderate",
  "resistance_band_label": "Moderate",
  "risk_signal": "Metabolic flexibility may be reduced.",
  "action_plan": ["Increase weekly activity", "Improve sleep consistency"],
  "monitoring_plan": "Recheck fasting markers in 8-12 weeks.",
  "_enterprise": {
    "client": "Acme Health",
    "plan": "pro",
    "request_id": "46a7d903e7f7456a",
    "quota": 120,
    "usage_tracking": true
  },
  "_api_metadata_": {
    "endpoint_name": "homa_ir_calculator",
    "response_language": "en"
  }
}

Product Positioning

Built for preventive-health apps, lab dashboards, and enterprise care pathways that monitor insulin sensitivity.

Note

Inputs must be positive numbers. Zero or negative values return HTTP 400.