Api Endpoint

Automotive Calculators

Lease versus buy over the lease term: lease payment from money factor and residual, loan payment, resale equity and net cost.

Open interactive test console

Offering

Provider
automotive-calc.x402tookit.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://automotive-calc.x402tookit.com/lease-vs-buy
MIME type
application/json
First seen
2026-11-05T17:27:29.627Z
Last seen
Tags
automotive, lease, loan, buy, calculator

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
0.02 USDC
Atomic price: 20000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.02 USDC
Atomic price: 20000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "20000",
    "payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "20000",
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "20000",
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa"
  }
]

Observed health

Status
Degraded
Latest latency
28 ms
Average latency
170 ms
HTTP status
530
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "price": {
          "type": "number",
          "description": "Vehicle price (the capitalized cost before down payment), above 0"
        },
        "termMonths": {
          "type": "integer",
          "description": "Lease term in months, 12 to 72"
        },
        "residualPercent": {
          "type": "number",
          "description": "Residual value as % of price, 10 to 90"
        },
        "moneyFactor": {
          "type": "number",
          "description": "Lease money factor, for example 0.0025 (APR is about 2400 x money factor); or give leaseAprPercent"
        },
        "leaseAprPercent": {
          "type": "number",
          "description": "Lease rate as an APR in percent (instead of moneyFactor)"
        },
        "loanAprPercent": {
          "type": "number",
          "description": "Loan interest rate in percent, 0 to 30"
        },
        "downPayment": {
          "type": "number",
          "description": "Cash down on either deal (default 0)"
        },
        "leaseFees": {
          "type": "number",
          "description": "Acquisition and other upfront lease fees (default 0)"
        },
        "salesTaxPercentOnLeasePayment": {
          "type": "number",
          "description": "Tax % charged on each lease payment, 0 to 15 (default 0)"
        },
        "resalePercent": {
          "type": "number",
          "description": "Resale value of the bought car at the end as % of price (default: the residual percent)"
        }
      },
      "required": [
        "price",
        "termMonths",
        "residualPercent",
        "loanAprPercent"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "verdict": {
          "type": [
            "null",
            "string"
          ]
        },
        "summary": {
          "type": [
            "null",
            "string"
          ]
        },
        "reasons": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "capitalizedCost": {
          "type": [
            "null",
            "number"
          ]
        },
        "residualValue": {
          "type": [
            "null",
            "number"
          ]
        },
        "moneyFactor": {
          "type": [
            "null",
            "number"
          ]
        },
        "equivalentLeaseAprPercent": {
          "type": [
            "null",
            "number"
          ]
        },
        "leasePaymentMonthly": {
          "type": [
            "null",
            "number"
          ]
        },
        "leaseDepreciationPart": {
          "type": [
            "null",
            "number"
          ]
        },
        "leaseFinancePart": {
          "type": [
            "null",
            "number"
          ]
        },
        "leaseTotalPaid": {
          "type": [
            "null",
            "number"
          ]
        },
        "loanPaymentMonthly": {
          "type": [
            "null",
            "number"
          ]
        },
        "loanBalanceAtEnd": {
          "type": [
            "null",
            "number"
          ]
        },
        "resaleValue": {
          "type": [
            "null",
            "number"
          ]
        },
        "buyTotalPaid": {
          "type": [
            "null",
            "number"
          ]
        },
        "buyEquityAtEnd": {
          "type": [
            "null",
            "number"
          ]
        },
        "buyNetCost": {
          "type": [
            "null",
            "number"
          ]
        },
        "leaseNetCostMinusBuyNetCost": {
          "type": [
            "null",
            "number"
          ]
        },
        "monthlyDifference": {
          "type": [
            "null",
            "number"
          ]
        },
        "degraded": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "notChecked": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "source": {
          "type": [
            "null",
            "string"
          ]
        },
        "asOf": {
          "type": [
            "null",
            "string"
          ]
        },
        "disclaimer": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    }
  },
  "required": [
    "type"
  ]
}