Overview
- Category
- Health
- 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/body-surface-area-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/body-surface-area-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.
height_cm· number · required- Enter the height used by this tool.
weight_kg· number · required- Enter the weight used by this tool.
{
"type": "object",
"properties": {
"height_cm": {
"type": "number",
"description": "Enter the height used by this tool.",
"minimum": 30,
"maximum": 260
},
"weight_kg": {
"type": "number",
"description": "Enter the weight used by this tool.",
"minimum": 2,
"maximum": 400
}
},
"required": [
"height_cm",
"weight_kg"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
mosteller_bsa· number- Mosteller BSA produced by the tool.
du_bois_bsa· number- Du Bois BSA produced by the tool.
haycock_bsa· number- Haycock BSA produced by the tool.
average_bsa· number- Average estimate produced by the tool.
{
"type": "object",
"properties": {
"mosteller_bsa": {
"type": "number",
"description": "Mosteller BSA produced by the tool."
},
"du_bois_bsa": {
"type": "number",
"description": "Du Bois BSA produced by the tool."
},
"haycock_bsa": {
"type": "number",
"description": "Haycock BSA produced by the tool."
},
"average_bsa": {
"type": "number",
"description": "Average estimate produced by the tool."
}
},
"additionalProperties": false
}
Body Surface Area 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/body-surface-area-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"height_cm": 175,
"weight_kg": 75
}'
{
"ok": true,
"data": {
"slug": "body-surface-area-calculator",
"result": {
"values": {
"mosteller_bsa": 1.9094070000000000764117658036411739885807037353515625,
"du_bois_bsa": 1.90313700000000007861444828449748456478118896484375,
"haycock_bsa": 1.9165870000000000406004119213321246206760406494140625,
"average_bsa": 1.909710000000000018616219676914624869823455810546875
},
"display": {
"display": "1.909407"
},
"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.