The BMI Calculator Data Capture API is a tool designed to automatically calculate Body Mass Index (BMI) based on the height and weight provided by the user. This API returns not only the BMI value, but also additional relevant information, such as the associated risk level and recommendations based on internationally recognized health standards, such as those of the World Health Organization.
When input parameters such as height and weight are sent, the API processes the data and generates an accurate BMI result. For example, with a height of 170 cm and a weight of 70 kg, the API calculates a BMI of approximately 24.2, classified as “normal weight” with “low risk” of weight-related diseases. In addition, the API provides an interpretive summary of the result and suggestions on how to maintain a healthy lifestyle.
The main advantage of this API is that it automates a process that would otherwise require manual calculations and reference table lookups. This makes it useful for health app developers, wellness platforms, clinics, and online health monitoring services. The information generated can be integrated into dashboards, mobile applications, or medical tracking systems, allowing users to obtain clear and quick information about their health status.
In summary, the BMI Calculator Data Capture API provides an efficient and accessible method for calculating body mass index, assessing associated risks, and offering personalized health recommendations, making it a valuable tool for applications and services focused on wellness and prevention.
Calculates body mass index (BMI), returns risk, summary, and health recommendations.
BMI Calculation - Endpoint Features
| Object | Description |
|---|---|
weight |
[Required] Enter a weight |
height |
[Required] Enter a height |
unit |
[Required] Enter a unit (metric or imperial) |
{"status":"ok","error":null,"data":{"height":"170 cm","weight":"70 kg","bmi":24.221453287197235,"risk":"Low risk","summary":"This weight is normal and you are healthy.","recommendation":"A BMI between 18.5 and 24.9 falls within the 'normal' weight range according to the World Health Organization. This range is associated with the lowest health risk for conditions such as heart disease, diabetes, and certain cancers. However, it's important to note that BMI is not a perfect measure as it does not account for muscle mass, bone density, overall body composition, and racial and sex differences. Therefore, while it's a useful starting point, it should not be the only measure of one's health."}}
curl --location --request GET 'https://zylalabs.com/api/10943/bmi+calculator+data+capture+api/20656/bmi+calculation?weight=70&height=170&unit=metric' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The BMI Calculation endpoint returns data including the calculated BMI value, associated risk level, a summary of health status, and personalized health recommendations based on the user's height and weight.
The key fields in the response data include "height," "weight," "bmi," "risk," "summary," and "recommendation," providing a comprehensive overview of the user's health status.
The BMI Calculation endpoint accepts parameters for "height" (in cm) and "weight" (in kg). Users must provide these values to receive an accurate BMI calculation.
The response data is structured in a JSON format with a "status" field indicating success, an "error" field for any issues, and a "data" object containing the BMI calculation results and recommendations.
Typical use cases include integrating BMI calculations into health apps, wellness platforms, and clinics, allowing users to monitor their health status and receive personalized recommendations.
Data accuracy is maintained by using internationally recognized health standards, such as those from the World Health Organization, ensuring that the BMI calculations and recommendations are reliable.
Users can expect consistent data patterns, such as a BMI value within a specific range (e.g., underweight, normal, overweight, obese) along with corresponding risk levels and health recommendations based on the calculated BMI.
Users can utilize the returned data by interpreting the BMI value and risk level to assess their health, and by following the recommendations provided to maintain or improve their health status.
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:
502ms
Service Level:
100%
Response Time:
161ms
Service Level:
100%
Response Time:
247ms
Service Level:
100%
Response Time:
221ms
Service Level:
100%
Response Time:
330ms
Service Level:
100%
Response Time:
171ms
Service Level:
100%
Response Time:
262ms
Service Level:
100%
Response Time:
1,083ms
Service Level:
100%
Response Time:
377ms
Service Level:
100%
Response Time:
293ms
Service Level:
100%
Response Time:
3,284ms
Service Level:
100%
Response Time:
2,951ms
Service Level:
100%
Response Time:
2,895ms
Service Level:
100%
Response Time:
4,733ms
Service Level:
100%
Response Time:
2,896ms
Service Level:
50%
Response Time:
1,703ms
Service Level:
50%
Response Time:
1,598ms
Service Level:
50%
Response Time:
983ms
Service Level:
50%
Response Time:
1,124ms
Service Level:
50%
Response Time:
1,080ms