> ## Documentation Index
> Fetch the complete documentation index at: https://docs.realdealcpa.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Calculate Mortgage API

> Calculate mortgage details based on loan amount, interest rate, and term.

**Endpoint:** `/api/calculate-mortgage`

**Description:**\
Calculate mortgage details based on loan amount, interest rate, and term.

## Request

* **Method:** POST
* **Body:**
  * `loanAmount` (number): The principal loan amount.
  * `interestRate` (number): Annual interest rate (percentage).
  * `termYears` (integer): Loan term in years.

## Response

* **200 OK:** Calculated mortgage details (monthly payment, total interest, etc).

***

*Add further details as needed.*
