{"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"
}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Health Metrics API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
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 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.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund