NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server

Calories Burned API

The Calories Burned API calculates the total calories burned for hundreds of sports and activities. It supports custom weight and duration.

Available endpoints:

(4.7)

From 9,141 users

3,300+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
223ms254ms312ms634ms1047ms

Didn't find what you were looking for? Suggest an improvement


/v1/caloriesburned GET

https://api.api-ninjas.com/v1/caloriesburned

Returns the calories burned per hour and total calories burned according to given parameters for given activities (up to 10).

Parameters

  • activity  required

    Name of the given activity. This value can be partial (e.g. ski will match water skiing and downhill skiing).

  • weight  optional

    Weight of the user performing the activity in pounds. Must be between 50 and 500. Default value is 160.

  • duration  optional

    How long the activity was performed in minutes. Must be 1 or greater. Default value is 60 (1 hour).

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.

  • name

    Name of the activity.

  • calories_per_hour

    Calories burned per hour for this activity.

  • duration_minutes

    Duration in minutes (as specified in the request or default 60).

  • total_calories

    Total calories burned for the specified duration.

Sample Request Live Demo!

activity

Try this endpoint live with a free API key

Instant access — no credit card required.

https://api.api-ninjas.com/v1/caloriesburned?activity=skiing

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
[
    {
      name:"Skiing, water skiing",
      calories_per_hour:354,
      duration_minutes:60,
      total_calories:354
    },
    {
      name:"Cross country snow skiing, slow",
      calories_per_hour:413,
      duration_minutes:60,
      total_calories:413
    },
    {
      name:"Cross country skiing, moderate",
      calories_per_hour:472,
      duration_minutes:60,
      total_calories:472
    },
    "..."
]

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/caloriesburned?activity=running&weight=70&duration=30" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.


Premium subscriptions only

/v1/caloriesburnedactivities GET

https://api.api-ninjas.com/v1/caloriesburnedactivities

Returns a list of all supported activities.

Parameters

None

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON array of strings, or an error if the request is unsuccessful.

Sample Request

Try this endpoint live with a free API key

Instant access — no credit card required.

https://api.api-ninjas.com/v1/caloriesburnedactivities

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
[
    "Aerobics, low impact",
    "Aerobics, high impact",
    "Aerobics, step aerobics",
    "Archery",
    "Badminton",
    "Baseball",
    "Basketball",
    "..."
]

Frequently Asked Questions

  • Yes, but you must have a premium subscription. Commercial use of the Calories Burned API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.
  • The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.
  • Send a GET request to the /v1/caloriesburned endpoint with a required activity parameter (which can be partial, e.g. ski matches both water skiing and downhill skiing), plus optional weight in pounds (between 50 and 500, default 160) and duration in minutes (default 60). You can get started with a free key on our registration page.
  • The /v1/caloriesburned endpoint returns a JSON array of objects (one per matched activity, up to 10), each containing name, calories_per_hour, duration_minutes, and total_calories. If a request is unsuccessful you'll receive an error instead.
  • Call the /v1/caloriesburnedactivities endpoint, which takes no parameters and returns a JSON array of strings naming every supported activity (such as Archery, Badminton, and Basketball). This endpoint is available on premium subscriptions only, which you can review on our pricing page.
  • It is ideal for fitness trackers, workout logs, and health dashboards that need to estimate energy expenditure across hundreds of sports and activities. It pairs well with our Exercises API for workout details and our Nutrition API for tracking calorie intake.