← All tool references

Finance · not_available

PMI Calculator

Estimate loan-to-value ratio and monthly private mortgage insurance for a home purchase.

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/pmi-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/pmi-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 the home price used by this tool.
down_payment · number · required
Enter the down payment used by this tool.
annual_pmi_rate · number · required
Enter the annual pmi rate used by this tool.
mortgage_rate · number · required
Enter the mortgage interest rate used by this tool.
term_years · number · required
Enter the mortgage term used by this tool.
{
    "type": "object",
    "properties": {
        "home_price": {
            "type": "number",
            "description": "Enter the home price used by this tool.",
            "minimum": 0
        },
        "down_payment": {
            "type": "number",
            "description": "Enter the down payment used by this tool.",
            "minimum": 0
        },
        "annual_pmi_rate": {
            "type": "number",
            "description": "Enter the annual pmi rate used by this tool."
        },
        "mortgage_rate": {
            "type": "number",
            "description": "Enter the mortgage interest rate used by this tool."
        },
        "term_years": {
            "type": "number",
            "description": "Enter the mortgage term used by this tool.",
            "minimum": 1,
            "maximum": 50
        }
    },
    "required": [
        "home_price",
        "down_payment",
        "annual_pmi_rate",
        "mortgage_rate",
        "term_years"
    ],
    "additionalProperties": false
}

Output schema

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

loan_amount · number
Loan amount produced by the tool.
loan_to_value · number
Loan-to-value ratio produced by the tool.
monthly_pmi · number
Monthly PMI produced by the tool.
principal_interest · number
Principal and interest produced by the tool.
payment_with_pmi · number
Payment with PMI produced by the tool.
{
    "type": "object",
    "properties": {
        "loan_amount": {
            "type": "number",
            "description": "Loan amount produced by the tool."
        },
        "loan_to_value": {
            "type": "number",
            "description": "Loan-to-value ratio produced by the tool."
        },
        "monthly_pmi": {
            "type": "number",
            "description": "Monthly PMI produced by the tool."
        },
        "principal_interest": {
            "type": "number",
            "description": "Principal and interest produced by the tool."
        },
        "payment_with_pmi": {
            "type": "number",
            "description": "Payment with PMI produced by the tool."
        }
    },
    "additionalProperties": false
}

PMI 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/pmi-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "home_price": 400000,
    "down_payment": 40000,
    "annual_pmi_rate": 0.65000000000000002220446049250313080847263336181640625,
    "mortgage_rate": 6.5,
    "term_years": 30
}'
{
    "ok": true,
    "data": {
        "slug": "pmi-calculator",
        "result": {
            "values": {
                "loan_amount": 360000,
                "loan_to_value": 90,
                "monthly_pmi": 195,
                "principal_interest": 2275.44000000000005456968210637569427490234375,
                "payment_with_pmi": 2470.44000000000005456968210637569427490234375
            },
            "display": {
                "display": "360000"
            },
            "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.