Calories Calculator API is designed to help people track their calorie expenditure and meet their weight loss or fitness goals.
To use Calories burned API, users must enter the activity they have performed, also they can use their weight and duration of the activity/sport. The the API then uses this information to calculate an estimate of the number of calories burned.
It will receive a parameter and provide you with a JSON. Also, it has 2 optional parameters.
Tracking calorie expenditure for weight loss: Calories Calculator API can help people who are trying to lose weight by allowing them to track the number of calories they burn through physical activity. This information can be used to help them create a calorie deficit, which is necessary for weight loss.
Monitoring and improving physical fitness: It may help people monitor their physical fitness over time by tracking the number of calories they burn during different activities. This information can be used to identify areas for improvement and to track progress toward fitness goals.
Comparing the calorie burn of different activities: The API can be used to allow users to compare the calorie burn of different activities, which can be useful for people who are looking to find the most efficient ways to burn calories.
Improving athletic performance: Athletes may use Calories Calculator API to track the number of calories they burn during training and competition, in order to optimize their performance.
Basic Plan: 5,000 API Calls.
Pro Plan: 25,000 API Calls.
Pro Plus Plan: 100,000 API Calls.
Elite Plan: 300,000 API Calls.
The "Calories Calculator" endpoint allows users to calculate the number of calories lost by making a specific sport/activity. Also, the user can provide his weight and time performing the activity in order to calculate it.
Required Parameter:
activity // This parameter allows partial matches. For example, tennis will match Table Tennis and Playing Tennis.
Optional Parameters:
weight // The weight of the user performing the activity must be specified in pounds. The allowed range is from 50 to 500, with a default value of 160.
duration // The duration of the activity/sport must be specified in minutes. The allowed minimum value is 1. The default value is 60 minutes (1 hour).
Calories Calculator - Endpoint Features
| Object | Description |
|---|---|
activity |
[Required] Enter the desired activity: For example: tennis |
weight |
Optional The weight of the user performing the activity must be specified in pounds. The allowed range is from 50 to 500, with a default value of 160. |
duration |
Optional The duration of the activity/sport must be specified in minutes. The allowed minimum value is 1. The default value is 60 minutes (1 hour). |
[{"name": "Coaching: football, basketball, soccer\u2026", "calories_per_hour": 290, "duration_minutes": 60, "total_calories": 290}, {"name": "Football, competitive", "calories_per_hour": 653, "duration_minutes": 60, "total_calories": 653}, {"name": "Football, touch, flag, general", "calories_per_hour": 581, "duration_minutes": 60, "total_calories": 581}, {"name": "Football or baseball, playing catch", "calories_per_hour": 181, "duration_minutes": 60, "total_calories": 181}]
curl --location --request GET 'https://zylalabs.com/api/912/calories+calculator+api/725/calories+calculator?activity=tennis&duration=20' --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 API returns a JSON array containing information about various activities, including the name of the activity, calories burned per hour, duration in minutes, and total calories burned based on user input.
The key fields in the response include "name" (activity name), "calories_per_hour" (calories burned per hour), "duration_minutes" (duration of the activity), and "total_calories" (calories burned during the specified duration).
The endpoint accepts three parameters: "activity" (required), "weight" (optional, in pounds), and "duration" (optional, in minutes). Users can customize their requests by specifying these parameters to tailor the calorie calculation.
The response data is organized as a JSON array of objects, each representing an activity. Each object contains fields for the activity name, calories burned per hour, duration, and total calories, allowing users to easily interpret the results.
The API provides information on calorie expenditure for various physical activities, allowing users to track their calorie burn based on the activity type, duration, and user weight, which aids in fitness and weight loss goals.
Users can analyze the returned data to compare calorie burn across different activities, track their progress over time, and adjust their fitness routines based on the total calories burned during specific activities.
The data is derived from established metabolic equivalents (METs) for various activities, which are widely recognized in exercise science to estimate calorie expenditure based on activity type and intensity.
If the API returns partial or empty results, users should verify the activity name for accuracy or try different variations. The API supports partial matches, so using broader terms may yield more results.
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:
519ms
Service Level:
100%
Response Time:
1,982ms
Service Level:
100%
Response Time:
2,636ms
Service Level:
100%
Response Time:
806ms
Service Level:
100%
Response Time:
1,539ms
Service Level:
100%
Response Time:
377ms
Service Level:
100%
Response Time:
134ms
Service Level:
100%
Response Time:
329ms
Service Level:
100%
Response Time:
262ms
Service Level:
100%
Response Time:
240ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
6,430ms
Service Level:
100%
Response Time:
23ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
6,390ms
Service Level:
100%
Response Time:
2,220ms
Service Level:
50%
Response Time:
2,017ms
Service Level:
100%
Response Time:
7,642ms
Service Level:
100%
Response Time:
16ms
Service Level:
50%
Response Time:
1,252ms