hesaplayıcı
Menu

Water Intake Calculator: API and MCP

Water Intake Calculator over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.

GET /api/v1/tools/health.water-intake/mcp/health

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"
  }
}