← All tool references

Health · not_available

Heart Rate Zone Calculator

Estimate maximum heart rate and five exercise zones using either percentage of maximum or heart-rate reserve.

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/heart-rate-zone-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/heart-rate-zone-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.

age · number · required
Enter the age used in the calculation.
resting_heart_rate · number · optional
Enter the resting heart rate used in the calculation.
method · string · required
Choose the zone method that matches the calculation. Accepted values: reserve, maximum.
{
    "type": "object",
    "properties": {
        "age": {
            "type": "number",
            "description": "Enter the age used in the calculation.",
            "minimum": 10,
            "maximum": 100
        },
        "resting_heart_rate": {
            "type": "number",
            "description": "Enter the resting heart rate used in the calculation.",
            "minimum": 30,
            "maximum": 140
        },
        "method": {
            "type": "string",
            "description": "Choose the zone method that matches the calculation.",
            "enum": [
                "reserve",
                "maximum"
            ]
        }
    },
    "required": [
        "age",
        "method"
    ],
    "additionalProperties": false
}

Output schema

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

estimated_max_hr · number
Estimated maximum heart rate produced by the calculation.
zone_1 · string
Zone 1 produced by the calculation.
zone_2 · string
Zone 2 produced by the calculation.
zone_3 · string
Zone 3 produced by the calculation.
zone_4 · string
Zone 4 produced by the calculation.
zone_5 · string
Zone 5 produced by the calculation.
{
    "type": "object",
    "properties": {
        "estimated_max_hr": {
            "type": "number",
            "description": "Estimated maximum heart rate produced by the calculation."
        },
        "zone_1": {
            "type": "string",
            "description": "Zone 1 produced by the calculation."
        },
        "zone_2": {
            "type": "string",
            "description": "Zone 2 produced by the calculation."
        },
        "zone_3": {
            "type": "string",
            "description": "Zone 3 produced by the calculation."
        },
        "zone_4": {
            "type": "string",
            "description": "Zone 4 produced by the calculation."
        },
        "zone_5": {
            "type": "string",
            "description": "Zone 5 produced by the calculation."
        }
    },
    "additionalProperties": false
}

Heart Rate Zone 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/heart-rate-zone-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "age": 35,
    "resting_heart_rate": 60,
    "method": "reserve"
}'
{
    "ok": true,
    "data": {
        "slug": "heart-rate-zone-calculator",
        "result": {
            "values": {
                "estimated_max_hr": 184,
                "zone_1": "122–134 bpm",
                "zone_2": "134–146 bpm",
                "zone_3": "146–159 bpm",
                "zone_4": "159–171 bpm",
                "zone_5": "171–184 bpm"
            },
            "display": {
                "display": "184"
            },
            "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.