← All tool references

Finance · not_available

Lease Calculator

Lease with transparent inputs and reviewable results.

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/lease-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/lease-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.

vehicle_price · number · required
Enter vehicle price.
residual_value · number · required
Enter residual value.
annual_rate · number · required
Enter equivalent annual rate.
term_months · number · required
Enter lease term.
down_payment · number · required
Enter down payment.
fees · number · required
Enter capitalized fees.
{
    "type": "object",
    "properties": {
        "vehicle_price": {
            "type": "number",
            "description": "Enter vehicle price."
        },
        "residual_value": {
            "type": "number",
            "description": "Enter residual value."
        },
        "annual_rate": {
            "type": "number",
            "description": "Enter equivalent annual rate."
        },
        "term_months": {
            "type": "number",
            "description": "Enter lease term."
        },
        "down_payment": {
            "type": "number",
            "description": "Enter down payment."
        },
        "fees": {
            "type": "number",
            "description": "Enter capitalized fees."
        }
    },
    "required": [
        "vehicle_price",
        "residual_value",
        "annual_rate",
        "term_months",
        "down_payment",
        "fees"
    ],
    "additionalProperties": false
}

Output schema

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

monthly_payment · number
Estimated monthly payment produced by the tool.
depreciation_charge · number
Monthly depreciation produced by the tool.
finance_charge · number
Monthly finance charge produced by the tool.
total_paid · number
Estimated total paid produced by the tool.
{
    "type": "object",
    "properties": {
        "monthly_payment": {
            "type": "number",
            "description": "Estimated monthly payment produced by the tool."
        },
        "depreciation_charge": {
            "type": "number",
            "description": "Monthly depreciation produced by the tool."
        },
        "finance_charge": {
            "type": "number",
            "description": "Monthly finance charge produced by the tool."
        },
        "total_paid": {
            "type": "number",
            "description": "Estimated total paid produced by the tool."
        }
    },
    "additionalProperties": false
}

Lease 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/lease-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "vehicle_price": 42000,
    "residual_value": 25000,
    "annual_rate": 6,
    "term_months": 36,
    "down_payment": 3000,
    "fees": 900
}'
{
    "ok": true,
    "data": {
        "slug": "lease-calculator",
        "result": {
            "values": {
                "monthly_payment": 576.1399999999999863575794734060764312744140625,
                "depreciation_charge": 413.8899999999999863575794734060764312744140625,
                "finance_charge": 162.25,
                "total_paid": 23741
            },
            "display": {
                "display": "576.14"
            },
            "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.