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/btu-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/btu-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.
floor_area· number · required- Enter the floor area used by this tool.
ceiling_height· number · required- Enter the ceiling height used by this tool.
insulation_quality· string · required-
Enter the insulation quality used by this tool. Accepted values:
poor, average, good. climate· string · required-
Enter the climate used by this tool. Accepted values:
cool, moderate, hot. sun_exposure· string · required-
Enter the sun exposure used by this tool. Accepted values:
shaded, average, sunny. occupants· number · required- Enter the regular occupants used by this tool.
windows· number · required- Enter the exterior windows used by this tool.
{
"type": "object",
"properties": {
"floor_area": {
"type": "number",
"description": "Enter the floor area used by this tool.",
"minimum": 0
},
"ceiling_height": {
"type": "number",
"description": "Enter the ceiling height used by this tool.",
"minimum": 1
},
"insulation_quality": {
"type": "string",
"description": "Enter the insulation quality used by this tool.",
"enum": [
"poor",
"average",
"good"
]
},
"climate": {
"type": "string",
"description": "Enter the climate used by this tool.",
"enum": [
"cool",
"moderate",
"hot"
]
},
"sun_exposure": {
"type": "string",
"description": "Enter the sun exposure used by this tool.",
"enum": [
"shaded",
"average",
"sunny"
]
},
"occupants": {
"type": "number",
"description": "Enter the regular occupants used by this tool.",
"minimum": 0
},
"windows": {
"type": "number",
"description": "Enter the exterior windows used by this tool.",
"minimum": 0
}
},
"required": [
"floor_area",
"ceiling_height",
"insulation_quality",
"climate",
"sun_exposure",
"occupants",
"windows"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
recommended_btu· number- Recommended capacity produced by the tool.
recommended_tons· number- Cooling tons produced by the tool.
btu_per_square_foot· number- BTU per square foot produced by the tool.
base_load· number- Base load produced by the tool.
adjustment_summary· string- Adjustment summary produced by the tool.
{
"type": "object",
"properties": {
"recommended_btu": {
"type": "number",
"description": "Recommended capacity produced by the tool."
},
"recommended_tons": {
"type": "number",
"description": "Cooling tons produced by the tool."
},
"btu_per_square_foot": {
"type": "number",
"description": "BTU per square foot produced by the tool."
},
"base_load": {
"type": "number",
"description": "Base load produced by the tool."
},
"adjustment_summary": {
"type": "string",
"description": "Adjustment summary produced by the tool."
}
},
"additionalProperties": false
}
BTU Calculator 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/btu-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"floor_area": 800,
"ceiling_height": 8,
"insulation_quality": "average",
"climate": "moderate",
"sun_exposure": "average",
"occupants": 3,
"windows": 5
}'
{
"ok": true,
"data": {
"slug": "btu-calculator",
"result": {
"values": {
"recommended_btu": 28000,
"recommended_tons": 2.333299999999999929656269159750081598758697509765625,
"btu_per_square_foot": 35,
"base_load": 25600,
"adjustment_summary": "average insulation, moderate climate, average exposure"
},
"display": {
"display": "28000"
},
"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.