# Rental Property Deal Analyzer (Section 8 FMR & Cash Flow) (`chun_yung_lo/rental-property-deal-analyzer`) Actor

Analyze a rental property deal in seconds. Get monthly cash flow, cap rate, cash-on-cash return, DSCR and a PASS / NEAR-MISS / FAIL verdict against your own criteria, with market rent vs Section 8 FMR scenarios.

- **URL**: https://apify.com/chun_yung_lo/rental-property-deal-analyzer.md
- **Developed by:** [Chun-Yung Yong Lo](https://apify.com/chun_yung_lo) (community)
- **Categories:** Real estate, Business
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 deal analyzeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Rental Property Deal Analyzer (Section 8 FMR & Cash Flow Verdict)

Paste the numbers for a rental property and get a clear verdict on whether it meets **your** investment criteria. The tool compares a **market-rent** scenario with an optional **Section 8 (HUD Fair Market Rent)** scenario side by side. It runs fully offline: no scraping, no logins, no external data calls.

### What it does

For each rent scenario it calculates:

- Monthly mortgage payment (standard amortization; 0% interest supported)
- Net operating income (NOI) after vacancy, property tax, insurance, HOA, maintenance, management, CapEx and other expenses
- Monthly and annual cash flow after debt service
- Cap rate, cash-on-cash return, DSCR (for financed deals) and rent-to-price ratio (the 1% rule)
- A verdict against your thresholds:
  - **PASS**: every metric meets your minimum.
  - **NEAR-MISS**: at least one metric misses, but every metric is within 80% of its minimum.
  - **FAIL**: at least one metric is below 80% of its minimum.

Section 8 FMR is entered by you (look it up on the HUD website for the unit size and ZIP code). The Section 8 rent is `FMR x payment standard %`, since housing authorities typically set 90-110% of FMR.

### Input example

```json
{
  "purchasePrice": 150000,
  "downPaymentPct": 20,
  "interestRatePct": 7,
  "marketRent": 1500,
  "sectionEightFmr": 1650,
  "paymentStandardPct": 100,
  "annualPropertyTax": 1800,
  "annualInsurance": 900,
  "minCashOnCashPct": 8,
  "minCapRatePct": 6,
  "minDscr": 1.2,
  "minMonthlyCashFlow": 200
}
```

### Output example

One row per scenario:

```json
{
  "scenario": "Section 8 FMR",
  "monthlyRent": 1650.0,
  "monthlyMortgage": 798.36,
  "noiMonthly": 1113.5,
  "monthlyCashFlow": 315.14,
  "capRatePct": 8.91,
  "cashOnCashPct": 9.7,
  "dscr": 1.39,
  "verdict": "PASS",
  "failedCriteria": [],
  "summary": "Section 8 FMR: PASS, cash flow $315.14/mo"
}
```

(Figures above are illustrative.)

### Pricing

US$0.01 per deal analyzed (one run = one event, regardless of the number of scenarios).

### Limits and notes

- The tool does not look up FMR, rents, taxes or prices. You supply the numbers.
- Cap rate uses purchase price (not including rehab); cash-on-cash uses down payment + closing costs + rehab as cash invested.
- Management fee applies to collected rent (after vacancy); maintenance and CapEx apply to gross rent.
- The verdict is a screening aid based on your own thresholds, not financial advice. It is not the DoorVault IDEAL scoring rubric.
- Section 8 scenarios ignore program-specific costs such as inspection delays and rent-reasonableness caps.

### Credits

Built from standard, public real estate formulas (mortgage amortization, NOI, cap rate, cash-on-cash, DSCR). No third-party library is used, so there is no upstream project or license to credit. Not affiliated with DoorVault or HUD.

# Actor input Schema

## `purchasePrice` (type: `number`):

Purchase price of the property in US dollars.

## `downPaymentPct` (type: `number`):

Down payment as a percent of the purchase price (0-100). Use 100 for an all-cash purchase.

## `interestRatePct` (type: `number`):

Annual mortgage interest rate in percent. 0 is allowed.

## `loanTermYears` (type: `integer`):

Mortgage term in years (1-50).

## `closingCostPct` (type: `number`):

Closing costs as a percent of the purchase price, paid in cash.

## `rehabCost` (type: `number`):

Up-front renovation cost paid in cash.

## `marketRent` (type: `number`):

Expected monthly rent from a regular market-rate tenant.

## `sectionEightFmr` (type: `number`):

Optional. HUD Fair Market Rent for this unit size and area, which you look up yourself. When given, a second Section 8 scenario is analyzed.

## `paymentStandardPct` (type: `number`):

The local housing authority payment standard as a percent of FMR (usually 90-110). Section 8 rent = FMR x this percent.

## `annualPropertyTax` (type: `number`):

Annual property tax.

## `annualInsurance` (type: `number`):

Annual landlord insurance.

## `monthlyHoa` (type: `number`):

Monthly HOA dues.

## `otherMonthlyExpenses` (type: `number`):

Any other fixed monthly operating expense such as utilities paid by the owner.

## `vacancyPct` (type: `number`):

Vacancy allowance as a percent of rent.

## `sectionEightVacancyPct` (type: `number`):

Optional vacancy allowance for the Section 8 scenario. Defaults to the vacancy value above.

## `maintenancePct` (type: `number`):

Maintenance reserve as a percent of gross rent.

## `managementPct` (type: `number`):

Management fee as a percent of collected rent (rent after vacancy).

## `capexPct` (type: `number`):

Capital expenditure reserve as a percent of gross rent.

## `minCashOnCashPct` (type: `number`):

Your target for annual cash-on-cash return.

## `minCapRatePct` (type: `number`):

Your target for cap rate.

## `minDscr` (type: `number`):

Minimum debt service coverage ratio. Ignored for all-cash deals.

## `minMonthlyCashFlow` (type: `number`):

Your target for monthly cash flow after debt service.

## Actor input object example

```json
{
  "purchasePrice": 150000,
  "downPaymentPct": 20,
  "interestRatePct": 7,
  "loanTermYears": 30,
  "closingCostPct": 3,
  "rehabCost": 0,
  "marketRent": 1500,
  "sectionEightFmr": 1650,
  "paymentStandardPct": 100,
  "annualPropertyTax": 1800,
  "annualInsurance": 900,
  "monthlyHoa": 0,
  "otherMonthlyExpenses": 0,
  "vacancyPct": 5,
  "maintenancePct": 5,
  "managementPct": 8,
  "capexPct": 5,
  "minCashOnCashPct": 8,
  "minCapRatePct": 6,
  "minDscr": 1.2,
  "minMonthlyCashFlow": 200
}
```

# Actor output Schema

## `results` (type: `string`):

One row per processed input

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "purchasePrice": 150000,
    "marketRent": 1500,
    "sectionEightFmr": 1650,
    "annualPropertyTax": 1800,
    "annualInsurance": 900
};

// Run the Actor and wait for it to finish
const run = await client.actor("chun_yung_lo/rental-property-deal-analyzer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "purchasePrice": 150000,
    "marketRent": 1500,
    "sectionEightFmr": 1650,
    "annualPropertyTax": 1800,
    "annualInsurance": 900,
}

# Run the Actor and wait for it to finish
run = client.actor("chun_yung_lo/rental-property-deal-analyzer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "purchasePrice": 150000,
  "marketRent": 1500,
  "sectionEightFmr": 1650,
  "annualPropertyTax": 1800,
  "annualInsurance": 900
}' |
apify call chun_yung_lo/rental-property-deal-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,chun_yung_lo/rental-property-deal-analyzer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eJm5b0X0xcM1cBcR3/builds/cpHj9gKNTPWr8IqHU/openapi.json
