Overview
- Category
- Construction
- 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/appliance-wattage-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/appliance-wattage-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.
appliances· string · required- Enter appliance | watts | quantity | hours per day.
{
"type": "object",
"properties": {
"appliances": {
"type": "string",
"description": "Enter appliance | watts | quantity | hours per day."
}
},
"required": [
"appliances"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
connected_watts· number- Connected load produced by the tool.
daily_kwh· number- Daily energy produced by the tool.
items· array- Load breakdown produced by the tool.
{
"type": "object",
"properties": {
"connected_watts": {
"type": "number",
"description": "Connected load produced by the tool."
},
"daily_kwh": {
"type": "number",
"description": "Daily energy produced by the tool."
},
"items": {
"type": "array",
"description": "Load breakdown produced by the tool."
}
},
"additionalProperties": false
}
Appliance Wattage 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/appliance-wattage-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"appliances": "Refrigerator|180|1|8\nMicrowave|1200|1|0.3\nLights|12|10|5"
}'
{
"ok": true,
"data": {
"slug": "appliance-wattage-calculator",
"result": {
"values": {
"connected_watts": 1500,
"daily_kwh": 2.399999999999999911182158029987476766109466552734375,
"items": [
{
"name": "Refrigerator",
"watts": 180,
"quantity": 1,
"hours_per_day": 8,
"connected_watts": 180,
"daily_kwh": 1.439999999999999946709294817992486059665679931640625
},
{
"name": "Microwave",
"watts": 1200,
"quantity": 1,
"hours_per_day": 0.299999999999999988897769753748434595763683319091796875,
"connected_watts": 1200,
"daily_kwh": 0.35999999999999998667732370449812151491641998291015625
},
{
"name": "Lights",
"watts": 12,
"quantity": 10,
"hours_per_day": 5,
"connected_watts": 120,
"daily_kwh": 0.59999999999999997779553950749686919152736663818359375
}
]
},
"display": {
"display": "1500"
},
"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.