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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
units | string | metric | pounds | stones | metric | Units |
weight | number | ≥ 20, ≤ 350 | Weight (kg) | |
height | number | ≥ 100, ≤ 250 | Height (cm) | |
weightSt | integer | ≥ 1, ≤ 55 | Weight, stones (st) | |
weightLb | number | ≥ 0, ≤ 800 | Weight, pounds (lb) · With stones: the pounds over the stones. | |
heightFt | integer | ≥ 3, ≤ 8 | Height, feet (ft) | |
heightIn | number | ≥ 0, ≤ 11.99 | 0 | Height, inches (in) |
Output
| Field | Type | Description |
|---|---|---|
bmi | number | Body mass index (kg/m²) |
underweight | boolean | Underweight: BMI below 18.5. |
normal | boolean | Normal weight: BMI 18.5–24.9. |
overweight | boolean | Overweight: BMI 25.0–29.9. |
obese | boolean | Obesity: BMI 30.0 or more. |
healthyMin | number | Healthy weight range: from (kg) |
healthyMax | number | Healthy 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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
sex (required) | string | female | male | Sex | |
units | string | metric | pounds | stones | metric | Units |
weight | number | ≥ 20, ≤ 350 | Weight (kg) | |
height | number | ≥ 120, ≤ 230 | Height (cm) | |
neck | number | ≥ 20, ≤ 80 | Neck circumference (cm) · Just below the larynx, with the tape level. | |
waist | number | ≥ 40, ≤ 250 | Waist circumference (cm) · Men: at the navel. Women: at the narrowest point. Do not pull your stomach in. | |
hip | number | ≥ 50, ≤ 250 | Hip circumference (cm) · Measure at the widest point. | |
weightSt | integer | ≥ 1, ≤ 55 | Weight, stones (st) | |
weightLb | number | ≥ 0, ≤ 800 | Weight, pounds (lb) · With stones: the pounds over the stones. | |
heightFt | integer | ≥ 3, ≤ 8 | Height, feet (ft) | |
heightIn | number | ≥ 0, ≤ 11.99 | 0 | Height, inches (in) |
neckIn | number | ≥ 4, ≤ 100 | Neck circumference (in) · Just below the larynx, with the tape level. | |
waistIn | number | ≥ 4, ≤ 100 | Waist circumference (in) · Men: at the navel. Women: at the narrowest point. Do not pull your stomach in. | |
hipIn | number | ≥ 4, ≤ 100 | Hip circumference (in) · Measure at the widest point. |
Output
| Field | Type | Description |
|---|---|---|
bodyFat | number | Body fat (%) |
fatMass | number | Fat mass (kg) |
leanMass | number | Lean body mass (kg) |
essential | boolean | Essential fat level: below 6% for men, 14% for women (ACE). |
athletes | boolean | Athletes: 6–13% for men, 14–20% for women (ACE). |
fitness | boolean | Fitness: 14–17% for men, 21–24% for women (ACE). |
average | boolean | Average: 18–24% for men, 25–31% for women (ACE). |
obese | boolean | Obese: 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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
sex (required) | string | female | male | Sex | |
age (required) | integer | ≥ 18, ≤ 100 | Age (years) | |
units | string | metric | pounds | stones | metric | Units |
weight | number | ≥ 30, ≤ 300 | Weight (kg) | |
height | number | ≥ 120, ≤ 230 | Height (cm) | |
weightSt | integer | ≥ 1, ≤ 55 | Weight, stones (st) | |
weightLb | number | ≥ 0, ≤ 800 | Weight, pounds (lb) · With stones: the pounds over the stones. | |
heightFt | integer | ≥ 3, ≤ 8 | Height, feet (ft) | |
heightIn | number | ≥ 0, ≤ 11.99 | 0 | Height, inches (in) |
activity | string | sedentary | light | moderate | active | veryActive | sedentary | Activity level |
goal | string | maintain | lose | loseMore | gain | maintain | Goal |
carbsPct | number | ≥ 0, ≤ 100 | 50 | Carbohydrate share (%) |
proteinPct | number | ≥ 0, ≤ 100 | 20 | Protein share (%) |
fatPct | number | ≥ 0, ≤ 100 | 30 | Fat share (%) |
Output
| Field | Type | Description |
|---|---|---|
bmr | number | Basal metabolic rate (BMR) (kcal/day) |
tdee | number | Daily calorie need (kcal/day) |
tdeeKj | number | Daily energy need in kJ (kJ/day) |
goalCalories | number | Daily calories for your goal (kcal/day) |
goalKj | number | Daily energy for your goal in kJ (kJ/day) |
carbs | number | Carbohydrate (g/day) |
protein | number | Protein (g/day) |
fat | number | Fat (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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
method | string | last-period | conception | ivf | last-period | Calculate from |
lastPeriod | string | First day of the last period | ||
cycleLength | integer | ≥ 20, ≤ 44 | 28 | Cycle length (days) · Days from the first day of one period to the first day of the next. Leave 28 if you do not know. |
conception | string | Conception date | ||
transfer | string | Embryo transfer date | ||
embryo | string | day-5 | day-3 | day-5 | Embryo age |
on | string | Week of pregnancy on · Leave it empty to use today (Türkiye time). |
Output
| Field | Type | Description |
|---|---|---|
dueDate | string | Estimated due date |
weeks | number | Weeks pregnant (weeks) |
days | number | Days after the full weeks (days) |
trimester | number | Trimester |
conceptionDate | string | Estimated conception date |
daysLeft | number | Days to the due date (days) |
pregnancyDays | number | Days 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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
sex (required) | string | female | male | Sex | |
units | string | metric | pounds | stones | metric | Units |
height | number | ≥ 152.4, ≤ 230 | Height (cm) · The formulas are defined from 152.4 cm (5 ft) up. | |
heightFt | integer | ≥ 3, ≤ 8 | Height, feet (ft) | |
heightIn | number | ≥ 0, ≤ 11.99 | 0 | Height, inches (in) |
Output
| Field | Type | Description |
|---|---|---|
devine | number | Ideal weight (Devine) (kg) |
robinson | number | Ideal weight (Robinson) (kg) |
miller | number | Ideal weight (Miller) (kg) |
hamwi | number | Ideal weight (Hamwi) (kg) |
bmiMin | number | Healthy weight range: from (kg) |
bmiMax | number | Healthy 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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
method | string | efsa | weight | efsa | Method |
group | string | woman | man | pregnant | lactating | woman | For whom? |
units | string | metric | pounds | stones | metric | Units |
weight | number | ≥ 30, ≤ 200 | Weight (kg) | |
weightSt | integer | ≥ 1, ≤ 55 | Weight, stones (st) | |
weightLb | number | ≥ 0, ≤ 800 | Weight, pounds (lb) · With stones: the pounds over the stones. | |
exercise | integer | ≥ 0, ≤ 600 | 0 | Exercise a day (min) · Adds 10 ml to drink for each minute. |
Output
| Field | Type | Description |
|---|---|---|
totalWater | number | Total water a day (drinks and food) (L) |
drinks | number | Water to drink (L) |
glasses | number | Glasses (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"
}
}