← All tool references

Finance · not_available

Canadian Mortgage Calculator

Calculate payment from home price, down payment, nominal annual rate, amortization years.

Open public tool

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/canadian-mortgage-calculator

View this descriptor as JSON

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/canadian-mortgage-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.

home_price · number · required
Enter home price.
down_payment · number · required
Enter down payment.
nominal_rate · number · required
Enter nominal annual rate.
amortization_years · number · required
Enter amortization years.
payment_frequency · string · required
Enter payment frequency. Accepted values: monthly, biweekly, weekly.
{
    "type": "object",
    "properties": {
        "home_price": {
            "type": "number",
            "description": "Enter home price."
        },
        "down_payment": {
            "type": "number",
            "description": "Enter down payment."
        },
        "nominal_rate": {
            "type": "number",
            "description": "Enter nominal annual rate."
        },
        "amortization_years": {
            "type": "number",
            "description": "Enter amortization years."
        },
        "payment_frequency": {
            "type": "string",
            "description": "Enter payment frequency.",
            "enum": [
                "monthly",
                "biweekly",
                "weekly"
            ]
        }
    },
    "required": [
        "home_price",
        "down_payment",
        "nominal_rate",
        "amortization_years",
        "payment_frequency"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

payment · number
Payment produced by the tool.
effective_annual_rate · number
Effective annual rate produced by the tool.
total_interest · number
Total interest produced by the tool.
mortgage_principal · number
Mortgage principal produced by the tool.
{
    "type": "object",
    "properties": {
        "payment": {
            "type": "number",
            "description": "Payment produced by the tool."
        },
        "effective_annual_rate": {
            "type": "number",
            "description": "Effective annual rate produced by the tool."
        },
        "total_interest": {
            "type": "number",
            "description": "Total interest produced by the tool."
        },
        "mortgage_principal": {
            "type": "number",
            "description": "Mortgage principal produced by the tool."
        }
    },
    "additionalProperties": false
}

Canadian Mortgage 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/canadian-mortgage-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "home_price": 650000,
    "down_payment": 130000,
    "nominal_rate": 5.20000000000000017763568394002504646778106689453125,
    "amortization_years": 25,
    "payment_frequency": "monthly"
}'
{
    "ok": true,
    "data": {
        "slug": "canadian-mortgage-calculator",
        "result": {
            "values": {
                "payment": 3083.82000000000016370904631912708282470703125,
                "effective_annual_rate": 5.2675999999999998379962562466971576213836669921875,
                "total_interest": 405146.26000000000931322574615478515625,
                "mortgage_principal": 520000
            },
            "display": {
                "display": "3083.82"
            },
            "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.