hesaplayıcı
Menu

Health Tools: API and MCP

Health category REST API and MCP reference for 6 tools: input fields, limits, outputs, example requests and real answers. Free, no key.

GET /api/v1/tools?category=health/mcp/health/api/v1/openapi.json

BMI Calculator

Id
health.bmi
Version
1.0.0
Access
Free
Tool page
BMI Calculator
Schema
GET /api/v1/tools/health.bmi

Input

FieldTypeConstraintsDefaultDescription
unitsstringmetric | pounds | stonesmetricUnits
weightnumber≥ 20, ≤ 350Weight (kg)
heightnumber≥ 100, ≤ 250Height (cm)
weightStinteger≥ 1, ≤ 55Weight, stones (st)
weightLbnumber≥ 0, ≤ 800Weight, pounds (lb) · With stones: the pounds over the stones.
heightFtinteger≥ 3, ≤ 8Height, feet (ft)
heightInnumber≥ 0, ≤ 11.990Height, inches (in)

Output

FieldTypeDescription
bminumberBody mass index (kg/m²)
underweightbooleanUnderweight: BMI below 18.5.
normalbooleanNormal weight: BMI 18.5–24.9.
overweightbooleanOverweight: BMI 25.0–29.9.
obesebooleanObesity: BMI 30.0 or more.
healthyMinnumberHealthy weight range: from (kg)
healthyMaxnumberHealthy weight range: to (kg)

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.bmi/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"units":"metric","weight":68,"height":170,"heightIn":0},"locale":"en"}'
Example answer
{
  "output": {
    "bmi": 23.5,
    "underweight": false,
    "normal": true,
    "overweight": false,
    "obese": false,
    "healthyMin": 53.5,
    "healthyMax": 72
  },
  "steps": [
    {
      "id": "bmi",
      "formula": "BMI = weight / height²",
      "substitution": "BMI = 68 / 1.7²",
      "value": 23.5,
      "unit": "kg/m²"
    },
    {
      "id": "healthyMin",
      "formula": "healthy weight from = 18.5 × height²",
      "substitution": "healthy weight from = 18.5 × 1.7²",
      "value": 53.5,
      "unit": "kg"
    },
    {
      "id": "healthyMax",
      "formula": "healthy weight to = 24.9 × height²",
      "substitution": "healthy weight to = 24.9 × 1.7²",
      "value": 72,
      "unit": "kg"
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/bmi-calculator",
    "title": "BMI Calculator"
  }
}

Body Fat Calculator

Id
health.body-fat
Version
1.0.0
Access
Free
Tool page
Body Fat Calculator
Schema
GET /api/v1/tools/health.body-fat

Input

FieldTypeConstraintsDefaultDescription
sex (required)stringfemale | maleSex
unitsstringmetric | pounds | stonesmetricUnits
weightnumber≥ 20, ≤ 350Weight (kg)
heightnumber≥ 120, ≤ 230Height (cm)
necknumber≥ 20, ≤ 80Neck circumference (cm) · Just below the larynx, with the tape level.
waistnumber≥ 40, ≤ 250Waist circumference (cm) · Men: at the navel. Women: at the narrowest point. Do not pull your stomach in.
hipnumber≥ 50, ≤ 250Hip circumference (cm) · Measure at the widest point.
weightStinteger≥ 1, ≤ 55Weight, stones (st)
weightLbnumber≥ 0, ≤ 800Weight, pounds (lb) · With stones: the pounds over the stones.
heightFtinteger≥ 3, ≤ 8Height, feet (ft)
heightInnumber≥ 0, ≤ 11.990Height, inches (in)
neckInnumber≥ 4, ≤ 100Neck circumference (in) · Just below the larynx, with the tape level.
waistInnumber≥ 4, ≤ 100Waist circumference (in) · Men: at the navel. Women: at the narrowest point. Do not pull your stomach in.
hipInnumber≥ 4, ≤ 100Hip circumference (in) · Measure at the widest point.

Output

FieldTypeDescription
bodyFatnumberBody fat (%)
fatMassnumberFat mass (kg)
leanMassnumberLean body mass (kg)
essentialbooleanEssential fat level: below 6% for men, 14% for women (ACE).
athletesbooleanAthletes: 6–13% for men, 14–20% for women (ACE).
fitnessbooleanFitness: 14–17% for men, 21–24% for women (ACE).
averagebooleanAverage: 18–24% for men, 25–31% for women (ACE).
obesebooleanObese: 25% or more for men, 32% or more for women (ACE).

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.body-fat/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"sex":"male","units":"metric","weight":80,"height":178,"neck":38,"waist":90,"heightIn":0},"locale":"en"}'
Example answer
{
  "output": {
    "bodyFat": 20.1,
    "fatMass": 16.1,
    "leanMass": 63.9,
    "essential": false,
    "athletes": false,
    "fitness": false,
    "average": true,
    "obese": false
  },
  "steps": [
    {
      "id": "girth",
      "formula": "girth = waist − neck",
      "substitution": "girth = 90 − 38",
      "value": 52,
      "unit": "cm"
    },
    {
      "id": "density",
      "formula": "body density = 1.0324 − 0.19077 × log10(girth) + 0.15456 × log10(height)",
      "substitution": "body density = 1.0324 − 0.19077 × log10(52) + 0.15456 × log10(178)",
      "value": 1.05286
    },
    {
      "id": "bodyFat",
      "formula": "body fat = 495 / body density − 450",
      "substitution": "body fat = 495 / 1.05286 − 450",
      "value": 20.1,
      "unit": "%"
    },
    {
      "id": "fatMass",
      "formula": "fat mass = weight × body fat",
      "substitution": "fat mass = 80 × 20.1%",
      "value": 16.1,
      "unit": "kg"
    },
    {
      "id": "leanMass",
      "formula": "lean mass = weight − fat mass",
      "substitution": "lean mass = 80 − 16.1",
      "value": 63.9,
      "unit": "kg"
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/body-fat-calculator",
    "title": "Body Fat Calculator"
  }
}

Calorie Calculator

Id
health.calorie
Version
1.0.0
Access
Free
Tool page
Calorie Calculator
Schema
GET /api/v1/tools/health.calorie

Input

FieldTypeConstraintsDefaultDescription
sex (required)stringfemale | maleSex
age (required)integer≥ 18, ≤ 100Age (years)
unitsstringmetric | pounds | stonesmetricUnits
weightnumber≥ 30, ≤ 300Weight (kg)
heightnumber≥ 120, ≤ 230Height (cm)
weightStinteger≥ 1, ≤ 55Weight, stones (st)
weightLbnumber≥ 0, ≤ 800Weight, pounds (lb) · With stones: the pounds over the stones.
heightFtinteger≥ 3, ≤ 8Height, feet (ft)
heightInnumber≥ 0, ≤ 11.990Height, inches (in)
activitystringsedentary | light | moderate | active | veryActivesedentaryActivity level
goalstringmaintain | lose | loseMore | gainmaintainGoal
carbsPctnumber≥ 0, ≤ 10050Carbohydrate share (%)
proteinPctnumber≥ 0, ≤ 10020Protein share (%)
fatPctnumber≥ 0, ≤ 10030Fat share (%)

Output

FieldTypeDescription
bmrnumberBasal metabolic rate (BMR) (kcal/day)
tdeenumberDaily calorie need (kcal/day)
tdeeKjnumberDaily energy need in kJ (kJ/day)
goalCaloriesnumberDaily calories for your goal (kcal/day)
goalKjnumberDaily energy for your goal in kJ (kJ/day)
carbsnumberCarbohydrate (g/day)
proteinnumberProtein (g/day)
fatnumberFat (g/day)

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.calorie/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"sex":"female","age":31,"units":"metric","weight":65,"height":168,"heightIn":0,"activity":"moderate","goal":"maintain","carbsPct":50,"proteinPct":20,"fatPct":30},"locale":"en"}'
Example answer
{
  "output": {
    "bmr": 1384,
    "tdee": 2145,
    "tdeeKj": 8976,
    "goalCalories": 2145,
    "goalKj": 8976,
    "carbs": 268,
    "protein": 107,
    "fat": 72
  },
  "steps": [
    {
      "id": "bmr",
      "formula": "BMR = 10 × weight + 6.25 × height − 5 × age − 161",
      "substitution": "BMR = 10 × 65 + 6.25 × 168 − 5 × 31 − 161",
      "value": 1384,
      "unit": "kcal"
    },
    {
      "id": "tdee",
      "formula": "daily energy need = BMR × activity factor",
      "substitution": "daily energy need = 1,384 × 1.55",
      "value": 2145,
      "unit": "kcal"
    },
    {
      "id": "tdeeKj",
      "formula": "daily energy need (kJ) = BMR × activity factor × 4.184",
      "substitution": "daily energy need (kJ) = 1,384 × 1.55 × 4.184",
      "value": 8976,
      "unit": "kJ"
    },
    {
      "id": "goalCalories",
      "formula": "goal calories = daily energy need",
      "substitution": "goal calories = 2,145",
      "value": 2145,
      "unit": "kcal"
    },
    {
      "id": "goalKj",
      "formula": "goal energy (kJ) = goal calories × 4.184",
      "substitution": "goal energy (kJ) = 2,145.2 × 4.184",
      "value": 8976,
      "unit": "kJ"
    },
    {
      "id": "carbs",
      "formula": "carbohydrate = goal calories × carbohydrate share / 4",
      "substitution": "carbohydrate = 2,145 × 50% / 4",
      "value": 268,
      "unit": "g"
    },
    {
      "id": "protein",
      "formula": "protein = goal calories × protein share / 4",
      "substitution": "protein = 2,145 × 20% / 4",
      "value": 107,
      "unit": "g"
    },
    {
      "id": "fat",
      "formula": "fat = goal calories × fat share / 9",
      "substitution": "fat = 2,145 × 30% / 9",
      "value": 72,
      "unit": "g"
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/calorie-calculator",
    "title": "Calorie Calculator"
  }
}

Due Date Calculator

Id
health.due-date
Version
1.0.0
Access
Free
Tool page
Due Date Calculator
Schema
GET /api/v1/tools/health.due-date

Input

FieldTypeConstraintsDefaultDescription
methodstringlast-period | conception | ivflast-periodCalculate from
lastPeriodstringFirst day of the last period
cycleLengthinteger≥ 20, ≤ 4428Cycle length (days) · Days from the first day of one period to the first day of the next. Leave 28 if you do not know.
conceptionstringConception date
transferstringEmbryo transfer date
embryostringday-5 | day-3day-5Embryo age
onstringWeek of pregnancy on · Leave it empty to use today (Türkiye time).

Output

FieldTypeDescription
dueDatestringEstimated due date
weeksnumberWeeks pregnant (weeks)
daysnumberDays after the full weeks (days)
trimesternumberTrimester
conceptionDatestringEstimated conception date
daysLeftnumberDays to the due date (days)
pregnancyDaysnumberDays pregnant (days)

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.due-date/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"method":"last-period","lastPeriod":"2026-01-01","cycleLength":28,"embryo":"day-5","on":"2026-06-01"},"locale":"en"}'
Example answer
{
  "output": {
    "dueDate": "2026-10-08",
    "conceptionDate": "2026-01-15",
    "daysLeft": 129,
    "weeks": 21,
    "days": 4,
    "trimester": 2,
    "pregnancyDays": 151
  },
  "steps": [
    {
      "id": "added",
      "formula": "days added = 280 + (cycle length − 28)",
      "substitution": "days added = 280 + (28 − 28)",
      "value": 280,
      "unit": "days"
    },
    {
      "id": "daysLeft",
      "formula": "days to the due date = due date − day of the calculation",
      "substitution": "days to the due date = 2026-10-08 − 2026-06-01",
      "value": 129,
      "unit": "days"
    },
    {
      "id": "pregnancyDays",
      "formula": "days pregnant = 280 − days to the due date",
      "substitution": "days pregnant = 280 − 129",
      "value": 151,
      "unit": "days"
    },
    {
      "id": "weeks",
      "formula": "weeks of pregnancy = ⌊days pregnant / 7⌋",
      "substitution": "weeks of pregnancy = ⌊151 / 7⌋",
      "value": 21,
      "unit": "weeks"
    },
    {
      "id": "days",
      "formula": "extra days = days pregnant − 7 × weeks of pregnancy",
      "substitution": "extra days = 151 − 7 × 21",
      "value": 4,
      "unit": "days"
    },
    {
      "id": "trimester",
      "formula": "trimester: under 14 weeks 1, under 28 weeks 2, later 3",
      "substitution": "trimester: 21 weeks",
      "value": 2
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/due-date-calculator",
    "title": "Due Date Calculator"
  }
}

Ideal Weight Calculator

Id
health.ideal-weight
Version
1.0.0
Access
Free
Tool page
Ideal Weight Calculator
Schema
GET /api/v1/tools/health.ideal-weight

Input

FieldTypeConstraintsDefaultDescription
sex (required)stringfemale | maleSex
unitsstringmetric | pounds | stonesmetricUnits
heightnumber≥ 152.4, ≤ 230Height (cm) · The formulas are defined from 152.4 cm (5 ft) up.
heightFtinteger≥ 3, ≤ 8Height, feet (ft)
heightInnumber≥ 0, ≤ 11.990Height, inches (in)

Output

FieldTypeDescription
devinenumberIdeal weight (Devine) (kg)
robinsonnumberIdeal weight (Robinson) (kg)
millernumberIdeal weight (Miller) (kg)
hamwinumberIdeal weight (Hamwi) (kg)
bmiMinnumberHealthy weight range: from (kg)
bmiMaxnumberHealthy weight range: to (kg)

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.ideal-weight/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"sex":"female","units":"metric","height":165,"heightIn":0},"locale":"en"}'
Example answer
{
  "output": {
    "devine": 56.9,
    "robinson": 57.4,
    "miller": 59.8,
    "hamwi": 56.4,
    "bmiMin": 50.4,
    "bmiMax": 67.8
  },
  "steps": [
    {
      "id": "inches",
      "formula": "inches over 5 ft = height / 2.54 − 60",
      "substitution": "inches over 5 ft = 165 / 2.54 − 60",
      "value": 4.960629921259837,
      "unit": "in"
    },
    {
      "id": "devine",
      "formula": "Devine = 45.5 + 2.3 × inches over 5 ft",
      "substitution": "Devine = 45.5 + 2.3 × 4.96",
      "value": 56.9,
      "unit": "kg"
    },
    {
      "id": "robinson",
      "formula": "Robinson = 49 + 1.7 × inches over 5 ft",
      "substitution": "Robinson = 49 + 1.7 × 4.96",
      "value": 57.4,
      "unit": "kg"
    },
    {
      "id": "miller",
      "formula": "Miller = 53.1 + 1.36 × inches over 5 ft",
      "substitution": "Miller = 53.1 + 1.36 × 4.96",
      "value": 59.8,
      "unit": "kg"
    },
    {
      "id": "hamwi",
      "formula": "Hamwi = 45.5 + 2.2 × inches over 5 ft",
      "substitution": "Hamwi = 45.5 + 2.2 × 4.96",
      "value": 56.4,
      "unit": "kg"
    },
    {
      "id": "bmiMin",
      "formula": "weight at BMI 18.5 = 18.5 × height²",
      "substitution": "weight at BMI 18.5 = 18.5 × 1.65²",
      "value": 50.4,
      "unit": "kg"
    },
    {
      "id": "bmiMax",
      "formula": "weight at BMI 24.9 = 24.9 × height²",
      "substitution": "weight at BMI 24.9 = 24.9 × 1.65²",
      "value": 67.8,
      "unit": "kg"
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/ideal-weight-calculator",
    "title": "Ideal Weight Calculator"
  }
}

Water Intake Calculator

Id
health.water-intake
Version
1.0.0
Access
Free
Tool page
Water Intake Calculator
Schema
GET /api/v1/tools/health.water-intake

Input

FieldTypeConstraintsDefaultDescription
methodstringefsa | weightefsaMethod
groupstringwoman | man | pregnant | lactatingwomanFor whom?
unitsstringmetric | pounds | stonesmetricUnits
weightnumber≥ 30, ≤ 200Weight (kg)
weightStinteger≥ 1, ≤ 55Weight, stones (st)
weightLbnumber≥ 0, ≤ 800Weight, pounds (lb) · With stones: the pounds over the stones.
exerciseinteger≥ 0, ≤ 6000Exercise a day (min) · Adds 10 ml to drink for each minute.

Output

FieldTypeDescription
totalWaternumberTotal water a day (drinks and food) (L)
drinksnumberWater to drink (L)
glassesnumberGlasses (200 ml) (glasses)

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.water-intake/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"method":"efsa","group":"woman","units":"metric","exercise":0},"locale":"en"}'
Example answer
{
  "output": {
    "totalWater": 2,
    "drinks": 1.6,
    "glasses": 8
  },
  "steps": [
    {
      "id": "totalWater",
      "formula": "total water = EFSA (woman)",
      "substitution": "total water = 2 L",
      "value": 2,
      "unit": "L"
    },
    {
      "id": "drinks",
      "formula": "from drinks = total water × 80%",
      "substitution": "from drinks = 2 × 80%",
      "value": 1.6,
      "unit": "L"
    },
    {
      "id": "glasses",
      "formula": "glasses = from drinks / 0.2 L",
      "substitution": "glasses = 1.6 / 0.2",
      "value": 8
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/water-intake-calculator",
    "title": "Water Intake Calculator"
  }
}