GnistAI GnistAI
Log in

Calories Burned

Calculate caloric expenditure by activity, duration, and body weight using MET values.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 type: calculator type type calculator calculator lifecycle: maintained lifecycle lifecycle maintained maintained Health

Data source: Compendium of Physical Activities

REST Bridge Endpoint https://context.gnist.ai/rest/calories-burned/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (5)

calculate_calories_burned

Calculate calories burned for a physical activity.

Uses MET (Metabolic Equivalent of Task) values from the Compendium of Physical Activities.
Formula: calories = MET * 3.5 * weight_kg / 200 * duration_minutes.

ParameterTypeRequiredDescription
activitystringrequiredActivity ID (e.g. running-5mph, cycling-moderate, yoga-hatha).
weight_kgnumberrequiredBody weight in kilograms.
duration_minutesnumberrequiredDuration of activity in minutes.
Request Body
{
  "activity": "example",
  "weight_kg": 1.0,
  "duration_minutes": 1.0
}
search_activities

Search available physical activities by name or category.

ParameterTypeRequiredDescription
querystringrequiredSearch by activity name or category (e.g. 'running', 'swimming').
limitintegeroptional (default: 20)
Request Body
{
  "query": "example"
}
list_activities_by_category

List all activities in a given category.

ParameterTypeRequiredDescription
categorystringrequiredActivity category (e.g. Running, Swimming, Gym, Sports).
Request Body
{
  "category": "example"
}
get_activity_categories

List all available activity categories.

Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/calories-burned/calculate_calories_burned" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"activity": "example", "weight_kg": 1.0, "duration_minutes": 1.0}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/calories-burned/calculate_calories_burned",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "activity": "example",
  "weight_kg": 1.0,
  "duration_minutes": 1.0
},
)
print(resp.json())

Related Toolkits (Health)

Resources