← All tool references

Lifestyle · not_available

Darts Checkout Calculator

Find common finishing combinations for a darts score.

Open public tool

Overview

Category
Lifestyle
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/darts-checkout-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/darts-checkout-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.

remaining_score · number · required
Enter remaining score.
darts_available · number · required
Enter darts available.
{
    "type": "object",
    "properties": {
        "remaining_score": {
            "type": "number",
            "description": "Enter remaining score.",
            "minimum": 2,
            "maximum": 170
        },
        "darts_available": {
            "type": "number",
            "description": "Enter darts available.",
            "minimum": 1,
            "maximum": 3
        }
    },
    "required": [
        "remaining_score",
        "darts_available"
    ],
    "additionalProperties": false
}

Output schema

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

checkouts · array
Checkout routes produced by the tool.
route_count · number
Routes produced by the tool.
status · string
Checkout status produced by the tool.
{
    "type": "object",
    "properties": {
        "checkouts": {
            "type": "array",
            "description": "Checkout routes produced by the tool."
        },
        "route_count": {
            "type": "number",
            "description": "Routes produced by the tool."
        },
        "status": {
            "type": "string",
            "description": "Checkout status produced by the tool."
        }
    },
    "additionalProperties": false
}

Darts Checkout 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/darts-checkout-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "remaining_score": 121,
    "darts_available": 3
}'
{
    "ok": true,
    "data": {
        "slug": "darts-checkout-calculator",
        "result": {
            "values": {
                "checkouts": [
                    {
                        "route": 1,
                        "darts": "D7 · T19 · D25"
                    },
                    {
                        "route": 2,
                        "darts": "T7 · T20 · D20"
                    },
                    {
                        "route": 3,
                        "darts": "T7 · D25 · D25"
                    },
                    {
                        "route": 4,
                        "darts": "T8 · T19 · D20"
                    },
                    {
                        "route": 5,
                        "darts": "T9 · T18 · D20"
                    },
                    {
                        "route": 6,
                        "darts": "T9 · T20 · D17"
                    },
                    {
                        "route": 7,
                        "darts": "D10 · T17 · D25"
                    },
                    {
                        "route": 8,
                        "darts": "T10 · T17 · D20"
                    }
                ],
                "route_count": 124,
                "status": "Checkout available"
            },
            "display": {
                "display": "[{\"route\":1,\"darts\":\"D7 · T19 · D25\"},{\"route\":2,\"darts\":\"T7 · T20 · D20\"},{\"route\":3,\"darts\":\"T7 · D25 · D25\"},{\"route\":4,\"darts\":\"T8 · T19 · D20\"},{\"route\":5,\"darts\":\"T9 · T18 · D20\"},{\"route\":6,\"darts\":\"T9 · T20 · D17\"},{\"route\":7,\"darts\":\"D10 · T17 · D25\"},{\"route\":8,\"darts\":\"T10 · T17 · D20\"}]"
            },
            "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.