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/college-cost-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/college-cost-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.
annual_cost_today· number · required- Enter annual cost today.
years_until_start· number · required- Enter years until enrollment.
cost_inflation· number · required- Enter annual education inflation.
years_in_school· number · required- Enter years in school.
savings_return· number · required- Enter savings return.
current_savings· number · required- Enter current savings.
{
"type": "object",
"properties": {
"annual_cost_today": {
"type": "number",
"description": "Enter annual cost today."
},
"years_until_start": {
"type": "number",
"description": "Enter years until enrollment."
},
"cost_inflation": {
"type": "number",
"description": "Enter annual education inflation."
},
"years_in_school": {
"type": "number",
"description": "Enter years in school."
},
"savings_return": {
"type": "number",
"description": "Enter savings return."
},
"current_savings": {
"type": "number",
"description": "Enter current savings."
}
},
"required": [
"annual_cost_today",
"years_until_start",
"cost_inflation",
"years_in_school",
"savings_return",
"current_savings"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
projected_total_cost· number- Projected total cost produced by the tool.
savings_gap· number- Projected savings gap produced by the tool.
monthly_savings_needed· number- Monthly savings needed produced by the tool.
yearly_costs· array- Projected yearly costs produced by the tool.
{
"type": "object",
"properties": {
"projected_total_cost": {
"type": "number",
"description": "Projected total cost produced by the tool."
},
"savings_gap": {
"type": "number",
"description": "Projected savings gap produced by the tool."
},
"monthly_savings_needed": {
"type": "number",
"description": "Monthly savings needed produced by the tool."
},
"yearly_costs": {
"type": "array",
"description": "Projected yearly costs produced by the tool."
}
},
"additionalProperties": false
}
College Cost 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/college-cost-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"annual_cost_today": 32000,
"years_until_start": 10,
"cost_inflation": 4.5,
"years_in_school": 4,
"savings_return": 5,
"current_savings": 40000
}'
{
"ok": true,
"data": {
"slug": "college-cost-calculator",
"result": {
"values": {
"projected_total_cost": 212604.7999999999883584678173065185546875,
"savings_gap": 147449.01000000000931322574615478515625,
"monthly_savings_needed": 949.549999999999954525264911353588104248046875,
"yearly_costs": [
{
"school_year": 1,
"projected_cost": 49695.0199999999967985786497592926025390625
},
{
"school_year": 2,
"projected_cost": 51931.300000000002910383045673370361328125
},
{
"school_year": 3,
"projected_cost": 54268.2099999999991268850862979888916015625
},
{
"school_year": 4,
"projected_cost": 56710.27999999999883584678173065185546875
}
]
},
"display": {
"display": "212604.8"
},
"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.