← All tool references

Finance · not_available

Trade-In Value Calculator

Trade-In Value 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/trade-in-value-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/trade-in-value-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.

market_value · number · required
Enter comparable market value.
condition_adjustment · number · required
Enter condition adjustment.
dealer_margin · number · required
Enter dealer margin.
loan_balance · number · required
Enter outstanding loan balance.
{
    "type": "object",
    "properties": {
        "market_value": {
            "type": "number",
            "description": "Enter comparable market value."
        },
        "condition_adjustment": {
            "type": "number",
            "description": "Enter condition adjustment."
        },
        "dealer_margin": {
            "type": "number",
            "description": "Enter dealer margin."
        },
        "loan_balance": {
            "type": "number",
            "description": "Enter outstanding loan balance."
        }
    },
    "required": [
        "market_value",
        "condition_adjustment",
        "dealer_margin",
        "loan_balance"
    ],
    "additionalProperties": false
}

Output schema

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

estimated_trade_value · number
Estimated trade value produced by the tool.
equity · number
Estimated equity produced by the tool.
adjusted_market_value · number
Adjusted market value produced by the tool.
{
    "type": "object",
    "properties": {
        "estimated_trade_value": {
            "type": "number",
            "description": "Estimated trade value produced by the tool."
        },
        "equity": {
            "type": "number",
            "description": "Estimated equity produced by the tool."
        },
        "adjusted_market_value": {
            "type": "number",
            "description": "Adjusted market value produced by the tool."
        }
    },
    "additionalProperties": false
}

Trade-In Value 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/trade-in-value-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "market_value": 24000,
    "condition_adjustment": -8,
    "dealer_margin": 12,
    "loan_balance": 15000
}'
{
    "ok": true,
    "data": {
        "slug": "trade-in-value-calculator",
        "result": {
            "values": {
                "estimated_trade_value": 19430.4000000000014551915228366851806640625,
                "equity": 4430.399999999999636202119290828704833984375,
                "adjusted_market_value": 22080
            },
            "display": {
                "display": "19430.4"
            },
            "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.