← All tool references

Finance · not_available

Car Depreciation Calculator

Calculate estimated vehicle value from purchase price, first-year depreciation, later annual depreciation, years owned.

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/car-depreciation-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/car-depreciation-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.

purchase_price · number · required
Enter purchase price.
first_year_rate · number · required
Enter first-year depreciation.
later_year_rate · number · required
Enter later annual depreciation.
years · number · required
Enter years owned.
{
    "type": "object",
    "properties": {
        "purchase_price": {
            "type": "number",
            "description": "Enter purchase price."
        },
        "first_year_rate": {
            "type": "number",
            "description": "Enter first-year depreciation."
        },
        "later_year_rate": {
            "type": "number",
            "description": "Enter later annual depreciation."
        },
        "years": {
            "type": "number",
            "description": "Enter years owned."
        }
    },
    "required": [
        "purchase_price",
        "first_year_rate",
        "later_year_rate",
        "years"
    ],
    "additionalProperties": false
}

Output schema

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

estimated_value · number
Estimated vehicle value produced by the tool.
total_depreciation · number
Total depreciation produced by the tool.
yearly_values · array
Year-by-year values produced by the tool.
{
    "type": "object",
    "properties": {
        "estimated_value": {
            "type": "number",
            "description": "Estimated vehicle value produced by the tool."
        },
        "total_depreciation": {
            "type": "number",
            "description": "Total depreciation produced by the tool."
        },
        "yearly_values": {
            "type": "array",
            "description": "Year-by-year values produced by the tool."
        }
    },
    "additionalProperties": false
}

Car Depreciation 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/car-depreciation-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "purchase_price": 42000,
    "first_year_rate": 20,
    "later_year_rate": 12,
    "years": 5
}'
{
    "ok": true,
    "data": {
        "slug": "car-depreciation-calculator",
        "result": {
            "values": {
                "estimated_value": 20149.75999999999839928932487964630126953125,
                "total_depreciation": 21850.24000000000160071067512035369873046875,
                "yearly_values": [
                    {
                        "year": 1,
                        "estimated_value": 33600
                    },
                    {
                        "year": 2,
                        "estimated_value": 29568
                    },
                    {
                        "year": 3,
                        "estimated_value": 26019.84000000000014551915228366851806640625
                    },
                    {
                        "year": 4,
                        "estimated_value": 22897.4599999999991268850862979888916015625
                    },
                    {
                        "year": 5,
                        "estimated_value": 20149.75999999999839928932487964630126953125
                    }
                ]
            },
            "display": {
                "display": "20149.76"
            },
            "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.