← All tool references

Device Tests · not_available

Typing Speed Test

Measure typing speed, accuracy, corrected errors, and elapsed time using a browser-local test passage.

Open public tool

Overview

Category
Device Tests
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/typing-speed-test

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/typing-speed-test/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.

test_length · string · required
Choose the test length that matches the calculation. Accepted values: 15, 30, 60, 120.
passage · string · required
Choose the passage set that matches the calculation. Accepted values: general, technical, numbers.
typed_text · string · required
Start typing the displayed passage to begin the timer.
elapsed_seconds · number · optional
The interactive test records this value automatically.
{
    "type": "object",
    "properties": {
        "test_length": {
            "type": "string",
            "description": "Choose the test length that matches the calculation.",
            "enum": [
                "15",
                "30",
                "60",
                "120"
            ]
        },
        "passage": {
            "type": "string",
            "description": "Choose the passage set that matches the calculation.",
            "enum": [
                "general",
                "technical",
                "numbers"
            ]
        },
        "typed_text": {
            "type": "string",
            "description": "Start typing the displayed passage to begin the timer."
        },
        "elapsed_seconds": {
            "type": "number",
            "description": "The interactive test records this value automatically.",
            "minimum": 0
        }
    },
    "required": [
        "test_length",
        "passage",
        "typed_text"
    ],
    "additionalProperties": false
}

Output schema

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

net_wpm · number
Net words per minute produced by the calculation.
gross_wpm · number
Gross words per minute produced by the calculation.
accuracy_percent · number
Accuracy produced by the calculation.
correct_characters · number
Correct characters produced by the calculation.
errors · number
Character errors produced by the calculation.
elapsed_seconds · number
Elapsed time produced by the calculation.
{
    "type": "object",
    "properties": {
        "net_wpm": {
            "type": "number",
            "description": "Net words per minute produced by the calculation."
        },
        "gross_wpm": {
            "type": "number",
            "description": "Gross words per minute produced by the calculation."
        },
        "accuracy_percent": {
            "type": "number",
            "description": "Accuracy produced by the calculation."
        },
        "correct_characters": {
            "type": "number",
            "description": "Correct characters produced by the calculation."
        },
        "errors": {
            "type": "number",
            "description": "Character errors produced by the calculation."
        },
        "elapsed_seconds": {
            "type": "number",
            "description": "Elapsed time produced by the calculation."
        }
    },
    "additionalProperties": false
}

Typing Speed Test 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/typing-speed-test/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "test_length": "60",
    "passage": "general",
    "typed_text": "",
    "elapsed_seconds": 0
}'
{
    "ok": true,
    "data": {
        "slug": "typing-speed-test",
        "result": {
            "values": {
                "net_wpm": 0,
                "gross_wpm": 0,
                "accuracy_percent": 0,
                "correct_characters": 0,
                "errors": 0,
                "elapsed_seconds": 0.01000000000000000020816681711721685132943093776702880859375
            },
            "display": {
                "display": "0"
            },
            "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.