{"bmi":27.343749999999996,"height_in_cm":160,"weight_in_kg":70,"bmiCategoryForAdults":{"category":"Overweight","range":"25 - 30","normalRange":"18.5 - 25"}}
curl --location --request GET 'https://zylalabs.com/api/4594/body+index+calculator+api/5653/bmi+metric?kg=70&cm=160' --header 'Authorization: Bearer YOUR_API_KEY'
{"bmi":1.7027681660899652,"height_in_inches":170,"weight_in_lbs":70,"bmiCategoryForAdults":{"category":"Underweight","range":"0 - 18.5","normalRange":"18.5 - 25"}}
curl --location --request GET 'https://zylalabs.com/api/4594/body+index+calculator+api/5654/bmi+imperial?lbs=70&inches=170' --header 'Authorization: Bearer YOUR_API_KEY'
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 Body Index Calculator 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 🎉)
Developed to support health and fitness applications, the Body Index Calculator API provides a simple and efficient method for obtaining essential health metrics. In essence, the API calculates Body Mass Index (BMI), a widely recognized indicator of healthy weight based on height and weight. Developers can enter metric units (kilograms for weight and meters for height) to retrieve the BMI value and determine the corresponding weight category (e.g., underweight, normal, overweight or obese).
Designed for seamless integration, the API is easy to use, allowing developers to integrate BMI calculations into web and mobile applications, fitness trackers and electronic health record systems effortlessly.
Hosted on a scalable infrastructure, the API handles large volumes of requests efficiently with minimal downtime. Its robust performance ensures uninterrupted service, ideal for healthcare platforms that require reliable BMI calculations.
The API is accompanied by comprehensive documentation that provides detailed implementation guidelines and technical support to users. This ensures smooth integration and quick resolution of any implementation issues.
In summary, the Body Index Calculator API is a versatile and essential tool for integrating BMI calculations into applications. Thanks to its accuracy, reliability and supporting infrastructure, the API promotes health awareness and enables informed decisions about weight and overall wellness.
It will receive parameters and provide you with a JSON.
Health and fitness applications: Integration of the API into health and fitness applications allows users to easily calculate their BMI and monitor their weight status, providing personalized health recommendations based on the results.
Electronic health record (EHR) systems: Healthcare providers can include BMI Calculator functionality in EHR systems to track changes in patients' BMI over time, enabling better management of their overall health.
Wellness websites: Wellness websites can offer visitors the option to calculate their BMI as part of health assessment tools, promoting health awareness and encouraging visitors to adopt healthier lifestyles.
Weight loss programs: Weight loss programs can use the API to track participants' BMI progress and offer personalized weight loss strategies and diet plans based on the calculated BMI.
Personal fitness trackers: Fitness wearables and mobile apps can incorporate the API to complement their existing functions, providing users with more comprehensive health data.
15 requests per second in all plans.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
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.
To use this API the user must indicate a height and weight.
The Body Index Calculator API is a powerful and easy-to-use tool designed to calculate the Body Mass Index (BMI) of an individual based on their height and weight.
This API is essential for anyone interested in monitoring or assessing their health and fitness levels. It provides accurate calculations of key body indices, aiding in maintaining a healthy lifestyle and tracking progress over time.
Each endpoint returns a JSON object containing the calculated Body Mass Index (BMI), height, weight, and the corresponding BMI category for adults.
The key fields in the response include "bmi" (the calculated BMI value), "height_in_cm" or "height_in_inches" (depending on the endpoint), "weight_in_kg" or "weight_in_lbs", and "bmiCategoryForAdults" which details the category and range.
Users must provide "weight" and "height" as parameters. For the metric endpoint, weight is in kilograms and height in meters; for the imperial endpoint, weight is in pounds and height in inches.
The response data is structured as a JSON object with key-value pairs. It includes the BMI value, height, weight, and a nested object for the BMI category, which contains the category name and range.
Each endpoint provides BMI calculations based on user-provided height and weight, along with the corresponding weight category (e.g., underweight, normal, overweight, obese) based on the calculated BMI.
Users can utilize the returned data to assess health status, track weight management progress, and provide personalized health recommendations based on the BMI category indicated in the response.
Data accuracy is maintained through standardized BMI calculation formulas based on height and weight inputs, ensuring consistent and reliable results across different requests.
Typical use cases include integrating BMI calculations into health apps, tracking patient BMI in EHR systems, and providing health assessments on wellness websites, enabling users to monitor their health effectively.
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