Estimate the calories any activity burns from the research standard MET values.
Calories Burned estimates the energy any of 1,100+ activities uses, from running and cycling to gardening and office work. Search by name or Compendium code, pass body weight in kg or lb and a duration, and get calories per hour and in total with the MET value, its Compendium code and the intensity class. Personalise with age, sex and height or a measured RMR, or ask how long it takes to burn a calorie target.
Try it — live request, no key required
No key required to try it. Get a key to use it in your app.
{
"status": "ok",
"error": null,
"data": {
"query": "running",
"count": 5,
"totalMatches": 73,
"weightKg": 70,
"durationMinutes": 30,
"targetCalories": null,
"personalized": false,
"rmrKcalPerDay": null,
"activities": [
{
"code": "12145",
"activity": "Running, self-selected pace",
"heading": "Running",
"met": 10.5,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 772,
"durationMinutes": 30,
"totalCalories": 386,
"minutesToBurn": null
},
{
"code": "12140",
"activity": "Running, cross country",
"heading": "Running",
"met": 9.3,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 684,
"durationMinutes": 30,
"totalCalories": 342,
"minutesToBurn": null
},
{
"code": "12170",
"activity": "Running, stairs, up",
"heading": "Running",
"met": 15,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 1103,
"durationMinutes": 30,
"totalCalories": 551,
"minutesToBurn": null
},
{
"code": "12150",
"activity": "Running (Taylor Code 200)",
"heading": "Running",
"met": 8,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 588,
"durationMinutes": 30,
"totalCalories": 294,
"minutesToBurn": null
},
{
"code": "12180",
"activity": "Running, on a track, team practice",
"heading": "Running",
"met": 10,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 735,
"durationMinutes": 30,
"totalCalories": 368,
"minutesToBurn": null
}
]
}
}
About the Calories Burned API
A calories burned API built on the 2024 Adult Compendium of Physical Activities, the reference list of energy costs used in physical activity research. Each of its 1,100+ activities carries a MET value (a multiple of resting energy use) and a five-digit code; the API searches them by everyday names and synonyms such as biking, weightlifting or jump rope, scales the MET by body weight and duration, and returns calories per hour and for the session.
Every plan gets the search, weight in kilograms or pounds, duration, the MET value and Compendium code, the light, moderate or vigorous intensity class and a reverse mode that answers how many minutes an activity takes to burn a calorie target. Paid plans add personalised results: pass age, sex and height to estimate resting metabolic rate with the Mifflin-St Jeor equation, or pass a measured RMR, and the API applies the Compendium's corrected MET method alongside the standard value. Paid plans also return up to 25 matches per search.
Source: Herrmann SD, Willis EA, Ainsworth BE, Barreira TV, Hastert M, Kracht CL, Schuna JM Jr, Cai Z, Quan M, Tudor-Locke C, Whitt-Glover MC, Jacobs DR Jr. 2024 Adult Compendium of Physical Activities: A third update of the energy costs of human activities. Journal of Sport and Health Science 2024;13(1):6-12, and the Compendium website, https://pacompendium.com. MET values are used exactly as published.
How it works
Activities and MET values come from the 2024 Adult Compendium of Physical Activities (Herrmann SD, Willis EA, Ainsworth BE, et al. 2024 Adult Compendium of Physical Activities: A third update of the energy costs of human activities. J Sport Health Sci. 2024;13(1):6-12; https://pacompendium.com). The Compendium is free for commercial use with citation. A monthly collector copies its activity tables into our storage; MET values are stored and returned exactly as published.
Calories per minute are met x 3.5 x weightKg / 200: one MET is 3.5 ml of oxygen per kilogram per minute and a litre of oxygen releases about 5 kcal. caloriesPerHour and totalCalories are rounded to whole kcal. intensity classifies the standard MET with the Physical Activity Guidelines bands: light under 3, moderate 3 to 5.9, vigorous 6 and above, with 1.5 or below reported as sedentary.
With age, sex and height (all three) the API estimates resting metabolic rate with Mifflin-St Jeor (10 x kg + 6.25 x cm - 5 x age, plus 5 for men or minus 161 for women); rmr replaces the estimate with a measured value. That rate is converted to ml O2/kg/min and correctedMet = met x 3.5 / RMR, the Compendium's corrected MET method; calories then use the corrected value. minutesToBurn is calories divided by calories per minute. Search ranks activities that contain every word of the query (after synonyms such as biking to bicycling), preferring general and non-competitive entries, and falls back to partial matches.
What people use it for
- Workout Logging Apps
- Fitness apps turn a logged activity and duration into calories burned, showing the MET and intensity class so users see why a session counted the way it did.
- Calorie Goal Planning
- Nutrition coaches use the reverse mode to tell clients how many minutes of walking, cycling or swimming offset a snack or meal.
- Corporate Wellness Challenges
- Step and activity challenges convert mixed activities, from yard work to basketball, into one comparable calorie or MET-minute total.
- Wearable and Health Platforms
- Device makers fill in activities their sensors cannot classify with Compendium-based estimates personalised to the wearer's age, sex, height and weight.
Ways to call it
One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.
- JSON
- Default REST response
- XML
- Markup format
- YAML
- Human-readable
- CSV
- Tabular export
- GraphQL
- Query language
- MCP
- For AI agents
Other ways to use Calories Burned
Same data, same APIVerve account, same credit balance — one key works on all of them.
Which activities are covered?
How are the calories calculated?
What does the Free plan include?
Which plan fits 50,000 workout logs a month?
What if my activity name does not match anything?
Request parameters — GET /v1/caloriesburned
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them. Anything not listed here is dropped rather than passed through.
Optional
| Parameter | Type | Example | Description |
|---|---|---|---|
activityOptional | string | running | Activity to search for, e.g. running, biking, yoga or mowing lawn. Required unless code is given. length 0-100 |
codeOptional | string | 12150 | Five-digit Compendium activity code to look up directly, e.g. 12150. length 5-5 |
weightOptional | number | 70 | Body weight in kg (metric) or lb (imperial). Defaults to 70 kg. range 1-1100 |
unitOptional | string | metric | Unit system for weight and height: metric (kg, cm) or imperial (lb, in). Defaults to metric.metricimperial |
durationOptional | number | 30 | Duration of the activity in minutes (1-1440). Defaults to 60. range 1-1440 |
caloriesOptional | number | 300 | Calorie target: adds minutesToBurn, the minutes each activity takes to burn this many kcal. range 1-20000 |
ageOptionalPremium | integer | 35 | Age in years (18-120), for a personalised estimate with sex and height. range 18-120 |
sexOptionalPremium | string | female | Sex for the resting metabolic rate estimate, with age and height.malefemale |
heightOptionalPremium | number | 170 | Height in cm (metric) or inches (imperial), with age and sex. range 1-300 |
rmrOptionalPremium | number | 1500 | Measured resting metabolic rate in kcal per day (500-5000). Overrides age, sex and height. range 500-5000 |
limitOptionalPremium | integer | 10 | Number of matching activities to return (1-25). Defaults to 5. range 1-25 |
curl "https://api.apiverve.com/v1/caloriesburned?activity=running&code=12150&weight=70&unit=metric&duration=30&calories=300&age=35&sex=female&height=170&rmr=1500&limit=10" \
-H "x-api-key: YOUR_API_KEY"Authentication
Send your key in the x-api-key header. That is the only auth step — no token exchange, and no per-endpoint scope to configure.
| Header | When | Value |
|---|---|---|
x-api-keyRequired | Every request | Your API key. Header names are case-insensitive, so X-API-Key is the same header. |
AuthorizationAlternate | Instead of the above | Bearer <key> — for clients that only expose bearer auth. Resolves to the same account and the same billing. |
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Response — GET /v1/caloriesburned
Every APIVerve endpoint returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape.
{
"status": "ok",
"error": null,
"data": {
"query": "running",
"count": 5,
"totalMatches": 73,
"weightKg": 70,
"durationMinutes": 30,
"targetCalories": null,
"personalized": false,
"rmrKcalPerDay": null,
"activities": [
{
"code": "12145",
"activity": "Running, self-selected pace",
"heading": "Running",
"met": 10.5,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 772,
"durationMinutes": 30,
"totalCalories": 386,
"minutesToBurn": null
},
{
"code": "12140",
"activity": "Running, cross country",
"heading": "Running",
"met": 9.3,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 684,
"durationMinutes": 30,
"totalCalories": 342,
"minutesToBurn": null
},
{
"code": "12170",
"activity": "Running, stairs, up",
"heading": "Running",
"met": 15,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 1103,
"durationMinutes": 30,
"totalCalories": 551,
"minutesToBurn": null
},
{
"code": "12150",
"activity": "Running (Taylor Code 200)",
"heading": "Running",
"met": 8,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 588,
"durationMinutes": 30,
"totalCalories": 294,
"minutesToBurn": null
},
{
"code": "12180",
"activity": "Running, on a track, team practice",
"heading": "Running",
"met": 10,
"correctedMet": null,
"intensity": "vigorous",
"caloriesPerHour": 735,
"durationMinutes": 30,
"totalCalories": 368,
"minutesToBurn": null
}
]
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
query | string | "running" | The activity searched for, or the code looked up |
count | number | 5 | Number of activities returned |
totalMatches | number | 73 | Number of activities that matched the search |
weightKg | number | 70 | Body weight used, in kilograms |
durationMinutes | number | 30 | Duration used, in minutes |
targetCalories | object | null | The calorie target from the calories parameter, or null |
personalized | boolean | false | Whether results use a resting metabolic rate (corrected METs) |
rmrKcalPerDayPremium | object | null | Resting metabolic rate used, kcal per day: measured, or estimated with Mifflin-St Jeor |
activities | array[5] | Matching activities, best match first | |
code | string | "12145" | Five-digit Compendium activity code |
activity | string | "Running, self-selected pace" | Activity description as published in the Compendium |
heading | string | "Running" | Compendium major heading, e.g. Running or Water Activities |
met | number | 10.5 | Standard MET value as published in the Compendium |
correctedMetPremium | object | null | MET corrected for the person's resting metabolic rate; null unless personalised |
intensity | string | "vigorous" | Intensity class of the standard MET: sedentary (1.5 or less), light (under 3), moderate (3 to 5.9) or vigorous (6 or more) |
caloriesPerHour | number | 772 | Calories (kcal) burned per hour |
durationMinutes | number | 30 | Duration the total is for, in minutes |
totalCalories | number | 386 | Calories (kcal) burned over the duration |
minutesToBurn | object | null | Minutes this activity takes to burn targetCalories; null without the calories parameter |
Response headers
Every response carries your balance, so your own code always knows where it stands without polling anything. All four are exposed to browsers through CORS.
| Header | What it carries |
|---|---|
x-api-remaining-credits | Credits left in the current cycle |
x-api-credits-used | Credits spent in the current cycle |
x-api-max-credits | The allowance for the cycle |
x-api-version | Version of the endpoint that answered |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter that has to change. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted here | A key restriction or an IP allow-list — never a bad key. |
429 | Rate limited, or out of credits | Read error to tell them apart, then back off or top up. |
What a call costs — 1 credits per call
Credits are shared across every APIVerve API — one balance, one key, one bill. Failed requests never count against it, so a rejected input costs nothing.
| Plan | Per month | Credits | Calories Burned calls | Per 1,000 calls |
|---|---|---|---|---|
| Free | Free | 200 | 200 | Free |
| Starter | $29.99 | 200,000 | 200,000 | $0.15 |
| Pro | $99.99 | 1,000,000 | 1,000,000 | $0.10 |
| Mega | $299.99 | 4,000,000 | 4,000,000 | $0.07 |
Calls are what the credits buy at this API's rate — spend them here, on any of the other APIs, or across both. Nothing is reserved per endpoint.
Call it from cURL — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
curl "https://api.apiverve.com/v1/caloriesburned" \
-H "x-api-key: YOUR_API_KEY"Resources
Call it from Node.js — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
const res = await fetch("https://api.apiverve.com/v1/caloriesburned", {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);Resources
Call it from Python — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
import requests
res = requests.get(
"https://api.apiverve.com/v1/caloriesburned",
headers={"x-api-key": "YOUR_API_KEY"},
)
print(res.json()["data"])Resources
Call it from C# / .NET — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var json = await client.GetStringAsync("https://api.apiverve.com/v1/caloriesburned");
Console.WriteLine(json);Resources
Call it from Go — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/caloriesburned", nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))Resources
Call it from PHP — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
$ch = curl_init("https://api.apiverve.com/v1/caloriesburned");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-api-key: YOUR_API_KEY"]);
$response = curl_exec($ch);
echo $response;Resources
Call it from Ruby — GET /v1/caloriesburned
No SDK to install — this is a plain HTTPS call to /v1/caloriesburned with your key in the x-api-key header. Swap in a real key and it runs as-is.
require "net/http"
uri = URI("https://api.apiverve.com/v1/caloriesburned")
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = "YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.bodyResources
Zero-code embed — one snippet, no backend
Drop an interactive Calories Burned form onto any page. The widget calls the API for you, so no key ever appears in your markup and there is nothing to deploy.
Changelog — Calories Burned API
Every change to this endpoint, newest first. Breaking changes ship as a new version and the previous one keeps serving — response fields are added, never removed or retyped in place, so an integration written against v1 keeps working.
Entries are picked up from dated catalog snapshots, so the first one appears after the next snapshot that moves something. A period where nothing changed produces no entry — silence is a valid changelog for the Calories Burned API.
Health/Wellness
- BMI Calculator
- Calories Burned
- Exercises