The Health Metrics API provides a detailed and accurate assessment of health and body composition metrics based on user input. By entering basic parameters such as weight, height, age, gender, waist and hip measurements, users can receive a comprehensive analysis of various health metrics. This includes measurements such as weight in kilograms and pounds, height in meters, centimeters, inches and foot-inches, as well as derived metrics such as BMI (Body Mass Index), Prime and ideal weight range.
The API calculates BMI to provide information on body fat and potential health risks, and includes a status categorization, such as "Overweight," along with associated health risks, such as heart disease or diabetes. The Prime value provides a comparison of the user's weight to the upper limit of their ideal weight range. The ideal weight range itself helps users understand the target weight for their height.
Overall, the Health Metrics API is a valuable tool for deriving a wide range of health metrics from basic data, enabling users to make informed decisions about their health and well-being. Its detailed calculations and comprehensive data provide a solid foundation for health assessments, fitness planning and medical evaluations.
It will receive a parameter and provide you with a JSON.
Besides the number of API calls, there is no other limitation.
To use this endpoint you must indicate a weight, height, gender, age, waist and hip to calculate the health metrics.
BMI Calculator - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"weight":{"kg":"85","lb":"187.39"},"height":{"m":"1.7","cm":"170","in":"66.93","ft-in":"5-6.9"},"bmi":{"value":"29.41","status":"Overweight","risk":"Moderate risk of developing heart disease, high blood pressure, stroke, diabetes","prime":"1.28"},"ideal_weight":"60.2kg to 73.6kg","surface_area":"1.97","ponderal_index":"17.3","bmr":{"value":"1797.5"},"whr":{"value":"0.85","status":"Low Risk"},"whtr":{"value":"50.8","status":"Healthy, Normal, Attractive Weight"},"sex":"m","age":"24","waist":"34","hip":"40"}
curl --location --request POST 'https://zylalabs.com/api/4416/health+metrics+api/5426/bmi+calculator' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"weight": {
"value": "85.00",
"unit": "kg"
},
"height": {
"value": "170.00",
"unit": "cm"
},
"sex": "m",
"age": "24",
"waist": "34.00",
"hip": "40.00"
}'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API users must indicate a weight, height, gender, age, waist and hip.
The Health Metrics API provides detailed health and body composition metrics based on user-entered data, such as weight, height, age, gender, waist and hip measurements. It provides various health metrics such as BMI, BMR, WHR, etc.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.
This API is essential as it facilitates access to a wide range of health and body composition metrics accurately and efficiently.
The BMI Calculator endpoint returns a JSON object containing various health metrics, including weight (in kg and lb), height (in m, cm, in, and ft-in), BMI value and status, ideal weight range, BMR, WHR, and additional health indicators.
Key fields in the response include "weight," "height," "bmi," "ideal_weight," "bmr," "whr," and "sex." Each field provides specific health metrics derived from user input.
The response data is structured as a JSON object with nested fields. For example, "weight" and "height" are objects containing multiple units, while "bmi" includes value, status, and associated health risks.
Users can input parameters such as weight, height, gender, age, waist, and hip measurements. These parameters are essential for accurate health metric calculations.
Users can customize requests by providing specific values for weight, height, age, gender, waist, and hip measurements, allowing for tailored health metric calculations based on individual profiles.
The "bmi" field indicates body mass index and its status (e.g., "Overweight"), while "ideal_weight" provides a target weight range. "bmr" indicates basal metabolic rate, and "whr" assesses waist-to-hip ratio risk levels.
Typical use cases include personal health assessments, fitness planning, nutrition and diet customization, and medical evaluations, enabling users to track and improve their health metrics effectively.
Data accuracy is maintained through standardized calculations based on established health metrics formulas, ensuring reliable outputs for BMI, BMR, and other health indicators derived from user inputs.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
240ms
Service Level:
100%
Response Time:
1,757ms
Service Level:
100%
Response Time:
171ms
Service Level:
100%
Response Time:
224ms
Service Level:
100%
Response Time:
247ms
Service Level:
100%
Response Time:
1,003ms
Service Level:
100%
Response Time:
161ms
Service Level:
100%
Response Time:
70ms
Service Level:
100%
Response Time:
329ms
Service Level:
100%
Response Time:
502ms
Service Level:
100%
Response Time:
12,728ms
Service Level:
100%
Response Time:
1,831ms
Service Level:
100%
Response Time:
10,199ms
Service Level:
100%
Response Time:
1,720ms
Service Level:
100%
Response Time:
506ms
Service Level:
100%
Response Time:
5,710ms
Service Level:
100%
Response Time:
8,671ms
Service Level:
100%
Response Time:
4,612ms
Service Level:
100%
Response Time:
147ms
Service Level:
100%
Response Time:
2,202ms