Estimate what buying a home costs
GET/purchase-cost
The monthly instalment, the cash needed up front and the debt-burden check for one home purchase, from the price, the financing terms and, optionally, the buyer's income. It is arithmetic over published rules, each returned in rules with the document it comes from; it reads no listing, deal or lender quote.
Scope. A salaried Saudi citizen buying a ready home with bank financing, at a profit rate the caller supplies. Not covered, and named in scope.not_covered on every answer: non-citizens, the financing limit for a home that is not the buyer's first (give down_payment_sar), housing-support eligibility, off-plan and self-build purchases, lender fees and insurance, VAT on a developer's first sale, self-employed income and joint borrowers.
The profit rate is yours. No published average rate is served: pass the rate a lender quoted, and say how it is quoted. rate_basis=reducing charges the rate on the outstanding balance (how an APR works); flat charges it on the original amount for every year of the term, which is how a Murabaha rate is often quoted, and gives a higher instalment for the same number.
Financing limit. A citizen's first home may be financed up to 90% of its price, so the down payment defaults to 10%. A smaller one is still computed, with within_financing_limit false.
Debt burden. With monthly_income_sar, the instalment plus monthly_obligations_sar is compared with the central bank's limit on total monthly income: 55% up to SAR 15,000 (65% on housing support), 65% up to SAR 25,000, and no number from SAR 25,000, where the lender's own policy applies. affordability.max_price_sar is the dearest home that limit allows at the same down-payment share.
Transfer tax. 5% of the price. For a citizen's first home the state bears it on the first SAR 1,000,000. The seller is liable in law and the parties agree who pays; transfer_tax_paid_by says which the cash total assumes.
Housing support follows the Real Estate Development Fund's published matrix, by net salary. immediate: SAR 150,000 under a net salary of SAR 10,000, SAR 100,000 from it, applied to the down payment first and then to the financing. monthly: up to SAR 1,350 a month at SAR 3,000, falling by band to up to SAR 416 above SAR 10,000, for at most 20 years. The matrix names one salary per row: a salary between two rows returns both, as low and high. Eligibility is not checked.
Brokerage is included only when brokerage_pct is given: a buyer pays a commission only under their own brokerage contract (2.5% by law where the contract names none).
Every answer carries notice: show it wherever the figures are shown. Free on every plan: it costs no units.
- Authentication
- Send a data key (dk_live_… or dk_test_…) as a Bearer token.
- Scope
market- Cost
- Free
Parameters
| Name | Description |
|---|---|
price_sarrequiredType: integer · query | The home's purchase price in SAR. |
buyerrequiredType: string · query |
One of: |
down_payment_sarType: integer · query | Cash paid down, in SAR. Defaults to 10% of the price for a first home. Required for any other home. |
term_yearsrequiredType: integer · query | Financing term in years. |
profit_rate_pctrequiredType: number · query | Yearly profit rate in percent, as the lender quoted it. |
rate_basisrequiredType: string · query |
One of: |
monthly_income_sarType: integer · query | Total monthly income in SAR. Adds the debt-burden check and |
monthly_obligations_sarType: integer · query | Other monthly credit obligations already being paid, in SAR. Needs |
housing_supportType: string · query |
One of: |
net_salary_sarType: integer · query | The buyer's net monthly salary in SAR, which sets the housing-support amount. |
transfer_tax_paid_byType: string · query | Who pays the transfer tax in this deal. Defaults to One of: |
brokerage_pctType: number · query | The commission in the buyer's own brokerage contract, in percent of the price. Omit when the buyer has no such contract. |
Response
The data field is an object with these fields.
| Name | Description |
|---|---|
scoperequiredType: object | |
financingrequiredType: object | |
instalmentrequiredType: object | |
monthly_supportrequiredType: object | null | Null unless |
transfer_taxrequiredType: object | |
brokeragerequiredType: object | null | Null unless |
upfront_cashrequiredType: object | |
affordabilityrequiredType: object | null | Null unless |
rulesrequiredType: object[] | Each rule the answer applied, with its source. |
noticesrequiredType: string[] | What to keep in mind about this answer: assumptions, gaps and open points. |
noticerequiredType: string | Show this wherever the figures are shown. |
Related endpoints
- Get comparable listings
GET /listings/{id}/comparables - Get a listing's market position
GET /listings/{id}/market-position - Get a listing's nearby asking-price band
GET /listings/{id}/price-band - Find below-market listings
GET /market/below-market - Find below-market listings (old path)
GET /market/deals - Get gross rental yield
GET /market/rental-yield - Get price trends
GET /market/trends - Compare neighborhoods
GET /market/neighborhoods/compare - List advertisers by matching listings
GET /advertisers - Check the asking price for any home
GET /valuations/asking-range