Cashew
v1.4.0Live Singapore mortgage rates, package recommendations and home-loan calculators.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
recommend_packages Recommend mortgage packages
Rank live Singapore mortgage packages for one borrower and loan. Returns `recommended` (up to 3 picks with `reasoning`), `lowestRateIds` (cheapest eligible first), `isPersonalised` and `packages` (full details by id). Required: `dealKind` (PURCHASE | REFINANCE), `propertyType` (HDB | PRIVATE | COMMERCIAL), `propertyStatus`, `loanAmount` (SGD); for REFINANCE also `currentBankId` from `list_banks`. Ask for missing facts; do not guess. Valid statuses: HDB: COMPLETED or BTO; PRIVATE: COMPLETED or BUC; COMMERCIAL: OWNEROCCUPIED, INVESTMENT or PERSONAL. Optional: `ratesType` (FIXED | FLOATING), `u…
| Parameter | Type | Description |
|---|---|---|
dealKind * | string | PURCHASE (new loan) or REFINANCE (switching lender). |
loanAmount * | integer | Amount the borrower wants to borrow, in SGD. Packages whose loan-size range does not cover it are excluded. |
propertyStatus * | string | Stage or use of the property, which must suit `propertyType`. For HDB: COMPLETED for a resale flat, BTO for a new Build-To-Order flat. For PRIVATE: COMPLETED for a ready-built home, BUC for one still… |
propertyType * | string | The kind of property securing the loan: an HDB flat, a private home or a commercial property. Only packages offered for it are considered, and it decides which `propertyStatus` values are valid. |
candidateLimit | integer | How many candidate packages the ranker weighs for each of its slots (floating, 2-year fixed, longest fixed); values above 8 have no further effect. Leave unset unless deliberately narrowing the choice… |
currentBankId | string | The borrower's current lender, as the bank `id` returned by `list_banks`. Needed for REFINANCE deals, where that bank's packages are left out; ignored for PURCHASE. |
fixedDurationYrs | Optional filter: keep only packages whose fixed-rate period lasts this many years. Pass an array to accept any of several. Only applied when `ratesType` is FIXED. | |
lockInPeriodYrs | integer | Optional filter: the longest lock-in, in years, the borrower will accept. Packages with a longer lock-in are excluded; packages without one always qualify. |
ratesType | string | Optional rate type: FIXED or FLOATING. This is a hard filter on the candidate pool, not a ranking hint. Omit it when the borrower stated no preference, so a mix of rate types stays eligible. |
userContext | Optional free-text summary of the borrower's priorities, timeline, bank relationships, citizenship, employment, family changes, etc. Only refines the LLM ranking; omit if there are no stated prioritie… |
compare_packages Compare mortgage packages
Compare 2–3 specific mortgage packages side by side: average rate over the lock-in, benchmark index, effective rate and monthly instalment per year, interest paid per year, and flexibility terms (prepayment, free conversion, sale waiver, penalties, minimum loan). Required: `packageIds` from `recommend_packages` and `loanAmount` (SGD). Optional: `tenureYears` (default 25); `dealKind`/`propertyType`/`propertyStatus` only label the comparison header. Not for finding packages: it has no borrower context, so use `recommend_packages` for a personalised ranking. `verdicts`/`recommendedId` only ca…
| Parameter | Type | Description |
|---|---|---|
loanAmount * | integer | Loan principal in SGD (whole dollars). |
packageIds * | array | 2–3 package ids to compare, e.g. from `recommend_packages`. |
dealKind | string | Whether the loan is a new PURCHASE or a REFINANCE from another lender. Only labels the comparison header; the figures are unchanged. |
propertyStatus | string | Stage or use of the property, e.g. COMPLETED (resale or ready-built), BTO or BUC (new, under construction). Only labels the comparison header; the figures are unchanged. |
propertyType | string | The kind of property securing the loan (HDB flat, private home or commercial). Only labels the comparison header; the figures are unchanged. |
recommendedId | string | The rank-1 package from the prior `recommend_packages` call; its column is highlighted as "Recommended". Only meaningful together with `verdicts`. |
tenureYears | integer | Repayment period, in years, used for each package’s instalment and interest. |
verdicts | array | Per-package verdict texts carried over from a prior `recommend_packages` call (the LLM reasoning). Adds the verdict row to the comparison; omit for a comparison without verdicts. Do not author these b… |
list_banks List banks
List active banks and lenders (id and name), sorted by name. Use it to resolve a borrower's current lender to the `currentBankId` that `recommend_packages` requires for refinance deals. Not a rate source.
get_property_valuation Get indicative property valuation
Indicative valuation (SGD) for a Singapore residential unit from an external valuation source. Requires `postalCode` and `unitNumber` in FF-SS format (e.g. "04-02"). `propertyType` ("Condo" or "HDB") and `areaSqft` are optional; without `propertyType` both are tried and `propertyTypeUsed` says which valued the unit. `valued: false` means the unit could not be valued: a valid answer, not an error. An estimate, not a formal bank valuation.
| Parameter | Type | Description |
|---|---|---|
postalCode * | string | Postal code of the building the unit is in, e.g. "248973". |
unitNumber * | string | Floor and stack of the unit, e.g. "04-02" for floor 4, stack 02. |
areaSqft | number | Optional built-in/strata area in sqft; can rescue a "$0" valuation. |
propertyType | string | Whether the unit is a private condominium or an HDB flat. Omit to auto-detect: both are probed and the one that values the unit is used (`propertyTypeUsed` reports which). |
calculate_package_schedule Calculate package payment schedule
Compute the amortisation schedule for a specific mortgage package using that package's real effective rates. Returns loan facts (`context`), the per-tier breakdown (`periods`), rate structure, totals and the per-year schedule (`annual`). Required: `packageId` from `recommend_packages`, `loanAmount` (SGD) and `tenureYears`. Optional: `includeMonthly: true` fills `monthly`; `firstPaymentDate` (YYYY-MM-DD, defaults to next month). Not for hypothetical rates: use `calculate_mortgage_repayment` for a what-if rate the borrower holds no package for. Read-only: nothing is saved.
| Parameter | Type | Description |
|---|---|---|
loanAmount * | integer | Amount borrowed under this package, in SGD. |
packageId * | string | Package id, as returned by `recommend_packages`. |
tenureYears * | integer | Repayment period of the loan, in years; the schedule amortises over it. |
firstPaymentDate | string | First repayment month as an ISO date (YYYY-MM-DD). Defaults to next month. |
includeMonthly | boolean | Include the full month-by-month schedule (`monthly[]`) in the response. Omitted/false returns an empty `monthly[]` to keep the payload small. |
list_market_indices List market indices
List market benchmark indices (id, slug, name, currency), sorted by slug. Use this to resolve a benchmark name like 'SORA' into the `marketIndexId` required by `get_index_quotes`.
get_index_quotes Get market index quotes
Return historical quotes (rate by date) for a market benchmark index such as SORA. Requires `marketIndexId` from `list_market_indices`. Optional `startDate`/`endDate` (YYYY-MM-DD) narrow the range; results are paginated, newest first. Quote `rate` values are decimal fractions (0.0356 = 3.56% p.a.). Not a package rate: use `recommend_packages` for those.
| Parameter | Type | Description |
|---|---|---|
marketIndexId * | string | Market index UUID. Resolve a benchmark name/slug via `list_market_indices`. |
endDate | string | Latest quote date to include. Omit for no upper bound. |
limit | integer | Number of quotes per page. |
page | integer | Page of results to return, counting from 1; `totalPages` gives the last. |
startDate | string | Earliest quote date to include. Omit for no lower bound. |
calculate_affordability Affordability calculator
Estimate the maximum loan and property price (SGD) a borrower can afford from monthly income, existing debt commitments and tenure, applying Singapore TDSR/MSR limits. Use this when you know the income and want the budget; for the income a target price needs, use `calculate_required_income`. For joint borrowers with assets and liabilities in detail, use `check_eligibility`.
| Parameter | Type | Description |
|---|---|---|
monthlyFixedIncome * | number | Gross fixed monthly income (salary), in SGD. |
age | integer | Age of the (oldest) borrower. |
cashSavings | number | Cash available for downpayment, in SGD. |
citizenship | string | Buyer citizenship: singaporean, pr or foreigner. Drives ABSD rate. |
cpfOA | number | CPF Ordinary Account balance usable, in SGD. |
existingPropertiesOwned | integer | Count of residential properties already owned; sets the ABSD tier (0, 1 or 2+). Takes precedence over existingProperty when provided. |
existingProperty | boolean | True if the borrower already owns ≥1 property (affects ABSD and LTV). |
interestRate | number | Assumed annual interest rate, as a percentage (e.g. 4.0 = 4%, not 0.04). |
loanTenureYears | integer | Repayment period, in years, over which the maximum loan is sized. |
monthlyDebt | number | Total existing monthly debt commitments (other loans, cards), in SGD. |
monthlyVariableIncome | number | Gross variable monthly income (bonus/commission), in SGD; haircut 30% under TDSR. |
propertyType | string | Property type: hdb, ec (Executive Condominium) or private. Sets MSR/LTV rules. |
stressTestRate | number | Override the TDSR/MSR stress-test rate (percentage); defaults to the MAS floor. |
calculate_required_income Required-income calculator
Reverse affordability: work out the gross monthly income (SGD) needed to support a target property price under Singapore TDSR/MSR limits. Use this when you know the target price; for the budget a known income supports, use `calculate_affordability`.
| Parameter | Type | Description |
|---|---|---|
propertyPrice * | number | Target property purchase price, in SGD. |
age | integer | Age of the (oldest) borrower. |
cashSavings | number | Cash available for downpayment, in SGD. |
citizenship | string | Buyer's residency status (Singapore citizen, permanent resident or foreigner); sets the ABSD rate. |
cpfOA | number | CPF Ordinary Account balance usable, in SGD. |
existingPropertiesOwned | integer | Count of residential properties already owned; sets the ABSD tier (0, 1 or 2+). Takes precedence over existingProperty when provided. |
existingProperty | boolean | True if the borrower already owns ≥1 property (affects ABSD and LTV). |
interestRate | number | Assumed annual interest rate, as a percentage (e.g. 4.0 = 4%, not 0.04). |
loanTenureYears | integer | Loan tenure in years. |
monthlyDebt | number | Total existing monthly debt commitments, in SGD. |
propertyType | string | Type of property: an HDB flat, an Executive Condominium (ec) or private. HDB and EC purchases are also held to the MSR limit. |
stressTestRate | number | Override the TDSR/MSR stress-test rate (percentage); defaults to the MAS floor. |
calculate_mortgage_repayment Mortgage repayment calculator
Compute the monthly repayment, total interest and total cost (SGD) for a hypothetical loan from a loan amount, tenure and an interest rate you supply (standard amortisation). Use this for what-if rates; for the real rates of a specific package, use `calculate_package_schedule` instead.
| Parameter | Type | Description |
|---|---|---|
interestRate * | number | Hypothetical annual interest rate held for the whole tenure, as a percentage (e.g. 3.5 = 3.5%, not 0.035). |
loanAmount * | number | Amount borrowed, in SGD. |
tenureYears * | integer | Loan tenure in years. |
calculate_refinance_savings Refinance savings calculator
Compare a borrower's existing mortgage against a new rate and report monthly savings, total savings (SGD) and break-even months. Set `mode` to 'original' (supply the original loan amount, tenure and start date) or 'remaining' (supply the current outstanding balance and remaining tenure). Not for finding the new package: use `recommend_packages` for that.
| Parameter | Type | Description |
|---|---|---|
currentRate * | number | Annual rate on the existing loan, as a percentage (e.g. 4.0 = 4%). |
mode * | string | Use 'original' when supplying the loan's original terms and start date, 'remaining' when supplying the current outstanding balance and tenure left. |
newRate * | number | Annual rate offered on the new loan, as a percentage (e.g. 3.2 = 3.2%). |
earlyRedemptionPenalty | number | Penalty the current bank charges for repaying within its lock-in, in SGD; treated as a switching cost like refinancingCosts. |
loanStartMonth | integer | Mode 'original': month the loan started, as a number (1 = January). |
loanStartYear | integer | Mode 'original': calendar year the loan started, e.g. 2021. |
newTenureYears | integer | Tenure of the new loan, in years. Omit to keep the current loan’s remaining tenure. |
originalLoanAmount | number | Mode 'original': the amount first borrowed, in SGD. Today's balance is worked out from it. |
originalTenureYears | integer | Mode 'original': the tenure the loan was first taken over, in years. |
refinancingCosts | number | One-off cost of switching (legal and valuation fees), in SGD; deducted from the savings and recouped in the break-even. |
remainingAmount | number | Mode 'remaining': the balance still owed today, in SGD. |
remainingTenureYears | integer | Mode 'remaining': years left to repay on the current loan. |
calculate_residential_stamp_duty Residential stamp duty (BSD + ABSD)
Compute Buyer's Stamp Duty (BSD) and Additional Buyer's Stamp Duty (ABSD) in SGD for a Singapore residential purchase, given the price or value, buyer type (singaporean | pr | foreigner | entity | trust) and the number of residential properties already owned. For the full upfront cost of a purchase, use `calculate_purchase_cost`.
| Parameter | Type | Description |
|---|---|---|
price * | number | Purchase price or market value (whichever higher), in SGD. |
buyerType | string | Residency or legal status of the buyer (citizen, permanent resident, foreigner, company or trust); sets the ABSD rate. |
existingPropertiesOwned | integer | Count of residential properties the buyer already owns (sets the ABSD tier). |
propertyType | string | Type of residential property being bought. It does not change the result: BSD and ABSD depend on price, buyer and properties already owned. |
purchaseType | string | How the property will be held. `entity` (a company) or `trust` applies that ABSD rate whatever `buyerType` says; for the individual options the rate follows `buyerType`. |
calculate_rental_stamp_duty Rental stamp duty
Compute the Singapore stamp duty (SGD) payable on a property lease or tenancy from the rent and lease term. Not for purchases: use `calculate_residential_stamp_duty` for BSD and ABSD.
| Parameter | Type | Description |
|---|---|---|
monthlyRent * | number | Monthly rent under the lease, in SGD. |
hasPremium | boolean | True if the lease carries a lump-sum premium. |
leasePeriodMonths | integer | Lease term in months. |
premiumAmount | number | One-off premium paid on top of the rent, in SGD; only counted when `hasPremium` is true. |
calculate_mortgage_stamp_duty Mortgage stamp duty
Compute the Singapore stamp duty (SGD) payable on a mortgage or loan facility from the loan amount. Not for purchases: use `calculate_residential_stamp_duty` for BSD and ABSD.
| Parameter | Type | Description |
|---|---|---|
loanAmount * | number | Mortgage/loan facility amount, in SGD. |
calculate_seller_stamp_duty Seller's Stamp Duty (SSD)
Compute Singapore Seller's Stamp Duty (SSD, in SGD) from the sale price or value and how long the residential property has been held. For net cash from a sale, use `calculate_sales_proceeds`.
| Parameter | Type | Description |
|---|---|---|
price * | number | Sale price or market value (whichever higher), in SGD. |
purchaseDate * | string | Date the property was acquired (ISO date, YYYY-MM-DD). |
saleDate * | string | Date the property is/was sold (ISO date, YYYY-MM-DD). |
analyze_sell_one_buy_two Sell-one-buy-two analysis
Analyse a 'sell one, buy two' plan where two co-owners sell their joint home. Returns the sale proceeds (cash after loan, CPF refunds, SSD and legal fees) and each buyer's resulting cash and CPF. With `buy1`, it compares buying one replacement jointly or under either buyer alone; with `buy2Property1` and `buy2Property2`, each buyer buying one property (both pairings). Every option is given at 30- and 35-year tenures with max loan, LTV, instalment, downpayment, stamp duties, cash/CPF shortfalls, TDSR used and an affordability verdict.
| Parameter | Type | Description |
|---|---|---|
buyer1 * | object | Income/CPF profile of buyer 1. |
buyer2 * | object | Income/CPF profile of buyer 2. |
valuation * | number | Expected sale price of the jointly owned property being sold, in SGD. |
buy1 | object | The single property in the "buy one" scenario. |
buy2Property1 | object | First property in the "buy two" scenario. |
buy2Property2 | object | Second property in the "buy two" scenario. |
buyer1CpfUsage | number | CPF (with accrued interest) buyer 1 must refund on sale, in SGD. |
buyer1Shares | number | Buyer 1's ownership share of the sold property, in percent; splits the cash proceeds. |
buyer2CpfUsage | number | CPF (with accrued interest) buyer 2 must refund on sale, in SGD. |
buyer2Shares | number | Buyer 2's ownership share of the sold property, in percent; splits the cash proceeds. Omit to use 100 minus buyer1Shares. |
outstandingLoan | number | Loan still owed on the property being sold, repaid from the sale, in SGD. |
sellerStampDuty | number | Seller's Stamp Duty payable on the sale, in SGD. |
sellingLegalFees | number | Conveyancing fees for the sale, deducted from the proceeds, in SGD. |
check_eligibility Eligibility checker (TDSR / MSR)
Run the regulatory affordability gate for one main borrower and up to three joint borrowers. Given each borrower's income, rental, pledged/unpledged assets and liabilities plus a proposed loan, returns the qualifying income (after MAS haircuts), the TDSR and MSR for the proposed loan, the income-weighted average age (IWAA), and the maximum loan under both HDB/EC and private property rules. Use this upstream of `recommend_packages` to confirm what a borrower can qualify for.
| Parameter | Type | Description |
|---|---|---|
borrowers * | array | The main borrower followed by any joint borrowers; their qualifying incomes and liabilities are pooled. |
proposedLoanAmount * | number | The loan amount being tested, in SGD. |
ageConvention | string | How borrower age is computed; defaults to birth-date. The tRPC router resolves it per bank from the bank slug. |
asOfDate | string | Reference date (ISO YYYY-MM-DD) for age and IWAA; defaults to today. |
benchmarkRate | number | MAS medium-term stress rate, as a percentage (e.g. 4.0 = 4%, not 0.04). |
combinationSplit | number | For the pledge/show combination: fraction of the income gap covered by pledged funds; the remainder is covered by show funds. Defaults to 0.5. |
existingHousingLoans | integer | Number of outstanding housing loans held. Selects the LTV tier (0 -> full, 1 -> second, 2+ -> third). Defaults to 0 when omitted. |
loanTenureYears | integer | Loan tenure being tested, in years; checked against the longest tenure these borrowers can get. |
propertyType | string | Property type: hdb, ec or private. Sets the maximum loan tenure (35y private and EC, 30y HDB) and the lower-LTV-tier triggers. EC also carries MSR, like HDB. |
targetLoanAmount | number | Optional target loan amount, in SGD. With targetPurchasePrice it sets the LTV (loan / price, capped at the applicable LTV) and takes precedence over targetLtvCap. Without a price, the price is derived… |
targetLtvCap | number | Optional manual LTV cap for the target loan, as a decimal (e.g. 0.6 = 60%). When set and below the applicable LTV, toReachTarget is sized at this lower LTV so the loan and unlock figures reflect a sma… |
targetPurchasePrice | number | Optional target purchase price, in SGD. When set, the result includes toReachTarget: the loan needed at the first-loan LTV and the eligible funds to reach it. |
analyze_decoupling Decoupling analysis
Analyse decoupling, where one co-owner of a Singapore property transfers their share to the other: the seller's cash proceeds (after loan, CPF refund, SSD and legal fees), the buyer's financing of the share, BSD and ABSD, and the cost of each option for a planned next purchase. All amounts in SGD.
| Parameter | Type | Description |
|---|---|---|
buyer * | object | The co-owner buying out the share and refinancing. |
seller * | object | The co-owner transferring out their share. |
valuation * | number | Current market value of the whole property, in SGD; each party's share is valued pro rata. |
newPropertyPrice | number | Price of a subsequent property purchase the freed-up buyer plans, in SGD. |
outstandingLoan | number | Loan still owed on the whole property, in SGD; split between the parties by share. |
calculate_sales_proceeds Sales proceeds calculator
Work out what a seller walks away with when selling a property: cash proceeds after redeeming the outstanding loan, refunding each owner’s CPF (principal plus accrued interest, 1 to 4 owners), and paying agent commission (with 9% GST), legal and miscellaneous fees. Flags a negative sale when the deductions exceed the selling price.
| Parameter | Type | Description |
|---|---|---|
owners * | array | CPF usage per owner (1 to 4 owners). Include every owner; use zeros for an owner who used no CPF. |
sellingPrice * | number | Price the property sells for, in SGD; every deduction comes out of it. |
agentFeePercent | number | Agent commission as a share of the selling price, as a percentage (e.g. 1.5 = 1.5%, not 0.015), before the 9% GST added on top. |
legalFees | number | Conveyancing fees for the sale, deducted from the proceeds, in SGD. |
miscellaneousFees | number | Other selling costs (repairs, valuation, admin), in SGD. |
outstandingLoanAmount | number | Home loan still owed, repaid from the sale on completion, in SGD. |
calculate_purchase_cost Purchase cost & funding breakdown
Calculate the full upfront cost of purchasing a Singapore residential property (HDB or private resale), with each cost line attributed to its funding source (cash, CPF or bank loan). Returns option fee, exercise fee, stamp duties (BSD and ABSD), downpayment breakdown, and a sufficiency check against available funds.
| Parameter | Type | Description |
|---|---|---|
propertyType * | string | Whether this is an HDB resale flat or a private property; sets the option and exercise fees, default legal and valuation fees, and stamp-duty funding. |
purchasePrice * | number | Agreed purchase price, in SGD; fees, stamp duties and downpayment follow from it. |
availableCash | number | Cash the buyer can put towards the purchase, in SGD; checked in `cashSufficiency`. |
availableCpfOA | number | CPF Ordinary Account balance the buyer can put towards the purchase, in SGD; checked in `cpfSufficiency`. |
buyerType | string | Residency or legal status of the buyer; sets the ABSD rate. |
cpfFirst | boolean | When true, fund CPF-eligible costs from a single CPF pool capped at availableCpfOA (CPF first, remainder cash), overriding the per-item cash/cpf funding sources. ABSD stays cash. |
existingPropertiesOwned | integer | Residential properties the buyer already owns; sets the ABSD tier. |
legalFeeFunding | string | Pay the legal/conveyancing fee from cash or from CPF. |
legalFeeOverride | number | Legal/conveyancing fee to use instead of the standard estimate ($2,000 HDB, $3,000 private), in SGD. |
loanAmount | number | Bank loan amount, in SGD. Takes precedence over `ltv`; with neither, a 75% loan is assumed. |
ltv | number | Loan as a fraction of the purchase price (e.g. 0.75 = 75%). Used only when loanAmount is omitted. |
minimumCashPercent | number | Minimum cash component as a percentage of price: 5 or 10 on a first housing loan, 25 with one already outstanding. |
stampDutyFunding | string | Pay the stamp duties (BSD and ABSD) from cash or from CPF. Omit for the usual convention: HDB pays BSD from CPF, private from cash, and ABSD is paid in cash. |
valuationFeeOverride | number | Override for valuation fee, in SGD. Defaults to $120 (HDB) or $350 (private). |
calculate_hdb_resale_timeline HDB resale purchase timeline
Generate a step-by-step dated timeline for an HDB resale purchase, from securing the Option to Purchase through to completion and key collection. Returns the ordered steps (what happens, the date, any payment due and its CPF/cash split), a summary (total payments, CPF and cash totals, completion date, duration in days), BSD and ABSD, the funding split (LTV, downpayment, minimum cash, cash-or-CPF remainder, monthly instalment when a rate and tenure are given), the completion date used, and self-checks.
| Parameter | Type | Description |
|---|---|---|
exerciseDate * | string | Date the option is exercised (ISO 8601). |
optionDate * | string | Date the Option to Purchase is granted, e.g. 2026-08-01; the timeline starts here. |
optionExpiryDate * | string | Last day to exercise the option (ISO 8601). |
purchasePrice * | number | Agreed resale price of the HDB flat, in SGD; sets the stamp duties and downpayment. |
buyerType | string | Residency or legal status of the buyer; sets the ABSD rate. |
completionDate | string | Completion date (ISO 8601). Defaults to exerciseDate + 70 calendar days if not provided. |
cpfUsage | number | CPF OA savings the buyer will put towards the purchase, in SGD. Drawn down in step order against the legal fee, stamp duty and completion payment, the only payments CPF may make here; each payment rep… |
exerciseFee | number | Fee paid to the seller when the option is exercised, in SGD. |
existingPropertiesOwned | integer | Residential properties the buyer already owns; sets the ABSD tier. |
interestRate | number | Annual loan interest rate, as a percentage (e.g. 3.5 = 3.5%). Supply with tenureYears to get `funding.monthlyInstalment`; otherwise it is null. |
legalFee | number | Conveyancing fee for the purchase, in SGD; part of the total outlay. |
loanAmount | number | Housing loan amount, in SGD; 0 for a cash purchase. Sets the LTV band, the minimum cash and the completion payment. |
minimumCashPercent | MAS minimum cash downpayment for the buyer's loan band, as a fraction of the price: 0.05 (75% LTV band) or 0.1 (55% LTV band). The band follows the borrower, not the loan taken, so a small loan on the… | |
optionFee | number | Fee paid to the seller when the Option to Purchase is granted, in SGD; HDB caps it at $1,000. |
otherFees | number | Other costs (valuation, repairs, admin), in SGD. Reported alongside legal fees and stamp duty as part of the total outlay. |
tenureYears | integer | Loan tenure in years. Supply with interestRate to get `funding.monthlyInstalment`. |
calculate_private_resale_timeline Private resale purchase timeline
Generate a step-by-step dated timeline for a private (non-HDB) resale purchase, with the 1% option fee, 4% exercise payment, stamp duties and completion payment at the right steps. Exercise date defaults to 14 calendar days inclusive of the option date if not entered.
| Parameter | Type | Description |
|---|---|---|
optionDate * | string | Option to Purchase date (ISO 8601). |
optionExpiryDate * | string | Last day to exercise the option (ISO 8601). |
purchasePrice * | number | Agreed purchase price of the private property, in SGD; sets the option fee, exercise payment, stamp duties and downpayment. |
buyerType | string | Residency or legal status of the buyer; sets the ABSD rate. |
completionDate | string | Completion date (ISO 8601). Defaults to exerciseDate + 70 calendar days if not provided. |
cpfUsage | number | CPF OA savings the buyer will put towards the purchase, in SGD. Drawn down in step order against the legal fee and completion payment, the only payments CPF may make; each payment reports its `cpf` an… |
exerciseDate | string | Exercise date (ISO 8601). Defaults to optionDate + 13 calendar days if not provided. |
existingPropertiesOwned | integer | Residential properties the buyer already owns; sets the ABSD tier. |
interestRate | number | Annual loan interest rate, as a percentage (e.g. 3.5 = 3.5%). Supply with tenureYears to get `funding.monthlyInstalment`; otherwise it is null. |
legalFee | number | Conveyancing fee for the purchase, in SGD; part of the total outlay. |
loanAmount | number | Housing loan amount, in SGD; 0 for a cash purchase. Sets the LTV band, the minimum cash and the completion payment. |
otherFees | number | Other costs (valuation, repairs, admin), in SGD. Reported alongside legal fees and stamp duty as part of the total outlay. |
tenureYears | integer | Loan tenure in years. Supply with interestRate to get `funding.monthlyInstalment`. |
calculate_progressive_payment Progressive payment (BUC) calculator
Model the monthly instalment profile of a Singapore Building Under Construction (BUC) property loan across progressive payment stages. Handles fixed and floating rate packages, per-stage cash/CPF/loan funding split, drawdown timing, rate stepping by year, and optional prepayments. Set includeSchedule to true for the full month-by-month amortisation schedule (summary is always included).
| Parameter | Type | Description |
|---|---|---|
otpDate * | string | Option to Purchase date (ISO 8601). |
purchasePrice * | number | Purchase price of the BUC property, in SGD; each stage's payment is a share of it. |
ratePerYear * | array | Annual interest rates by year as percentages (e.g. [2.5, 2.5, 3.0, 3.5, 3.5, 3.5] for years 1-5 and thereafter). Last value applies to all subsequent years. |
tenureYears * | integer | Loan tenure in years, counted from the first drawdown. |
topDate * | string | Expected Temporary Occupation Permit date (ISO 8601). |
availableCpfOA | number | Available CPF Ordinary Account balance, in SGD. When set, each stage’s equity CPF portion is capped at the remaining OA balance and the rest is funded by cash. When omitted, CPF covers all equity ab… |
cscOffsetMonths | integer | Months from TOP to CSC (default 12). |
includeSchedule | boolean | If true, include the full month-by-month amortisation schedule in output. |
loanAmount | number | Loan amount in SGD. Takes precedence over loanQuantum. |
loanQuantum | number | Loan as a fraction of the price (e.g. 0.75 = 75%). Used only when loanAmount is omitted; with neither, 75% is assumed. |
lockInMonths | integer | Lock-in period in months from first drawdown. |
minimumCashPercent | number | Minimum cash downpayment as a percentage of the purchase price (e.g. 5 = 5%); CPF or cash covers the rest of the equity. |
prepaymentOutcome | string | What happens after a prepayment: lower instalment or shorter tenure. |
prepaymentPenaltyPercent | number | Penalty as a percentage of prepaid amount if within lock-in period. |
prepayments | array | Optional list of prepayments. |
rateMode | string | How each year's rate is set: 'fixed' takes it from ratePerYear; 'floating' uses referenceRate plus that year's spreadPerYear and ignores ratePerYear. |
referenceRate | number | Floating mode only: the benchmark rate such as 3M SORA, as a percentage (e.g. 3.5 = 3.5%), to which each year's spread is added. Omitted, it is taken as 0, so the rate is the spread alone. Ignored in… |
spreadPerYear | array | Spread per year for floating mode, as percentages. Last value applies to all subsequent years. |
stages | array | Custom stage schedule. Defaults to the standard 10-stage BUC schedule. Percentages must sum to 100. |