Overview
- Category
- Finance
- 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/salary-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/salary-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.
hourly_rate· number · required- Enter the hourly wage used in the calculation.
hours_per_week· number · required- Enter the paid hours per week used in the calculation.
weeks_per_year· number · required- Enter the paid weeks per year used in the calculation.
{
"type": "object",
"properties": {
"hourly_rate": {
"type": "number",
"description": "Enter the hourly wage used in the calculation.",
"minimum": 0
},
"hours_per_week": {
"type": "number",
"description": "Enter the paid hours per week used in the calculation.",
"minimum": 0,
"maximum": 168
},
"weeks_per_year": {
"type": "number",
"description": "Enter the paid weeks per year used in the calculation.",
"minimum": 1,
"maximum": 53
}
},
"required": [
"hourly_rate",
"hours_per_week",
"weeks_per_year"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
weekly_salary· number- Weekly gross pay produced by the calculation.
monthly_salary· number- Monthly gross pay produced by the calculation.
annual_salary· number- Annual gross pay produced by the calculation.
daily_salary· number- Daily gross pay produced by the calculation.
{
"type": "object",
"properties": {
"weekly_salary": {
"type": "number",
"description": "Weekly gross pay produced by the calculation."
},
"monthly_salary": {
"type": "number",
"description": "Monthly gross pay produced by the calculation."
},
"annual_salary": {
"type": "number",
"description": "Annual gross pay produced by the calculation."
},
"daily_salary": {
"type": "number",
"description": "Daily gross pay produced by the calculation."
}
},
"additionalProperties": false
}
Salary 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/salary-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"hourly_rate": 28.5,
"hours_per_week": 40,
"weeks_per_year": 52
}'
{
"ok": true,
"data": {
"slug": "salary-calculator",
"result": {
"values": {
"weekly_salary": 1140,
"monthly_salary": 4940,
"annual_salary": 59280,
"daily_salary": 228
},
"display": {
"display": "1140"
},
"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.