← All tool references

Health · not_available

10K Pace Calculator

Calculate pace and splits for a 10-kilometre finish time.

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/10k-pace-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/10k-pace-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.

finish_time · string · required
Enter finish time.
{
    "type": "object",
    "properties": {
        "finish_time": {
            "type": "string",
            "description": "Enter finish time."
        }
    },
    "required": [
        "finish_time"
    ],
    "additionalProperties": false
}

Output schema

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

pace_per_km · string
Pace per kilometre produced by the tool.
pace_per_mile · string
Pace per mile produced by the tool.
speed_kph · number
Average speed produced by the tool.
splits · array
Kilometre splits produced by the tool.
{
    "type": "object",
    "properties": {
        "pace_per_km": {
            "type": "string",
            "description": "Pace per kilometre produced by the tool."
        },
        "pace_per_mile": {
            "type": "string",
            "description": "Pace per mile produced by the tool."
        },
        "speed_kph": {
            "type": "number",
            "description": "Average speed produced by the tool."
        },
        "splits": {
            "type": "array",
            "description": "Kilometre splits produced by the tool."
        }
    },
    "additionalProperties": false
}

10K Pace Calculator worked 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/10k-pace-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "finish_time": "00:52:00"
}'
{
    "ok": true,
    "data": {
        "slug": "10k-pace-calculator",
        "result": {
            "values": {
                "pace_per_km": "5:12",
                "pace_per_mile": "8:22",
                "speed_kph": 11.5384620000000008843699106364510953426361083984375,
                "splits": [
                    {
                        "distance_km": 1,
                        "elapsed": "5:12"
                    },
                    {
                        "distance_km": 2,
                        "elapsed": "10:24"
                    },
                    {
                        "distance_km": 3,
                        "elapsed": "15:36"
                    },
                    {
                        "distance_km": 4,
                        "elapsed": "20:48"
                    },
                    {
                        "distance_km": 5,
                        "elapsed": "26:00"
                    },
                    {
                        "distance_km": 6,
                        "elapsed": "31:12"
                    },
                    {
                        "distance_km": 7,
                        "elapsed": "36:24"
                    },
                    {
                        "distance_km": 8,
                        "elapsed": "41:36"
                    }
                ]
            },
            "display": {
                "display": "5:12"
            },
            "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.