Overview
- Category
- Engineering
- API mode
execute- 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/voltage-drop-calculator
Execute availability
This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.
POST /api/v1/tools/voltage-drop-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.
voltage· number · required- Source volts.
current· number · required- Load amperes.
length_ft· number · required- One-way feet.
wire_gauge· string · required-
Copper AWG. Accepted values:
14, 12, 10, 8, 6, 4, 3, 2, 1, 1/0. phases· string · required-
Circuit type. Accepted values:
dc_or_1phase, three_phase.
{
"type": "object",
"properties": {
"voltage": {
"type": "number",
"description": "Source volts."
},
"current": {
"type": "number",
"description": "Load amperes."
},
"length_ft": {
"type": "number",
"description": "One-way feet."
},
"wire_gauge": {
"type": "string",
"enum": [
"14",
"12",
"10",
"8",
"6",
"4",
"3",
"2",
"1",
"1/0"
],
"description": "Copper AWG."
},
"phases": {
"type": "string",
"enum": [
"dc_or_1phase",
"three_phase"
],
"description": "Circuit type."
}
},
"required": [
"voltage",
"current",
"length_ft",
"wire_gauge",
"phases"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
voltage_drop· number- Volts lost.
voltage_at_load· number- Estimated load volts.
voltage_drop_percent· number- Percent drop.
resistance_ohms_per_1000ft· number- Copper resistance.
circuit_factor· number- Length factor.
status· string- Preliminary range.
{
"type": "object",
"properties": {
"voltage_drop": {
"type": "number",
"description": "Volts lost."
},
"voltage_at_load": {
"type": "number",
"description": "Estimated load volts."
},
"voltage_drop_percent": {
"type": "number",
"description": "Percent drop."
},
"resistance_ohms_per_1000ft": {
"type": "number",
"description": "Copper resistance."
},
"circuit_factor": {
"type": "number",
"description": "Length factor."
},
"status": {
"type": "string",
"description": "Preliminary range."
}
},
"additionalProperties": false
}
50-foot 120 V branch circuit
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/voltage-drop-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"voltage": 120,
"current": 10,
"length_ft": 50,
"wire_gauge": "12",
"phases": "dc_or_1phase"
}'
{
"ok": true,
"data": {
"slug": "voltage-drop-calculator",
"result": {
"values": {
"voltage_drop": 1.58800000000000007815970093361102044582366943359375,
"voltage_at_load": 118.412000000000006139089236967265605926513671875,
"voltage_drop_percent": 1.322999999999999953814722175593487918376922607421875,
"resistance_ohms_per_1000ft": 1.58800000000000007815970093361102044582366943359375,
"circuit_factor": 2,
"status": "within_3_percent"
},
"display": {
"display": "1.588"
},
"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.