← All tool references

Health · not_available

Water Intake Calculator

Estimate a daily water range from body weight, exercise time, climate, pregnancy, and breastfeeding selections.

Open public tool

Overview

Category
Health
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/water-intake-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/water-intake-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

weight · number · required
Enter the body weight used in the calculation.
weight_unit · string · required
Choose the weight unit that matches the calculation. Accepted values: kg, lb.
exercise_minutes · number · required
Enter the daily exercise used in the calculation.
hot_climate · boolean · optional
Turn hot or very dry climate on or off.
pregnant · boolean · optional
Turn pregnant on or off.
breastfeeding · boolean · optional
Turn breastfeeding on or off.
{
    "type": "object",
    "properties": {
        "weight": {
            "type": "number",
            "description": "Enter the body weight used in the calculation.",
            "minimum": 1
        },
        "weight_unit": {
            "type": "string",
            "description": "Choose the weight unit that matches the calculation.",
            "enum": [
                "kg",
                "lb"
            ]
        },
        "exercise_minutes": {
            "type": "number",
            "description": "Enter the daily exercise used in the calculation.",
            "minimum": 0,
            "maximum": 600
        },
        "hot_climate": {
            "type": "boolean",
            "description": "Turn hot or very dry climate on or off."
        },
        "pregnant": {
            "type": "boolean",
            "description": "Turn pregnant on or off."
        },
        "breastfeeding": {
            "type": "boolean",
            "description": "Turn breastfeeding on or off."
        }
    },
    "required": [
        "weight",
        "weight_unit",
        "exercise_minutes"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

liters · number
Estimated daily water produced by the calculation.
milliliters · number
Estimated milliliters produced by the calculation.
fluid_ounces · number
Estimated U.S. fluid ounces produced by the calculation.
cups · number
Approximate U.S. cups produced by the calculation.
{
    "type": "object",
    "properties": {
        "liters": {
            "type": "number",
            "description": "Estimated daily water produced by the calculation."
        },
        "milliliters": {
            "type": "number",
            "description": "Estimated milliliters produced by the calculation."
        },
        "fluid_ounces": {
            "type": "number",
            "description": "Estimated U.S. fluid ounces produced by the calculation."
        },
        "cups": {
            "type": "number",
            "description": "Approximate U.S. cups produced by the calculation."
        }
    },
    "additionalProperties": false
}

Water Intake Calculator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/water-intake-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "weight": 75,
    "weight_unit": "kg",
    "exercise_minutes": 30,
    "hot_climate": false,
    "pregnant": false,
    "breastfeeding": false
}'
{
    "ok": true,
    "data": {
        "slug": "water-intake-calculator",
        "result": {
            "values": {
                "liters": 2.8300000000000000710542735760100185871124267578125,
                "milliliters": 2825,
                "fluid_ounces": 95.5,
                "cups": 11.9000000000000003552713678800500929355621337890625
            },
            "display": {
                "display": "2.83"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.