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/half-marathon-pace-calculator
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/half-marathon-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- Checkpoint 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": "Checkpoint splits produced by the tool."
}
},
"additionalProperties": false
}
Half Marathon 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/half-marathon-pace-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"finish_time": "01:55:00"
}'
{
"ok": true,
"data": {
"slug": "half-marathon-pace-calculator",
"result": {
"values": {
"pace_per_km": "5:27",
"pace_per_mile": "8:46",
"speed_kph": 11.0073910000000001474518285249359905719757080078125,
"splits": [
{
"distance_km": 5,
"elapsed": "27:15"
},
{
"distance_km": 10,
"elapsed": "54:31"
},
{
"distance_km": 15,
"elapsed": "1:21:46"
},
{
"distance_km": 20,
"elapsed": "1:49:01"
},
{
"distance_km": 21.097500000000000142108547152020037174224853515625,
"elapsed": "1:55:00"
}
]
},
"display": {
"display": "5:27"
},
"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.