{"bmi":44.790826838663435,"weight":"150","height":"1.83","weightCategory":""}
curl --location --request GET 'https://zylalabs.com/api/879/bmi+calculator+api/666/metric+kilograms?weight=150&height=1.83' --header 'Authorization: Bearer YOUR_API_KEY'
{"bmi":22.80493079584775,"weight":"150","height":"68","weightCategory":""}
curl --location --request GET 'https://zylalabs.com/api/879/bmi+calculator+api/668/imperial+pounds?weight=150&height=68' --header 'Authorization: Bearer YOUR_API_KEY'
{"bmi":"19.2?bmi=19.2","weightCategory":""}
curl --location --request GET 'https://zylalabs.com/api/879/bmi+calculator+api/669/weight+category?bmi=19.2' --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 BMI 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 🎉)
Trusted by leading companies
Determine your overall health and fitness based on your weight and height. This API accepts inputs of weight in kilograms or pounds, and height in centimeters, returns a calculated BMI value.
All you have to do is insert your height and weight.
Determining if an individual is at a healthy weight for their height: Body mass index (BMI) is a measure that uses your weight and height to determine if you are at a healthy weight. A BMI calculator can help you determine your BMI and whether you are at a healthy weight for your height.
Assessing weight loss progress: A body mass calculator can help you track your weight loss progress over time by calculating your body mass index (BMI) at regular intervals. This can help you determine if your weight loss efforts are effective and if any adjustments need to be made.
Planning a weight loss program: A body mass calculator can help you determine your BMI and set weight loss goals. For example, if you are overweight, you may want to aim to lose a certain amount of weight to reach a healthy BMI.
Free Plan: 25 API Calls. 5 request per second.
Basic Plan: 5,000 API Calls. 10 request per second.
Each endpoint returns a JSON object containing the calculated BMI, weight, height, and weight category. For example, the Metric Kilograms endpoint returns data like `{"bmi":22.8,"weight":"150","height":"1.83","weightCategory":""}`.
The key fields in the response data include `bmi` (the calculated body mass index), `weight` (input weight), `height` (input height), and `weightCategory` (the classification based on BMI).
The endpoints accept parameters for `weight` (in kilograms or pounds) and `height` (in centimeters or inches). Users must provide these values to receive a BMI calculation.
The response data is structured as a JSON object. It includes fields for BMI, weight, height, and weight category, allowing users to easily parse and utilize the information in their applications.
Typical use cases include assessing individual health status, tracking weight loss progress, and setting weight loss goals based on BMI calculations. Users can integrate this data into health apps or personal fitness trackers.
Users can utilize the returned data by interpreting the BMI value to determine health status and using the weight category to set fitness goals. For example, a BMI over 25 may indicate overweight status, prompting lifestyle changes.
The `bmi` field indicates the body mass index value, while `weight` and `height` reflect the user's input. The `weightCategory` field classifies the BMI result into categories like underweight, normal, overweight, or obese.
Data accuracy is maintained through standardized BMI calculation formulas based on height and weight inputs. The API adheres to established health guidelines to ensure reliable BMI assessments.
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