API
Health Calculator API
The Health Calculator API with up to 53 endpoints is a comprehensive tool for health-related calculations, providing accurate insights into body composition, nutrition, fitness metrics, and more. Ideal for healthcare professionals, fitness enthusiasts, and individuals seeking customized health information, this API enables easy integration of health metrics for personalized, data-driven wellness insights.
The API caters to a wide range of programming languages, including but not limited to: C, Clojure, C#, GO, Java, JavaScript, Kotlin, Node.js, Objective-C, OCaml, PHP, PowerShell, Python, R, RapidQL, Ruby, Shell, and Swift.
API Overview
Harness the Health Calculator API 50+ endpoints to enhance your applications with health-focused metrics, enabling better user engagement, personalized insights, and informed health decisions. For more details, visit Health Calculator API on RapidAPI.
API Features:
✨ Key Features
v0.0.1 - v0.0.3: Expanded Feature Set
A Body Shape Index (ABSI): Evaluate body shape and associated health risks.
Adjusted Body Weight (AjBW): Calculate a personalized ideal body weight.
Body Adiposity Index (BAI): Estimate body fat percentage for effective health tracking.
Body Frame Size Index (BFSI): Determine body frame size to better tailor fitness plans.
Body Mass Index (BMI): Calculate body fat based on height and weight.
Body Fat Percentage: Accurately measure body fat composition.
Basal Metabolic Rate (BMR): Understand daily energy needs at rest.
Daily Caloric Needs (DCN): Customize calorie intake for weight goals.
Daily Water Intake (DWI): Calculate optimal hydration requirements.
Fat-Free Mass Index (FFMI): Evaluate muscle development for fitness progress.
Target Heart Rate (THR): Set ideal heart rates for effective workouts.
Macronutrient Distribution: Get balanced nutrition insights into carbs, proteins, and fats.
Ideal Body Weight (IBW): Determine optimal weight ranges for better health outcomes.
US Army Body Fat Calculator: Calculate body fat percentage based on the US Army standards.
US Navy Body Fat Calculator: Determine body fat percentage using the US Navy method.
Estimated Average Glucose (eAG): Estimate average blood glucose levels over a specified period.
Estimated Energy Requirement (EER): Calculate the daily energy intake required for maintaining energy balance.
Total Daily Energy Expenditure (TDEE): Determine total energy expenditure, including basal metabolic rate and physical activity level.
Basal Energy Expenditure (BEE): Calculate the energy expended at rest without any additional activity.
Total Energy Expenditure (TEE): Assess the total energy expended throughout the day, including basal metabolic rate and physical activity.
Micronutrient Requirements: Calculate daily requirements for essential vitamins and minerals based on individual characteristics.
Ponderal Index Calculator - Calculates the Ponderal Index to assess weight distribution relative to height.
Karvonen Formula Calculator - Determines target heart rate zones using the Karvonen method based on age and resting heart rate.
Geriatric BMI Calculator - Computes BMI for older adults with adjusted interpretation based on age.
Daily Vitamin Calculator - Estimates recommended daily vitamin intake based on age, gender, and lifestyle factors.
Keto Calculator - Calculates macronutrient intake for a ketogenic diet based on weight, activity level, and fitness goals.
Body Roundness Index (BRI) Calculator - Measures body roundness and fat distribution to assess health risks.
Lean Body Mass (LBM) Calculator - Computes lean body mass using the Boer formula for men and women.
Body Surface Area (BSA) Calculator - Determines body surface area using formulas like Du Bois, Mosteller, and others.
Blood Sugar Converter - Converts blood glucose levels between mmol/L and mg/dL units.
Diabetes Risk Calculator - Predicts Type 2 Diabetes risk over the next 7.5 years based on medical research and key health metrics.
HOMA-IR Calculator - Calculates the Homeostatic Model Assessment for Insulin Resistance, a key marker of insulin sensitivity.
QUICKI Calculator - Computes the Quantitative Insulin Sensitivity Check Index for assessing insulin resistance.
Cholesterol Ratio Calculator - Determines cholesterol ratios (TC/HDL, LDL/HDL, and TG/HDL) to assess cardiovascular risk.
Cholesterol Units Converter - Converts cholesterol levels between mg/dL and mmol/L for TC, HDL, and LDL.
Triglycerides Concentration Converter - Converts triglyceride values between mg/dL and mmol/L.
VLDL Calculator - Estimates Very Low-Density Lipoprotein (VLDL) using Friedewald and Wilson equations.
LDL Calculator - Computes Low-Density Lipoprotein (LDL) using the Friedewald equation based on TC, HDL, and TG values.
🔥 Latest Features
What’s New in v0.0.4?
Cardiovascular & Diagnostic Calculators
- QTc (Corrected QT Interval) Calculator – Calculates QTc using multiple formulas: Bazett, Fridericia, Framingham, and Hodges.
- ABI Calculator – Computes the Ankle-Brachial Index for peripheral artery disease assessment.
- Aortic Valve Area (AVA) Calculator – Estimates aortic valve area using the continuity equation.
- 6-Minute Walk Test (6MWT) Calculator – Estimates functional exercise capacity based on the 6-minute walk distance.
Metabolic & Calorie Calculators
- RMR Calculator (Resting Metabolic Rate) – Calculates energy burned at rest using Mifflin-St Jeor and Harris-Benedict formulas.
- Katch-McArdle Calculator – Computes BMR based on lean body mass.
- Maintenance Calorie Calculator – Estimates daily calorie needs for maintaining current weight.
- Meal Calorie Calculator – Estimates calories in a meal based on macronutrients.
Nutrition & Macronutrient Calculators
- Fat Intake Calculator – Estimates recommended daily fat and saturated fat intake based on activity level.
- Protein Calculator – Calculates daily protein requirements in grams.
- Carb Calculator – Determines ideal daily carbohydrate intake.
- Fiber Calculator – Estimates recommended daily fiber intake based on sex and age.
- Net Carbs Calculator – Calculates net carbs by subtracting fiber and sugar alcohols from total carbs.
- Simple Sugar Calculator – Recommends max daily added sugar intake.
- Sodium in Salt Calculator – Converts salt intake to sodium and vice versa.
Diet & Lifestyle Calculators
- Weight Watchers Points Calculator – Calculates WW Smart Points based on calories, sugar, saturated fat, and protein.
📌 v0.0.4 Summary
Total New Endpoints: 16
Focus Areas:
- Cardiovascular health
- Nutrition & diet
- Energy expenditure
- Clinical & diagnostic tools
🚀 Additional Highlights
Comprehensive Health Metrics: Access a range of calculations for personalized insights.
User-Centric Design: Tailored for healthcare, fitness, and personal use applications.
Precision & Accuracy: Developed for precise health measurements and reliable data.
Easy Integration: Smooth integration with extensive documentation for seamless use.

Endpoints Overview
Ideal Body Weight (IBW)
These endpoint allows you to calculate the ideal weight range based on factors like height, body frame size, and gender. The endpoints provides different formulas and approaches for ideal weight estimation, such as the Hamwi method and the Devine formula.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
height | int | Yes | The height in centimeters (cm) of the person for whom you want to calculate the ideal weight. |
body_frame | string | Yes | The body frame size of the person. It can be one of the following values: "small", "medium", or "large". |
gender | string | Yes | The gender of the person. It can be either "male" or "female". |
formula | string | Optional | You can include an optional query parameter to specify the formula or approach for ideal weight estimation. It can be one of the following values: "hamwi" (default): The Hamwi method for ideal weight calculation. "devine": The Devine formula for ideal weight calculation. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/ibw" querystring = {"height":"175","body_frame":"medium","gender":"male","formula":"hamwi"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "ideal_weight":"48.64 kg" }
A Body Shape Index (ABSI)
These ABSI Calculator endpoints allow you to calculate the A Body Shape Index (ABSI) and its corresponding z-score and mortality risk based on the provided parameters.
Note: This calculator uses the ABSI mean and standard deviation data for each age and sex bracket from the data available for the population of [NHANES].
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender of the individual. Accepted values are 'male' and 'female'. |
age | int | Yes | The age of the individual in years. |
height | int | Yes | The height of the individual in centimeters for 'metric' unit, and inches for 'imperial' unit. |
weight | int | Yes | The weight of the individual in kilograms. for 'metric' unit, and pounds for 'imperial' unit |
waist_circumference | int | Yes | The waist circumference of the individual in centimeters for 'metric' unit, and inches for 'imperial' unit. |
unit | string | Optional | The unit of measurement used for height, weight, and waist circumference. Accepted values are 'metric' (default) and 'imperial'. If 'imperial' is used, the height should be in inches, weight in pounds, and waist circumference in inches. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/absi" querystring = {"sex":"male","age":"60","height":"180","weight":"78","waist_circumference":"80","unit":"metric"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "ABSI":0.0715, "ABSI z-score":-3.5473, "Age":60, "Mortality risk":"Very low", "Sex":"male" }
Body Fat Percentage (BFP)
These endpoints calculate the body fat percentage based on the provided gender, age, height, and weight parameters.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender of the individual. Accepted values are 'male' and 'female'. |
age | int | Yes | The age of the individual in years. |
height | int | Yes | The height of the individual in centimeters. |
weight | int | Yes | The weight of the individual in kilograms. |
unit | string | Optional | The desired units of measurement to implement in the JSON Response. Possible values are metric (default) or imperial. (Optional). |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bodyfat" querystring = {"gender":"female","age":"27","height":"165","weight":"78","unit":"metric"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "age": 27.0, " bmi":"28.7 kg/m²" "bodyfat": "35.19 %", "bodyfat_status": "Obese", "gender": "female", "height": "1.7 m", "weight": "78.0 kg" }
Body Fat Percentage (BFP) US Army
The US Army Body Fat Calculator is designed to calculate the body fat percentage of individuals based on the [U.S. Army Standards of Medical Fitness].
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender of the individual. Accepted values are 'male' and 'female'. |
age | int | Yes | The age of the individual in years. |
height | int | Yes | Height of the individual in centimeters. |
neck | int | Yes | Neck circumference of the individual in centimeters. |
waist | int | Yes | Waist circumference of the individual in centimeters. |
hip | string | Optional | Hip circumference of the individual in centimeters. This parameter is only required for females. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bodyfat/army" querystring = {"sex":"male","age":"32","height":"175","waist":"60","neck":"15","hip":"0"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Army_BFP":"15.38%", "Compliance":"Compliant" }
Body Fat Percentage (BFP) US Navy
The US Navy Body Fat Calculator is designed to calculate the body fat percentage of individuals based on the [U.S. Navy body fat standards].
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender of the individual. Accepted values are 'male' and 'female'. |
age | int | Yes | The age of the individual in years. |
height | int | Yes | Height of the individual in centimeters. |
neck | int | Yes | Neck circumference of the individual in centimeters. |
waist | int | Yes | Waist circumference of the individual in centimeters. |
hip | string | Optional | Hip circumference of the individual in centimeters. This parameter is only required for females. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bodyfat/navy" querystring = {"sex":"female","age":"25","height":"170","waist":"75","neck":"35","hip":"90"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Compliance":"Compliant", "Navy_BFP":"21.99%" }
Basal Metabolic Rate (BMR)
These endpoints calculate BMR based on age, weight, height, and gender parameters.
And return the BMR value, which represents the number of calories needed to maintain basic bodily functions at rest.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender of the individual. Accepted values are 'male' and 'female'. |
age | int | Yes | The age of the individual in years. |
height | int | Yes | The height of the individual in centimeters. |
weight | int | Yes | The weight of the individual in kilograms. |
equation | string | Optional | The equation to use for the calculation. Valid options are "mifflin" (default) or "harris". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bmr" querystring = {"age":"30","weight":"60","height":"175","gender":"male","equation":"mifflin"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "bmr":"1548.75 kcal/day" }
Body Mass Index (BMI)
These endpoints calculate the Body Mass Index (BMI) and weight status based on the provided height and weight.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
height | int | Yes | The height of the individual in centimeters. |
weight | int | Yes | The weight of the individual in kilograms. |
units | string | Optional | The desired units of measurement to implement in the JSON Response. Possible values are metric (default) or imperial. (Optional). |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bmi" querystring = {"height":"170","weight":"80","units":"metric"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "bmi":"27.7 kg/m²", "height":"1.7 m", "weight":"80.0 kg", "weight_status":"Overweight" }
Daily Caloric Needs (DCN)
These endpoints provide a simple and efficient way to calculate daily caloric needs based on various factors such as age, weight, height, activity level, and goal.
The endpoints offer different formulas or approaches for caloric needs estimation, including the popular Harris-Benedict equation and Mifflin-St. Jeor equation.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender of the individual. Accepted values are 'male' and 'female'. |
age | int | Yes | The age of the individual in years. |
height | int | Yes | The height of the individual in centimeters. |
activity_level | string | Yes | The activity level of the person. Valid values are "sedentary", "lightly_active", "moderately_active", "very_active", or "extra_active". |
goal | string | Yes | The goal of the person. Valid values are "weight_loss", "maintenance", or "weight_gain". |
weight | int | Yes | The weight of the individual in kilograms. |
equation | string | Optional | The equation to use for caloric needs estimation. Valid values are "harris" (default) or "mifflin". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/dcn" querystring = {"age":"30","weight":"60","height":"170","gender":"male","activity_level":"sedentary","goal":"maintenance","equation":"mifflin"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "caloric_needs": { "calories": "1821.0 kcal/day", "equation": "mifflin", "goal": "maintenance" } }
Daily Water Intake (DWI)
These endpoints calculate the daily recommended water intake based on factors such as weight, activity level, and climate. It provides flexibility by allowing you to specify the unit of measurement for the water intake, either in liters or ounces.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
activity_level | string | Yes | The activity level of the person. Valid values are "sedentary", "lightly_active", "moderately_active", "very_active", or "extra_active". |
climate | string | Yes | The climate in which the individual is located. The climate parameter accepts the following values: normal - Average climate hot - Hot climate cold - Cold climate |
weight | int | Yes | The weight of the individual in kilograms. |
unit | string | Optional | The unit of measurement for the water intake. (Default) ounces Specify liters to get the result in liters instead. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/dwi" querystring = {"weight":"60","activity_level":"sedentary","climate":"normal","unit":"liters"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "unit":"liters", "water_intake":0.89 }
Target Heart Rate (THR)
These endpoints calculate the target heart rate range for cardiovascular exercise based on the user's age and fitness level. It uses the Karvonen method to determine the target heart rate zone.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
age | int | Yes | The age of the individual in years. |
fitness_level | string | Yes | The fitness level of the individual. The fitness_level parameter accepts the following values: beginner - Beginner fitness level. intermediate - Intermediate fitness level. advanced - Advanced fitness level. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/thr" querystring = {"age":"27","fitness_level":"beginner"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "thr_max":"164.05 bpm", "thr_min":"96.5 bpm" }
Macronutrients Distribution
These endpoints calculates the optimal distribution of macronutrients (carbohydrates, proteins, and fats) based on factors such as activity level, body composition goals, and dietary preferences.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
activity_level | int | Yes | The activity_level parameter accepts the following values: sedentary - Little to no exercise. moderately_active - Moderate exercise/sports 3-5 days/week. very_active - Hard exercise/sports 6-7 days/week. |
body_composition_goal | string | Yes | The body_composition_goal parameter accepts the following values: weight_loss - Goal of losing weight. maintenance - Goal of maintaining current weight. muscle_gain - Goal of gaining muscle. |
dietary_preferences | string | Yes | The dietary_preferences parameter allows users to specify their dietary preferences. It can be any string value representing the individual's dietary choices or restrictions, such as "vegetarian," "vegan," "pescatarian," or "gluten-free." |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/mnd" querystring = {"activity_level":"sedentary","body_composition_goal":"maintenance","dietary_preferences":"vegan"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "carbohydrates":"45.0%", "fats":"25.0%", "proteins":"30.0%" }
Micronutrients Distribution
These endpoints calculates the optimal distribution of macronutrients (carbohydrates, proteins, and fats) based on factors such as activity level, body composition goals, and dietary preferences.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender for which the micronutrient requirement is calculated. Valid values are "male" or "female" |
age | int | Yes | The age of the individual for whom the micronutrient requirement is calculated. Note that this endpoint is not meant for children below 9 years. |
micronutrient | string | Yes | The specific micronutrient for which the requirement is calculated. Valid values include: "calcium" "chromium" "copper" "fluoride" "iodine" "iron" "magnesium" "manganese" "molybdenum" "phosphorus" "selenium" "zinc" "potassium" "sodium" or "chloride" |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/micronutrient" querystring = {"gender":"female","age":"30","micronutrient":"calcium"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Age":"30 yr", "Gender":"female", "Micronutrient":"calcium", "Requirement":"1000 mg/d" }
Fat-Free Mass Index (FFMI)
These FFMI (Fat-Free Mass Index) Calculator endpoints allow you to calculate the FFMI score, which describes the amount of muscle mass in relation to height and weight.
FFMI is part of the family of body indexes, together with well-known and similar BMI. However, FFMI is more precise than BMI and provides information about somebody's condition and health.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender for which the micronutrient requirement is calculated. Valid values are "male" or "female" |
height | int | Yes | The height of the individual. For metric units, use height in centimeters, and for imperial units, use height in inches. |
weight | int | Yes | The weight of the individual. For metric units, use weight in kilograms, and for imperial units, use weight in pounds. |
body_fat | int | Yes | The body fat percentage of the individual. |
unit | string | Yes | The unit of measurement for height and weight. Possible values are "metric" (default) and "imperial". |
format | string | Optional | The format of the response. Possible values are "yes" (default) or "no". If "yes," the response values will be formatted as kg/m² or lb/m² based on the unit of calculation. If "no," the response values will be provided without formatting. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/ffmi" querystring = {"sex":"male","height":"170","weight":"60","body_fat":"15","unit":"metric","format":"yes"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "FFMI": "17.65 kg/m²", "Fat-free mass": "51.0 kg", "Normalized FFMI": "18.26 kg/m²", "Sex": "male", "Total body fat": "9.0 kg", "Unit": "metric" }
Adjusted Body Weight (AjBW)
These endpoints calculate the Adjusted Body Weight (AjBW) and Ideal Body Weight (IBW) using the Robinson's formula.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender of the person. Allowed values: male, female. |
height | int | Yes | The height of the person in centimeters. |
weight | int | Yes | The weight of the person in kilograms. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/ajbw" querystring = {"sex":"male","height":"170","weight":"70"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "AjBW": "67.1 kg", "Height": 170, "IBW (Robinson)": "65.17 kg", "Sex": "male", "Weight": 70 }
Body Adiposity Index (BAI)
The Body Adiposity Index (BAI) calculator estimates body fat percentage based on hip circumference and height.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender of the person. Allowed values: male, female. |
age | int | Yes | Age of the individual in years. |
height | decimal | Yes | The height of the person in meters. |
hip | int | Yes | Hip circumference in centimeters. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bai" querystring = {"sex":"male","age":"36","hip":"80","height":"1.7"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Adiposity Classification": "Healthy", "Age": "36 Yrs", "BAI": "18.09 %", "Height": "1.7 M", "Hip Circumference": "80.0 CM", "Sex": "male" }
Body Frame Size Index (BFSI)
The Body Frame Size Index (BFSI) Calculator calculates the Body Frame Size Index for individuals based on their sex, height, and wrist circumference. The BFSI can then be used to classify the individual's body frame size as small, medium, or large.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sex | string | Yes | The gender of the person. Allowed values: male, female. |
height | int | Yes | Height of the individual in centimeters. |
wrist | int | Yes | Wrist circumference of the individual in centimeters. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bfsi" querystring = {"sex":"male","height":"170","wrist":"15"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "BFSI":11.33, "Frame Size":"Small frame", "Sex":"male" }
Estimated Average Glucose (eAG)
The Estimated Average Glucose (eAG) endpoints provide a convenient way to estimate the average blood glucose level over a period based on the HbA1c (glycated hemoglobin) value.
The eAG is expressed in milligrams per deciliter (mg/dL), which is a common unit for measuring blood glucose levels.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
hba1c | float | Yes | The HbA1c value as a percentage. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/eag" querystring = {"hba1c":"7.0"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "HbA1c (%)":7.0, "eAG (mg/dL)":154.2 }
Estimated Energy Requirement (EER)
These endpoints calculate the Estimated Energy Requirement (EER) for individuals based on their gender, age, weight, height, and activity level. It supports both GET and POST requests for ease of use.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender of the person. Allowed values: male, female. |
age | int | Yes | Age of the individual in years. Numeric value (float). |
height | int | Yes | The height of the individual in centimeters. |
weight | int | Yes | The weight of the individual in kilograms. |
activity_level | string | Yes | The physical activity level, which can be one of the following: 'sedentary' (for a sedentary lifestyle) 'low active' (for a low active lifestyle) 'active' (for an active lifestyle) 'very active' (for a very active lifestyle) |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/eer" querystring = {"gender":"male","age":"32","height":"170","weight":"60","activity_level":"Active"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Activity Level": "active", "Age": "32 yr", "EER": "2696.94 kcal/day", "Gender": "male", "Height": "170.0 cm", "Weight": "60.0 kg" }
Total Daily Energy Expenditure (TDEE)
The Total Daily Energy Expenditure (TDEE) Calculator endpoints allow you to estimate the number of calories a person burns in a day based on their gender, age, weight, height, activity level, and the choice of BMR (Basal Metabolic Rate) calculation equation.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender of the person. Allowed values: male, female. |
age | int | Yes | Age of the individual in years. Numeric value (float). |
height | int | Yes | The height of the individual in centimeters. |
equation | string | Optional | The equation used to calculate BMR. Choose from the following options (default is 'mifflin'): 'mifflin' (Mifflin-St Jeor Equation) 'harris' (Harris-Benedict Equation) |
weight | int | Yes | The weight of the individual in kilograms. |
activity_level | string | Yes | The activity level of the individual. Choose from the following options: 'sedentary' (little to no exercise) 'light exercise' (light exercise or sports 1-3 days a week) 'moderate exercise' (moderate exercise or sports 3-5 days a week) 'hard exercise' (hard exercise or sports 6-7 days a week) 'physical job' (physically active job or training) 'professional athlete' (professional athlete or highly active job) |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/tdee" querystring = {"gender":"male","age":"30","height":"175","weight":"70","activity_level":"light exercise","equation":"mifflin"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Activity Level": "light exercise", "Age": "30 yr", "BMR": "1648.75 kcal/day", "Gender": "male", "Height": "175.0 cm", "TDEE": "2267.03 kcal/day", "Weight": "70.0 kg" }
BEE and TEE
The Basal Energy Expenditure (BEE) and Total Energy Expenditure (TEE) endpoints allow you to estimate the number of calories a person burns in a day based on their gender, age, weight, height, activity level, stress factors, and body temperature.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
gender | string | Yes | The gender of the person. Allowed values: male, female. |
age | int | Yes | Age of the individual in years. Numeric value (float). |
height | int | Yes | The height of the individual in centimeters. |
temperature | string | Optional | The body temperature of the individual. Choose from the following options (default is 'normal'): 'normal' '>= 100.4°F or 38°C' '>= 102.2°F or 39°C' '>= 104°F or 40°C' '>= 105.8°F or 41°C' |
stress_factor | string | Optional | The stress factor that may affect energy expenditure. Choose from the following options (default is 'none'): 'none' 'solid tumor' 'leukemia/lymphoma' 'inflammatory bowel disease' 'liver disease' 'burns' 'pancreatic disease' 'general surgery' 'transplantation' 'sepsis' 'abscess' 'other infection' |
weight | int | Yes | The weight of the individual in kilograms. |
activity_level | string | Yes | The activity level of the individual. Choose from the following options: 'bed-ridden': Lying, sleeping, eating. 'light or sedentary': Sitting (e.g., office work), watching TV, cooking, personal care, driving a car, light walks, typical household duties. 'moderate to active': Standing, carrying light loads (e.g., waiting tables), longer walks, light aerobic exercises, commuting by bus. 'heavily active': Agricultural work, manual labor, heavy-duty cleaning, strenuous exercises performed on a regular basis. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bee" querystring = {"gender":"male","age":"30","height":"175","weight":"60","activity_level":"light or sedentary","stress_factor":"none","temperature":"normal"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "health-calculator-api.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Activity Level": "light or sedentary", "Age": "30 yr", "BEE": "1563.78 kcal/day", "Gender": "male", "Height": "175.0 cm", "Stress Factor": "none", "TEE": "2392.58 kcal/day", "Temperature": "normal", "Weight": "60.0 kg" }
Daily Vitamin Calculator
Get a breakdown of the recommended daily vitamin intake based on age and biological sex. This endpoint helps determine nutritional needs according to widely accepted health guidelines.
Endpoint
/daily-vitamin
Parameters
Name | Type | Required | Description |
---|---|---|---|
age | number | ✅ Yes | The user's age. Must be greater than 0. Default: 20 . |
sex | string | ✅ Yes | The biological sex of the user. Accepted values: male , female . |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/daily-vitamin" querystring = { "age": "20", "sex": "male" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Geriatric BMI Calculator
This endpoint calculates the Body Mass Index (BMI) specifically for older adults, helping assess nutritional status and potential health risks related to body weight in the elderly.
Endpoint
/geriatric-bmi
Parameters
Name | Type | Required | Description |
---|---|---|---|
weight | number | ✅ Yes | Body weight of the individual. Unit depends on unit parameter. Default: 70 . |
height | number | ✅ Yes | Height of the individual. In centimeters (metric) or inches (imperial). Default: 170 . |
unit | string | ❌ Optional | Measurement system. Accepted values: metric (default), imperial . |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/geriatric-bmi" querystring = { "weight": "70", "height": "170", "unit": "metric" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Karvonen Formula Calculator
Calculate your target heart rate during exercise using the Karvonen formula, which factors in resting heart rate (RHR), age, and desired intensity. This is ideal for designing personalized training plans, especially for fitness and cardiovascular health apps.
Endpoint
/karvonen
Parameters
Name | Type | Required | Description |
---|---|---|---|
age | number | ✅ Yes | Age in years. Used to estimate the Maximum Heart Rate (MHR) if not provided. Default: 25 . |
rhr | number | ✅ Yes | Resting Heart Rate in beats per minute (bpm). Default: 80 . |
mhr | number | ❌ Optional | Maximum Heart Rate (in bpm). If not provided, it will be calculated using the formula: 220 - age . |
intensity | number | ✅ Yes | Desired exercise intensity in percentage. E.g., use 65 for 65%. Default: 65 .Recommended ranges:– Moderate: 50–70 %– Fat burning: 60–80 % |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/karvonen" querystring = { "age": "25", "rhr": "80", "intensity": "65" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Ponderal Index (PI) Calculator
The Ponderal Index (PI) is a variation of the BMI used to assess body composition, especially for tall individuals or when evaluating infants. Unlike BMI, it adjusts for height more precisely, using the cube of height instead of the square.
Endpoint
/ponderal-index
Parameters
Name | Type | Required | Description |
---|---|---|---|
weight | number | ✅ Yes | Body weight of the individual. Use kg for metric or lb for imperial. Default: 70 . |
height | number | ✅ Yes | Height of the individual. Can be in cm, m, or in depending on unit . Default: 165 . |
height_unit | string | ❌ Optional | For metric system: specify "m" (meters) or "cm" (centimeters). |
age_group | string | ❌ Optional | Specify if the user is an "adult" or an "infant" . Default: "adult" . |
unit | string | ❌ Optional | Measurement system: "metric" (default) or "imperial" . |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/ponderal-index" querystring = { "weight": "70", "height": "165", "height_unit": "cm", "age_group": "adult", "unit": "metric" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Lean Body Mass (LBM) Calculator
This endpoint estimates the individual's Lean Body Mass (LBM) — the total weight of everything in the body except fat. Ideal for tracking progress in fitness, bodybuilding, and clinical assessments.
Endpoint
/lbm-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
weight | number | ✅ Yes | Body weight of the individual. Use kg for metric or lbs for imperial. Default: 70 . |
height | number | ✅ Yes | Height of the individual. In cm (metric) or inches (imperial). Default: 172 . |
sex | string | ✅ Yes | Biological sex of the individual. Accepts: "male" or "female" . |
unit | string | ❌ Optional | Measurement system: "metric" (default) or "imperial" . |
Python Requests Example:
import requests
url = "https://health-calculator-api.p.rapidapi.com/lbm-calculator"
querystring = {
"weight": "70",
"height": "172",
"sex": "male",
"unit": "metric"
}
headers = {
"x-rapidapi-host": "health-calculator-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
Body Surface Area (BSA) Calculator
This endpoint estimates the Body Surface Area (BSA) based on the individual's height and weight. BSA is often used in clinical settings for drug dosage calculations and metabolic assessments.
Endpoint
/bsa-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
weight | string | ✅ Yes | Body weight of the individual. Use kg (metric) or lbs (imperial). Example: 80 . |
height | string | ✅ Yes | Height of the individual. In cm (metric) or inches (imperial). Example: 175 . |
unit | string | ❌ Optional | Measurement system: "metric" (default) or "imperial" . |
formula | string | ❌ Optional | The formula used for BSA calculation. Options: "du_bois" (default), "mosteller" , "haycock" , "gehan_george" , "fujimoto" . |
Python Requests Example:
import requests
url = "https://health-calculator-api.p.rapidapi.com/bsa-calculator"
querystring = {
"weight": "80",
"height": "175",
"unit": "metric",
"formula": "du_bois"
}
headers = {
"x-rapidapi-host": "health-calculator-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
Body Roundness Index (BRI) Calculator
This endpoint computes the Body Roundness Index (BRI) — a modern body shape metric that provides insight into abdominal fat and risk of chronic conditions. More advanced than BMI, BRI uses waist and height to estimate health status.
Endpoint
/bri-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
height | number | ✅ Yes | The user's height in cm (metric) or inches (imperial). Default: 170 . |
waist | number | ✅ Yes | The user's waist circumference in cm or inches depending on unit. Default: 80 . |
unit | string | ❌ Optional | Measurement system: "metric" (default) or "imperial" . |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/bri-calculator" querystring = { "height": "170", "waist": "80", "unit": "metric" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Keto Calculator
This endpoint estimates the daily macronutrient breakdown for a personalized ketogenic diet plan, based on user-specific body metrics, goals, and activity levels. Ideal for anyone transitioning into ketosis with precision and balance.
Endpoint
/keto-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ Yes | User’s biological sex: "male" or "female" . |
weight | number | ✅ Yes | Current body weight in kg (metric) or lbs (imperial). |
height | number | ✅ Yes | Height in cm or inches depending on unit. Default: 172 . |
activity_level | string | ❌ No | Physical activity level: sedentary , lightly_active , moderately_active , very_active , extra_active , athlete . Default: sedentary . |
target_weight | number | ❌ No | Desired weight in kg or lbs. Default: equal to weight . |
unit | string | ❌ No | Measurement system: "metric" (default) or "imperial" . |
diet | string | ❌ No | Type of keto plan: "normal" (75% fat, 20% protein, 5% carbs) or "strict" (70% fat, 25% protein, 5% carbs). Default: normal . |
age | number | ✅ Yes | User’s age in years. Default: 30 . |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/keto-calculator" querystring = { "sex": "male", "weight": "80", "height": "172", "activity_level": "sedentary", "target_weight": "80", "unit": "metric", "diet": "normal", "age": "30" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Blood Sugar Converter
Easily convert blood glucose levels between mmol/L and mg/dL — the two most common units used worldwide. Whether you're tracking diabetes metrics or validating lab results, this tool ensures accurate cross-unit conversions instantly.
Endpoint
/blood-sugar-converter
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | number | ✅ Yes | The numeric blood sugar value to be converted. Example: 6 |
unit | string | ✅ Yes | The current unit of the value. Options: "mmol/L" or "mg/dL" |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/blood-sugar-converter" querystring = {"value": "6", "unit": "mmol/L"} headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Diabetes Risk Calculator
Estimate the risk of diabetes based on key health metrics including blood pressure, glucose levels, family history, and demographics. This tool helps in early detection and prevention by analyzing your personalized data.
Endpoint
/diabetes-risk
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | number | ✅ Yes | Gender of the user. Use 1 for female, 0 for male. Default: 0 |
weight | number | ✅ Yes | Weight of the individual in kg (metric) or lbs (imperial). Default: 60 |
height | number | ✅ Yes | Height in cm (metric) or inches (imperial). Default: 170 |
unit | string | Optional | Measurement system: "metric" or "imperial" . Default: "metric" |
ethnicity | number | ✅ Yes | Ethnicity indicator: 1 for Latin American, 0 for non-Hispanic white. Default: 0 |
fasting_glucose | number | ✅ Yes | Fasting glucose level in mg/dL. Default: 110 |
systolic_blood_pressure | number | ✅ Yes | Systolic blood pressure (SBP) in mmHg. Default: 140 |
HDL_cholesterol | number | ✅ Yes | HDL cholesterol level in mg/dL. Default: 45 |
family_history | number | ✅ Yes | Family history of diabetes: 1 if parent or sibling has diabetes, 0 otherwise. Default: 0 |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/diabetes-risk" querystring = { "sex": "0", "weight": "60", "height": "170", "unit": "metric", "ethnicity": "0", "fasting_glucose": "110", "systolic_blood_pressure": "140", "HDL_cholesterol": "45", "family_history": "0" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
LDL Calculator
Calculate your Low-Density Lipoprotein (LDL) cholesterol levels using your Total Cholesterol (TC), HDL, and Triglycerides (TG). LDL is a critical marker for heart health risk assessment.
Endpoint
/ldl-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
TC | number | ✅ Yes | Total Cholesterol in mg/dL. Default: 180 |
HDL | number | ✅ Yes | High-Density Lipoprotein in mg/dL. Default: 60 |
TG | number | ✅ Yes | Triglycerides in mg/dL. Default: 120 |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/ldl-calculator" querystring = { "TC": "180", "HDL": "60", "TG": "120" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
VLDL Calculator
Calculate your Very Low-Density Lipoprotein (VLDL) cholesterol level based on triglycerides concentration. VLDL is a type of lipoprotein associated with the transport of triglycerides and plays a role in cardiovascular health.
Endpoint
/vldl-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
triglycerides | number | ✅ Yes | Triglycerides concentration in mg/dL. Default: 120 |
Python Requests Example:
import requests
url = "https://health-calculator-api.p.rapidapi.com/vldl-calculator"
querystring = {
"triglycerides": "120"
}
headers = {
"x-rapidapi-host": "health-calculator-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
Triglycerides Concentration Converter
Convert triglycerides levels between different units: mg/dL and mmol/L. This helps standardize readings for lab reports or health monitoring.
Endpoint
/triglycerides-units-converter
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | number | ✅ | The triglycerides value to convert. Default: 150 |
from_unit | string | Optional | Unit of the input value. Options: mg/dL , mmol/L |
to_unit | string | Optional | Unit to convert to. Options: mg/dL , mmol/L |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/triglycerides-units-converter" querystring = { "value": "150", "from_unit": "mg/dL", "to_unit": "mmol/L" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Cholesterol Units Converter
Convert cholesterol levels between mg/dL and mmol/L to help interpret lab results consistently worldwide.
Endpoint
/cholesterol-units-converter
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | number | ✅ | The cholesterol value to convert. Default: 150 |
from_unit | string | Optional | Unit of the input value. Options: mg/dL , mmol/L |
to_unit | string | Optional | Unit to convert to. Options: mg/dL , mmol/L |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/cholesterol-units-converter" querystring = { "value": "150", "from_unit": "mg/dL", "to_unit": "mmol/L" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Cholesterol Ratio Calculator
Calculate important cholesterol ratios to assess cardiovascular health risks.
Endpoint
/cholesterol-ratio-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
total_cholesterol | number | ✅ | Total cholesterol level. Default: 210 |
hdl | number | ✅ | High-Density Lipoprotein (HDL) level. Default: 60 |
ldl | number | ✅ | Low-Density Lipoprotein (LDL) level. Default: 120 |
tg | number | ✅ | Triglycerides level. Default: 150 |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/cholesterol-ratio-calculator" querystring = { "total_cholesterol": "210", "hdl": "60", "ldl": "120", "tg": "150" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
QUICKI Calculator
Calculates insulin sensitivity using fasting glucose and insulin levels.
Endpoint
/quicki-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
glucose | number | ✅ | Fasting glucose in mg/dL. Default: 95 |
insulin | number | ✅ | Fasting insulin in mU/L. Default: 12 |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/quicki-calculator" querystring = { "glucose": "95", "insulin": "12" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
HOMA-IR Calculator
The HOMA-IR Calculator estimates insulin resistance, a critical marker for diagnosing and managing metabolic disorders such as type 2 diabetes and metabolic syndrome. Using fasting glucose and fasting insulin levels, this tool provides healthcare professionals and individuals an easy way to assess insulin sensitivity, enabling proactive health management and early intervention.
Endpoint
/homa-ir-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
glucose | number | ✅ | Fasting blood glucose level in mg/dL. Default: 95 mg/dL |
insulin | number | ✅ | Fasting insulin level in mU/L (microunits per liter). Default: 12 mU/L |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/homa-ir-calculator" querystring = { "glucose": "95", "insulin": "12" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
QTc (Corrected QT Interval)
The QTc Calculator accurately estimates the corrected QT interval on an electrocardiogram (ECG), which is vital for assessing the heart’s electrical cycle and identifying risks for arrhythmias and other cardiac conditions. By factoring in the patient’s QT interval, heart rate (or RR interval), and biological sex, this tool provides clinicians and health enthusiasts with precise QTc values essential for cardiovascular risk evaluation and medication safety monitoring.
Endpoint
/qtc-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
qt | number | ✅ | Measured QT interval duration in milliseconds (ms). Default is 400 ms. |
rr | number | ❌ | RR interval duration in seconds (s). Optional if heart_rate is provided. |
heart_rate | number | ❌ | Heart rate in beats per minute (bpm). Optional if rr is provided. Default is 75 bpm. |
sex | string | ❌ | Biological sex of the patient ("male" or "female"). Used to adjust QTc interpretation accuracy. |
Python Requests Example:
import requests
url = "https://health-calculator-api.p.rapidapi.com/qtc-calculator"
querystring = {
"qt": "400",
"heart_rate": "75",
"sex": "male"
}
headers = {
"x-rapidapi-host": "health-calculator-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
Aortic Valve Area (AVA) Calculator
The Aortic Valve Area (AVA) Calculator is a critical tool used in cardiology to evaluate the functional area of the aortic valve. By calculating the valve opening size based on Doppler echocardiography measurements, this calculator aids healthcare professionals in diagnosing and assessing the severity of aortic valve stenosis — a common heart valve disease. Accurate AVA measurement is essential for timely intervention and treatment planning.
Endpoint
/ava-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
lvot | number | ✅ | Left Ventricular Outflow Tract diameter (LVOT) in centimeters (cm). Default: 2 cm. |
vt1 | number | ✅ | Subvalvular Velocity Time Integral (VT1) in centimeters (cm). Default: 20 cm. |
vt2 | number | ✅ | Maximal Velocity Time Integral across the aortic valve (VT2) in centimeters (cm). Default: 40 cm. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/ava-calculator" querystring = { "lvot": "2.0", "vt1": "20.0", "vt2": "40.0" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Ankle-Brachial Index (ABI) Calculator
The Ankle-Brachial Index (ABI) Calculator is an essential cardiovascular health tool used to assess peripheral arterial disease (PAD). ABI is the ratio of the highest systolic blood pressure measured at the ankle to the highest systolic pressure in the arm. This non-invasive test helps detect narrowing or blockages in the arteries of the legs, which can indicate PAD and increased risk for cardiovascular complications. Early detection through ABI supports preventive care and management of vascular health.
Endpoint
/abi-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
arm_pressure | number | ✅ | Highest systolic pressure measured in either arm (mmHg). Default: 120. |
right_ankle_pressure | number | Optional | Highest systolic pressure measured at the right ankle (mmHg). Default: 110. |
left_ankle_pressure | number | Optional | Highest systolic pressure measured at the left ankle (mmHg). Default: 90. |
Python Requests Example:
import requests
url = "https://health-calculator-api.p.rapidapi.com/abi-calculator"
querystring = {
"arm_pressure": "120",
"right_ankle_pressure": "110",
"left_ankle_pressure": "90"
}
headers = {
"x-rapidapi-host": "health-calculator-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
6-Minute Walk Test Calculator
The 6-Minute Walk Test Calculator evaluates an individual’s functional exercise capacity by measuring the distance they can walk in six minutes. Widely used in clinical and rehabilitation settings, the 6MWT helps assess cardiovascular and respiratory endurance, especially for patients with heart or lung diseases, and can monitor progress over time. This calculator estimates the expected performance based on age, sex, height, weight, and the actual distance walked, supporting health professionals in evaluating patient fitness and recovery.
Endpoint
/6mwt-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ | Biological sex of the individual, either "male" or "female". |
age | number | ✅ | Age of the individual in years. Default is 45. |
height | number | ✅ | Height of the individual (cm if metric, inches if imperial). |
weight | number | ✅ | Weight of the individual (kg if metric, lbs if imperial). |
walked_distance | number | ✅ | Actual distance walked in meters during the 6-minute walk test. |
unit | string | ✅ | Measurement system: "metric" or "imperial". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/6mwt-calculator" querystring = { "sex": "female", "age": "45", "height": "165", "weight": "70", "walked_distance": "630", "unit": "metric" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Simple Sugar Intake Calculator
The Simple Sugar Intake Calculator estimates the recommended daily intake of simple sugars based on your biological sex, age, height, weight, activity level, and measurement system. Excessive consumption of simple sugars can impact metabolic health, so understanding your ideal intake helps promote balanced nutrition and prevent health issues like obesity, diabetes, and heart disease. This calculator supports personalized dietary guidance by factoring in physical activity, making it ideal for health-conscious individuals and professionals advising clients on nutrition.
Endpoint
/ss-intake-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ | Biological sex of the individual — either "male" or "female". |
age | number | ✅ | Age of the individual in years. Default is 26. |
height | number | ✅ | Height of the individual in centimeters (metric) or inches (imperial). Default is 170 cm. |
weight | number | ✅ | Weight of the individual in kilograms (metric) or pounds (imperial). Default is 70 kg. |
unit | string | ✅ | Measurement system used: "metric" or "imperial". |
activity_level | string | ✅ | Physical activity frequency: "little/no exercise", "1-2 times/week", "2-3 times/week", "3-5 times/week", "6-7 times/week", or "pro athlete". |
Python Requests Example:
import requests
url = "https://health-calculator-api.p.rapidapi.com/ss-intake-calculator"
querystring = {
"sex": "male",
"age": "26",
"height": "170",
"weight": "70",
"unit": "metric",
"activity_level": "3-5 times/week"
}
headers = {
"x-rapidapi-host": "health-calculator-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
Fiber Intake Calculator
The Fiber Intake Calculator provides personalized daily dietary fiber recommendations based on your biological sex, age, height, weight, activity level, and measurement system. Adequate fiber intake is essential for digestive health, blood sugar regulation, heart health, and maintaining a healthy weight. This calculator tailors fiber intake advice to individual lifestyle and physical activity, helping users and healthcare professionals optimize nutrition plans and promote long-term wellness.
Endpoint
/fiber-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ | Biological sex of the individual — either "male" or "female". |
age | number | ✅ | Age of the individual in years. Default is 25. |
height | number | ✅ | Height of the individual in centimeters (metric) or inches (imperial). Default is 180 cm. |
weight | number | ✅ | Weight of the individual in kilograms (metric) or pounds (imperial). Default is 75 kg. |
unit | string | ✅ | Measurement system used: "metric" or "imperial". |
activity_level | string | ✅ | Physical activity frequency: "little/no exercise", "1-2 times/week", "2-3 times/week", "3-5 times/week", "6-7 times/week", or "pro athlete". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/fiber-calculator" querystring = { "sex": "male", "age": "25", "height": "180", "weight": "75", "unit": "metric", "activity_level": "2-3 times/week" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Carbohydrate (Carb) Intake Calculator
The Carb Calculator API delivers customized daily carbohydrate intake recommendations tailored to your biological sex, age, height, weight, activity level, and preferred measurement system. Carbohydrates are a vital source of energy, especially for active individuals, and managing carb intake helps optimize performance, maintain healthy blood sugar levels, and support overall metabolic health. This calculator is ideal for individuals, nutritionists, and fitness coaches aiming to personalize diet plans for effective energy management and healthy living.
Endpoint
/carbs-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ | Biological sex of the user — "male" or "female". |
age | number | ✅ | Age of the user in years. Default is 25. |
height | number | ✅ | Height in centimeters (metric) or inches (imperial). Default is 180 cm. |
weight | number | ✅ | Weight in kilograms (metric) or pounds (imperial). Default is 75 kg. |
unit | string | ✅ | Measurement system used: "metric" or "imperial". |
activity_level | string | ✅ | Physical activity frequency: "little/no exercise", "1-2 times/week", "2-3 times/week", "3-5 times/week", "6-7 times/week", or "pro athlete". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/carbs-calculator" querystring = { "sex": "male", "age": "25", "height": "180", "weight": "75", "unit": "metric", "activity_level": "3-5 times/week" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Maintenance Calorie Calculator
The Maintenance Calorie Calculator API provides accurate estimates of the daily caloric intake required to maintain your current weight based on your biological sex, age, height, weight, activity level, and preferred measurement system. This tool is essential for individuals focused on weight management, fitness trainers designing diet plans, and health enthusiasts wanting to balance energy intake with energy expenditure. By understanding your maintenance calories, you can effectively plan for weight loss, gain, or maintenance with precision.
Endpoint
/maintenance-calorie
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ | Biological sex of the user — "male" or "female". |
age | number | ✅ | Age of the user in years. Default is 26. |
height | number | ✅ | Height in centimeters (metric) or inches (imperial). Default is 170 cm. |
weight | number | ✅ | Weight in kilograms (metric) or pounds (imperial). Default is 75 kg. |
unit | string | ✅ | Measurement system used: "metric" or "imperial". |
activity_level | string | ✅ | User’s physical activity frequency: "little/no exercise", "1-2 times/week", "2-3 times/week", "3-5 times/week", "6-7 times/week", or "pro athlete". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/maintenance-calorie" querystring = { "sex": "female", "age": "26", "height": "170", "weight": "75", "unit": "metric", "activity_level": "2-3 times/week" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Meal Calorie Calculator
The Meal Calorie Calculator API estimates the total daily calorie needs divided by the number of meals you consume per day, tailored to your biological sex, age, height, weight, activity level, and measurement preferences. This calculator is perfect for meal planning, dietitians, fitness enthusiasts, and anyone looking to balance calorie intake throughout the day for better energy management and weight control. By knowing the calorie allocation per meal, users can optimize nutrition timing, portion sizes, and maintain steady energy levels.
Endpoint
/meal-calorie-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | string | ✅ | Biological sex of the user — "male" or "female". |
age | number | ✅ | Age of the user in years. Default is 25. |
height | number | ✅ | Height in centimeters (metric) or inches (imperial). Default is 175 cm. |
weight | number | ✅ | Weight in kilograms (metric) or pounds (imperial). Default is 75 kg. |
unit | string | Optional | Measurement system: "metric" (default) or "imperial". |
activity_level | string | ✅ | User’s activity level: options include "little/no exercise", "1-2 times/week", "2-3 times/week", "3-4 times/week", "4-5 times/week", "5-6 times/week", "6-7 times/week", and "pro athlete". |
meals_per_day | number | Optional | Number of meals consumed daily (3, 4, or 5). Default is 3. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/meal-calorie-calculator" querystring = { "sex": "male", "age": 25, "height": 175, "weight": 75, "unit": "metric", "activity_level": "5-6 times/week", "meals_per_day": 3 } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Net Carbs Calculator
The Net Carbs Calculator API helps you determine the net carbohydrate content of your food by subtracting fiber and sugar alcohols from total carbohydrates. This is essential for individuals tracking their carbohydrate intake for diets such as keto, low-carb, or diabetic meal planning. The calculator also adjusts calculations based on regional differences in nutrition labeling standards, specifically for users in the USA and Canada. Knowing net carbs can help maintain blood sugar control and support weight management goals effectively.
Endpoint
/net-carbs-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
total_carbohydrates | Number | ✅ | Total carbohydrate content in grams. Default is 30. |
fiber | Number | ✅ | Amount of dietary fiber in grams. Default is 5. |
sugar_alcohol | Number | ✅ | Amount of sugar alcohols in grams. Default is 10. |
in_usa_ca | String | ✅ | Set to "yes" if the user is in the USA or Canada (affects net carb calculation), otherwise "no". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/net-carbs-calculator" querystring = { "total_carbohydrates": "30", "fiber": "5", "sugar_alcohol": "10", "in_usa_ca": "yes" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Protein Calculator
The Protein Calculator API estimates the daily protein intake requirements tailored to your biological sex, age, height, weight, and physical activity level. This tool is invaluable for athletes, fitness enthusiasts, and anyone focused on health and nutrition, helping to optimize muscle repair, growth, and overall wellness. Whether you follow a metric or imperial measurement system, this calculator provides personalized protein recommendations based on scientifically supported activity categories—from sedentary lifestyles to pro athletes.
Endpoint
/protein-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | String | ✅ | Biological sex of the user: "male" or "female". |
age | Number | ✅ | Age in years. Default is 30. |
height | Number | ✅ | Height of the individual in centimeters or inches (based on the unit parameter). Default is 170. |
weight | Number | ✅ | Weight of the individual in kilograms or pounds (based on the unit parameter). Default is 60. |
unit | String | Optional | Measurement system used: "metric" or "imperial". Default is metric. |
activity_level | String | ✅ | Physical activity frequency: options include little/no exercise, 1-2 times/week, 2-3 times/week, 3-5 times/week, 6-7 times/week, pro athlete. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/protein-calculator" querystring = { "sex": "male", "age": "30", "height": "170", "weight": "60", "unit": "metric", "activity_level": "1-2 times/week" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Katch-McArdle Calculator
The Katch-McArdle Calculator API estimates your Basal Metabolic Rate (BMR) using the Katch-McArdle formula, which factors in lean body mass to provide a precise measurement of the calories your body burns at rest. This method is especially effective for those who know their body fat percentage or want a metabolism estimate based on muscle mass rather than total body weight alone. Ideal for fitness enthusiasts, athletes, and anyone focused on tailored nutrition and weight management, this calculator supports both metric and imperial units.
Endpoint
/katch-mcardle-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | String | ✅ | Biological sex of the user: "male" or "female". |
age | Number | ✅ | Age in years (must be greater than 0). Default is 30. |
height | Number | ✅ | Height of the user. In cm (metric) or inches (imperial). Default is 172. |
weight | Number | ✅ | Weight of the user. In kg (metric) or lbs (imperial). Default is 65. |
unit | String | Optional | Measurement system: "metric" or "imperial". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/katch-mcardle-calculator" querystring = { "sex": "male", "age": "30", "height": "172", "weight": "65", "unit": "metric" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Resting Metabolic Rate (RMR) Calculator
The Resting Metabolic Rate (RMR) Calculator API provides an accurate estimate of the number of calories your body burns while at rest, simply maintaining vital bodily functions such as breathing and circulation. This metric is essential for understanding your baseline energy expenditure and serves as a foundational component in designing personalized nutrition, weight management, and fitness plans.
The API accepts input in both metric and imperial units and calculates RMR based on key physiological parameters like sex, age, height, and weight, making it ideal for healthcare professionals, fitness coaches, and health-conscious individuals aiming for precision in metabolic assessments.
Endpoint
/rmr-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | String | ✅ | Biological sex of the individual: "male" or "female". |
age | Number | ✅ | Age in years. Default is 38. |
height | Number | ✅ | Height in cm (metric) or inches (imperial). Default is 67 (inches). |
weight | Number | ✅ | Weight in kg (metric) or lbs (imperial). Default is 145 (lbs). |
unit | String | Optional | Measurement system used: "metric" or "imperial". |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/rmr-calculator" querystring = { "sex": "female", "age": "38", "height": "67", "weight": "145", "unit": "imperial" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Sodium in Salt Calculator
The Sodium in Salt Calculator API accurately estimates the amount of sodium present in a specified quantity of various types of salt. This tool is essential for nutritionists, dietitians, healthcare providers, and individuals monitoring sodium intake for health reasons such as managing hypertension, cardiovascular health, or dietary planning.
By accepting the type of salt and the amount in teaspoons, the API provides precise sodium content values based on the salt’s nature—whether it is iodized table salt, kosher salt, sea salt, Himalayan salt, or potassium salt—helping users maintain healthier dietary choices with accurate nutritional data.
Endpoint
/sodium-in-salt
Parameters
Name | Type | Required | Description |
---|---|---|---|
type_of_salt | String | ✅ | The salt variety to calculate sodium for. Accepted values: iodized_table_salt_fine, kosher_salt_coarse, sea_salt_fine, sea_salt_coarse, himalayan_salt, potassium_salt. |
amount_tsp | Number | ✅ | The amount of salt measured in teaspoons (tsp). Must be a positive decimal value. Default is 0.5 tsp. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/sodium-in-salt" querystring = { "type_of_salt": "iodized_table_salt_fine", "amount_tsp": "0.5" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Fat Intake Calculator
The Fat Intake Calculator API helps users determine their ideal daily fat consumption based on personal health metrics and activity levels. This tool is invaluable for nutritionists, fitness coaches, diet planners, and individuals focused on managing their dietary fat intake to support weight management, heart health, or athletic performance.
By inputting biological sex, age, height, weight, measurement units, and physical activity frequency, the API calculates recommended fat intake tailored to each individual’s lifestyle and physiological needs. This personalized approach helps users maintain balanced nutrition aligned with their fitness goals and health requirements.
Endpoint
/fat-intake-calculator
Parameters
Name | Type | Required | Description |
---|---|---|---|
sex | String | ✅ | Biological sex of the user. Accepts "male" or "female" . |
age | Number | ✅ | Age of the user in years. Default is 26. |
height | Number | ✅ | Height of the user. In centimeters if metric system, or inches if imperial. Default is 170 cm. |
weight | Number | ✅ | Weight of the user. In kilograms if metric system, or pounds if imperial. Default is 65 kg. |
unit | String | ✅ | Measurement system used: "metric" or "imperial" . |
activity_level | String | ✅ | User’s physical activity frequency. Options include: little/no exercise , 1-2 times/week , 2-3 times/week , 3-5 times/week , 6-7 times/week , pro athlete . |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/fat-intake-calculator" querystring = { "sex": "female", "age": "26", "height": "170", "weight": "65", "unit": "metric", "activity_level": "3-5 times/week" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Weight Watchers Points Calculator
The Weight Watchers Points Calculator API computes the Weight Watchers (WW) SmartPoints for a given food item based on its nutritional content. This tool is essential for users following the Weight Watchers program who want to track their daily points intake to manage weight effectively.
By providing calories, protein, sugar, and saturated fat values, the API calculates the corresponding WW points, helping users make informed food choices aligned with their diet goals. It supports nutrition apps, wellness platforms, and health coaches aiming to assist clients in tracking and controlling their food consumption through the WW point system.
Endpoint
/weight-watchers-points
Parameters
Name | Type | Required | Description |
---|---|---|---|
calories | Number | ✅ | Total calories (kcal) in the food item. Default is 800 kcal. |
protein | Number | ✅ | Protein content in grams. Default is 5 g. |
sugar | Number | ✅ | Sugar content in grams. Default is 8 g. |
saturated_fat | Number | ✅ | Saturated fat content in grams. Default is 2 g. |
Python Requests Example:
import requests url = "https://health-calculator-api.p.rapidapi.com/weight-watchers-points" querystring = { "calories": "800", "protein": "5", "sugar": "8", "saturated_fat": "2" } headers = { "x-rapidapi-host": "health-calculator-api.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Subscribe on RapidAPI
Head over to our API listing on RapidAPI and click the “Subscribe” button. Choose a plan that fits your needs — from free testing to full-scale production.
Get Your API Key
Once subscribed, grab your unique X-RapidAPI-Key from the "Endpoints" tab. You’ll use this key to authenticate all your requests securely.
Start Making Requests
Use the provided code snippets or integrate directly into your app. Send requests to any available endpoint and enjoy seamless access to our powerful API features.
