Free Health Calculator API

Welcome to the Health Calculator API, a comprehensive suite of endpoints designed to provide a wide range of health-related calculations. This API is an ideal tool for developers, businesses, and hobbyists alike, enabling seamless integration of health metrics into applications, websites, and various other projects.

The primary purpose of this API is to offer a versatile, reliable solution for calculating a multitude of health indexes and metrics. With endpoints addressing everything from Basal Metabolic Rate (BMR) to Target Heart Rate (THR), the API aims to be a one-stop resource for all health-related computational needs. This makes it invaluable for anyone looking to enhance their digital platforms with accurate health data.

Table of Contents

Features

Features

  • Diverse Endpoints: The API provides endpoints for a wide range of health calculations, including but not limited to Body Mass Index (BMI), Basal Metabolic Rate (BMR), and Daily Caloric Needs (DCN).
  • Machine Learning Integration: The MediMate AI Model offers cutting-edge predictions for health metrics like Stroke Prediction and Caloric Burn Estimates, leveraging advanced machine learning algorithms.
  • User-Friendly Methods: Whether you prefer using GET or POST requests, this API supports both methods across various endpoints, offering flexibility in how you retrieve or send information.
  • Multiple Measurement Units: The API facilitates calculations in both metric and imperial units, making it versatile and easy to use across different regions and user preferences.
  • Comprehensive Documentation: Each endpoint is accompanied by detailed descriptions and usage guidelines, ensuring developers can easily integrate and utilize the API’s features.

Applications

Use Cases

  • Fitness Applications: Developers can integrate endpoints like BMI, BMR, and Daily Caloric Needs into fitness apps to provide users with personalized health metrics.
  • Health Monitoring Systems: Businesses can utilize the Estimated Average Glucose (eAG) and MediMate AI models to offer real-time health monitoring and predictions, enhancing user engagement and satisfaction.
  • Nutritional Planning: Nutritionists and dietitians can leverage endpoints for Macronutrient Distribution and Daily Water Intake to create tailored diet plans for clients.
  • Sports Training: Coaches and athletes can benefit from endpoints like Target Heart Rate and Total Daily Energy Expenditure (TDEE) to optimize training routines and monitor performance.
  • Research and Analysis: Health researchers can use a variety of endpoints to gather and analyze data for studies related to obesity, dietary habits, and metabolic conditions.

Health Calculator API Endpoints List

Estimated Average Glucose(eAG)

  • POSTCalculate eAG (POST):
    This endpoint uses a POST request with a JSON payload to calculate the eAG value based on the provided HbA1c percentage.
  • GETCalculate eAG (GET):
    Calculate the eAG value based on the provided HbA1c percentage using a GET request.

HCA – MediMate AI Models

  • POSTPredict Calories Burned:
    Receive predictions on the number of calories burned during exercise in kilocalories (kcal).
  • POSTStroke Prediction Endpoint:
    Utilize a machine learning model named “MediMate” to predict the likelihood of an individual having a stroke based on health-related features.

Basal Metabolic Rate (BMR)

  • GETBasal Metabolic Rate (BMR):
    Calculate the number of calories needed to maintain basic bodily functions at rest using age, weight, height, and gender parameters.
  • POSTBasal Metabolic Rate (BMR):
    Estimate the Basal Metabolic Rate (BMR) with age, weight, height, and gender parameters using a POST request.

Daily Caloric Needs (DCN)

  • POSTDaily Caloric Needs:
    Efficiently calculate daily caloric needs based on age, weight, height, activity level, and goal with the option to choose between different estimation formulas.
  • GETDaily Caloric Needs:
    Determine daily caloric needs based on age, weight, height, activity level, and goal, offering various calculation methods.

Macronutrients Distribution

  • POSTMacronutrient Distribution:
    Calculate the optimal distribution of carbohydrates, proteins, and fats based on activity level, body composition goals, and dietary preferences.
  • GETMacronutrient Distribution:
    Estimate the ideal distribution of macronutrients considering activity level, body composition goals, and dietary preferences.

Daily Water Intake (DWI)

  • POSTDaily Water Intake:
    Calculate daily recommended water intake considering weight, activity level, and climate, with the flexibility to choose the unit of measurement.
  • GETDaily Water Intake:
    Estimate the daily recommended water intake based on weight, activity level, and climate, with the choice of measurement unit.

Ideal Body Weight (IBW)

  • POSTIdeal Body Weight:
    Calculate the ideal weight range based on height, body frame size, and gender using different formulas and methods.
  • GETIdeal Body Weight:
    Determine the ideal weight range considering height, body frame size, and gender with various calculation approaches.

Body Frame Size Index (BFSI)

  • POSTBody Frame Size Index (BFSI):
    Calculate the Body Frame Size Index using either a JSON payload or query parameters.
  • GETBody Frame Size Index (BFSI):
    Determine the Body Frame Size Index with the option to utilize a JSON payload or query parameters.

Estimated Energy Requirement

  • POSTEstimated Energy Requirement (POST):
    Send a POST request with the necessary parameters as a JSON object to calculate the estimated energy requirement.
  • GETEstimated Energy Requirement (GET):
    Calculate the estimated energy requirement (EER) for maintaining energy balance in healthy, normal-weight individuals.

Body Adiposity Index (BAI)

  • POSTBody Adiposity Index (BAI):
    Determine Body Adiposity Index using either a JSON payload or query parameters.
  • GETBody Adiposity Index (BAI):
    Calculate Body Adiposity Index with the option to use a JSON payload or query parameters.

Target Heart Rate (THR)

  • POSTTarget Heart Rate:
    This endpoint calculates the target heart rate range for cardiovascular exercise based on user information.
  • GETTarget Heart Rate:
    Get the target heart rate range for exercise based on user data.

Total Daily Energy Expenditure

  • POSTCalculate TDEE (POST):
    Calculate TDEE using JSON data in the request.
  • GETCalculate TDEE (GET):
    Get the Total Daily Energy Expenditure (TDEE) using query parameters.

BEE and TEE

  • POSTCalculate BEE and TEE (POST):
    Calculate Basal Energy Expenditure (BEE) and Total Energy Expenditure (TEE) with JSON data.
  • GETCalculate BEE and TEE (GET):
    Get Basal Energy Expenditure (BEE) and Total Energy Expenditure (TEE) using query parameters.

Micronutrient Requirements

  • GETMicronutrient Requirements (GET):
    Calculate daily micronutrient requirements with query parameters.
  • POSTMicronutrient Requirements (POST):
    Calculate daily micronutrient requirements with JSON data in the request.

US Army Body Fat

  • POSTUS Army Body Fat:
    Calculate body fat percentage and compliance with U.S. Army standards.
  • GETUS Army Body Fat:
    Calculate body fat percentage and U.S. Army standards compliance.

US Navy Body Fat

  • POSTNavy Body Fat:
    Calculate body fat percentage and compliance with U.S. Navy standards.
  • GETNavy Body Fat:
    Calculate body fat percentage and U.S. Navy standards compliance.

The FFMI (Fat-Free Mass Index)

  • POSTFat-Free Mass Index (FFMI) – Batch:
    Calculate the FFMI score representing muscle mass in relation to height and weight.
  • POSTFat-Free Mass Index (FFMI):
    Calculate FFMI score indicating muscle mass proportionally to height and weight.
  • GETFat-Free Mass Index (FFMI):
    Calculate FFMI score for muscle mass in correlation to height and weight.

A Body Shape Index (ABSI)

  • POSTA Body Shape Index (ABSI) – Batch:
    Calculate A Body Shape Index (ABSI), z-score, and mortality risk based on input.
  • POSTA Body Shape Index (ABSI):
    Calculate A Body Shape Index (ABSI), z-score, and mortality risk using provided data.
  • GETA Body Shape Index (ABSI):
    Calculate A Body Shape Index (ABSI), z-score, and mortality risk with user parameters.

Body Fat Percentage (BFP)

  • POSTBodyFat – Imperial (POST):
    Estimate BMI and calculate body fat percentage using imperial units with provided gender, age, height in inches, and weight in pounds.
  • POSTBodyFat (POST):
    Calculate BMI and estimate body fat percentage based on gender, age, height, and weight with support for metric and imperial units.
  • GETBodyFat:
    Calculate body fat percentage based on gender, age, height, and weight parameters.
  • GETBodyFat – Imperial:
    Calculate body fat percentage in imperial units based on gender, age, height, and weight parameters.

Body Mass Index (BMI)

  • GETBody Mass Index:
    Calculate BMI based on provided height and weight parameters.
  • GETBMI – Imperial:
    Calculate BMI in imperial units based on provided height and weight parameters.
  • POSTBMI – Imperial (POST):
    Calculate BMI and weight status from provided height and weight in imperial units.
  • POSTBody Mass Index (POST):
    Calculate BMI and weight status based on provided height and weight.

Adjusted Body Weight (AjBW)

  • POSTAdjusted Body Weight (AjBW):
    Calculate AjBW and IBW with provided sex, height, and weight using a JSON payload.
  • POSTAdjusted Body Weight (AjBW) – Imperial:
    Calculate AjBW and IBW in the imperial system with provided sex, height, and weight using a JSON payload.
  • GETAdjusted Body Weight (AjBW) – Imperial:
    Calculate AjBW and IBW in the imperial system based on provided sex, height, and weight.
  • GETAdjusted Body Weight (AjBW):
    Calculate AjBW and IBW based on provided sex, height, and weight parameters.

Implementing the Free Health Calculator API

To begin with the Free Health Calculator API, subscribe to the Free Tier. Review the API documentation for detailed usage instructions.

End Notes

The Health Calculator API stands out as a versatile and comprehensive solution for integrating health metrics into digital platforms. Its broad range of endpoints and flexible methods make it suitable for a variety of applications, from fitness and nutrition to healthcare and research.

The inclusion of cutting-edge machine learning models further enhances its capabilities, enabling accurate predictions and personalized health recommendations. Whether you’re a developer, business, or hobbyist, this API provides all the tools you need to offer valuable health-related insights to your users.