Insights API Reference

Technical specifications for the HealthIQ RapidAPI Insights operations.

Basic Tier

Profile Flags

Reviews key indicators like BMI and raises alerts for critically low or high metabolic states.

POST /v1/insights/profile-flags
Request Parameters
ParameterTypeRange / OptionsDescription
AgeNumber1-120Chronological age of user.
WeightNumber> 0 (kg)User weight in kg.
HeightNumber> 0 (cm)User height in cm.
GenderStringmale, femaleBiological sex.
ActivityLevelStringsedentary, light, moderate, activeBasic multiplier tracking.
GoalStringlose, maintain, gainDirects algorithmic trajectory.
Example JSON Request
{
  "age": 30,
  "weight": 85.0,
  "height": 175.0,
  "gender": "male",
  "activityLevel": "sedentary",
  "goal": "lose"
}
Response Parameters
ParameterTypeRange / OptionsDescription
bmiNumberpointsMeasured Body Mass Index.
bmiCategoryStringUnderweight, Normal, Overweight, ObeseCategory placement according to CDC bands.
recommendedCaloriesNumberkcal/dayDeficit or surplus adjustments for target.
flagsArray[String]Critical risk indicatorsWarnings associated with current mass levels.
recommendationsArray[String]Suggestive textActionable suggestions mapped algorithmically.
summaryStringtextWrap-up notification text.
Example JSON Response
{
  "bmi": 27.7,
  "bmiCategory": "Overweight",
  "recommendedCalories": 2200,
  "flags": [
    "Elevated BMI"
  ],
  "recommendations": [
    "Lower caloric intake slightly",
    "Incorporate cardio sessions."
  ],
  "summary": "Health risk profile calculated."
}
Pro Tier

Body Fat

Applies the sophisticated US Navy circumference method to calculate body fat percentage.

POST /v1/insights/body-fat
Request Parameters
ParameterTypeRange / OptionsDescription
GenderStringmale, femaleRequired for differing mathematical equations.
HeightCmNumber> 0 (cm)Height in centimeters.
NeckCircumferenceCmNumber> 0 (cm)Neck measurement around the adam's apple.
WaistCircumferenceCmNumber> 0 (cm)Waist measurement at the navel.
HipCircumferenceCmNumber> 0 (cm)Hip measurement at widest point (Optional mostly for men).
Example JSON Request
{
  "gender": "male",
  "heightCm": 175.0,
  "neckCircumferenceCm": 38.0,
  "waistCircumferenceCm": 85.0
}
Response Parameters
ParameterTypeRange / OptionsDescription
estimatedBodyFatPercentageNumber% PercentageThe computed total body fat.
categoryStringEssential Fat, Athletes, Fitness, Average, ObeseThe bracket standard matching the percentage.
summaryStringtextWrapup text defining the process used.
Example JSON Response
{
  "estimatedBodyFatPercentage": 14.5,
  "category": "Fitness",
  "summary": "Estimated using US Navy Method."
}
Ultra Tier

Goal Timeline

Provides trajectory analyses on how many safe weeks it will realistically take to drop required weight.

POST /v1/insights/goal-timeline
Request Parameters
ParameterTypeRange / OptionsDescription
WeightNumber> 0 (kg)Current body weight.
TargetWeightNumber> 0 (kg)Desired goal body weight.
(Base Profile)......Requires all base `ProfileBaseClass` requirements.
Example JSON Request
{
  "weight": 90.0,
  "targetWeight": 80.0,
  "age": 30,
  "height": 175.0,
  "gender": "male",
  "activityLevel": "sedentary",
  "goal": "lose"
}
Response Parameters
ParameterTypeRange / OptionsDescription
estimatedWeeksToGoalNumberWeeks scalarTotal number of predicted weeks to reach the final goal.
summaryStringtextSentence summarizing duration stringing.
Example JSON Response
{
  "estimatedWeeksToGoal": 12,
  "summary": "It will take approximately 12 weeks to safely reach your target."
}
Mega Tier

Framingham Risk Score

Calculates the 10-year risk of cardiovascular disease using standard CDC lipid and BP metrics.

POST /v1/insights/framingham-risk
Request Parameters
ParameterTypeRange / OptionsDescription
AgeNumberYearsChronological age.
GenderStringmale, femaleBiological sex.
TotalCholesterolNumbermg/dLTotal serum cholesterol.
HdlCholesterolNumbermg/dLHigh-density lipoprotein cholesterol.
SystolicBpNumbermmHgSystolic blood pressure.
IsTreatedForBpBooleantrue, falseCurrent treatment status.
IsSmokerBooleantrue, falseCurrent smoking status.
Example JSON Request
{
  "age": 45,
  "gender": "male",
  "totalCholesterol": 210,
  "hdlCholesterol": 45,
  "systolicBp": 130,
  "isTreatedForBp": false,
  "isSmoker": false
}
Response Parameters
ParameterTypeRange / OptionsDescription
tenYearRiskPercentageNumber% Probability10-year CVD risk percentage metric.
riskCategoryStringLow Risk, Intermediate Risk, High RiskBanded risk stratification framework.
summaryStringtextMethodology wrap-up description.
Example JSON Response
{
  "tenYearRiskPercentage": 14.5,
  "riskCategory": "Intermediate Risk",
  "summary": "Predicted using standardized Framework Cardiovascular Risk tables."
}
Mega Tier

Phenotypic Age

Calculates estimated biological age vs chronological age using the Levine Gompertz mortality score algorithm.

POST /v1/insights/phenotypic-age
Request Parameters
ParameterTypeRange / OptionsDescription
AgeNumberYearsChronological age at time of measurement.
AlbuminNumberg/dLSerum albumin concentration.
CreatinineNumbermg/dLSerum creatinine level.
GlucoseNumbermg/dLFasting blood glucose.
CrpNumbermg/dLC-Reactive Protein (Inflammation marker).
LymphocytePercentNumber%Lymphocyte differential percentage.
MeanCellVolumeNumberfLMean corpuscular volume (MCV).
RdwNumber%Red blood cell distribution width.
AlkalinePhosphataseNumberU/LAlkaline Phosphatase enzyme presence.
WbcNumber1000/uLTotal White Blood Cell Count.
Example JSON Request
{
  "age": 40,
  "albumin": 4.5,
  "creatinine": 0.9,
  "glucose": 95.0,
  "crp": 1.2,
  "lymphocytePercent": 30.0,
  "meanCellVolume": 90.0,
  "rdw": 13.0,
  "alkalinePhosphatase": 70.0,
  "wbc": 6.0
}
Response Parameters
ParameterTypeRange / OptionsDescription
phenotypicAgeNumberYears countCalculated biological age in numerical years.
mortalityScoreNumberLevine Gompertz BaseRaw predictive mortality risk ratio.
chronologicalAgeNumberechoActual measured chronological age.
summaryStringtextConclusion contrasting phenotype to genotype age.
Example JSON Response
{
  "phenotypicAge": 52.8,
  "mortalityScore": 1.5,
  "chronologicalAge": 40,
  "summary": "Calculated Biological Age is 52.8 vs Chronological Age 40."
}