← All tool references

Health · not_available

Race Time Predictor

Project an equivalent race time at a different distance.

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/race-time-predictor

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/race-time-predictor/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.

known_distance · number · required
Enter known distance.
known_time · string · required
Enter known finish time.
target_distance · number · required
Enter target distance.
exponent · number · required
Enter riegel exponent.
{
    "type": "object",
    "properties": {
        "known_distance": {
            "type": "number",
            "description": "Enter known distance."
        },
        "known_time": {
            "type": "string",
            "description": "Enter known finish time."
        },
        "target_distance": {
            "type": "number",
            "description": "Enter target distance."
        },
        "exponent": {
            "type": "number",
            "description": "Enter riegel exponent."
        }
    },
    "required": [
        "known_distance",
        "known_time",
        "target_distance",
        "exponent"
    ],
    "additionalProperties": false
}

Output schema

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

predicted_time · string
Predicted finish time produced by the tool.
predicted_seconds · number
Predicted seconds produced by the tool.
target_pace · string
Predicted pace produced by the tool.
{
    "type": "object",
    "properties": {
        "predicted_time": {
            "type": "string",
            "description": "Predicted finish time produced by the tool."
        },
        "predicted_seconds": {
            "type": "number",
            "description": "Predicted seconds produced by the tool."
        },
        "target_pace": {
            "type": "string",
            "description": "Predicted pace produced by the tool."
        }
    },
    "additionalProperties": false
}

Race Time Predictor 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/race-time-predictor/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "known_distance": 5,
    "known_time": "00:24:30",
    "target_distance": 10,
    "exponent": 1.060000000000000053290705182007513940334320068359375
}'
{
    "ok": true,
    "data": {
        "slug": "race-time-predictor",
        "result": {
            "values": {
                "predicted_time": "51:05",
                "predicted_seconds": 3065,
                "target_pace": "5:06"
            },
            "display": {
                "display": "51:05"
            },
            "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.