1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "properties": [{
9 "units": "1",
10 "listPrice": "325000",
11 "purchasePrice": "300000",
12 "arv": "400000",
13 "closingCosts": "6000",
14 "rent": "3500",
15 "otherIncome": "0",
16 "vacancy": "5",
17 "rentGrowth": "3",
18 "taxes": "4500",
19 "insurance": "2200",
20 "utilities": "0",
21 "hoa": "0",
22 "maintenancePct": "5",
23 "managementPct": "8",
24 "capexPct": "5",
25 "otherExpense": "0",
26 "downPct": "25",
27 "rate": "7.25",
28 "amortYears": "30",
29 "loanFees": "3000",
30 "cashRehab": "0",
31 "initialReserves": "0",
32 "targetDscr": "1.30",
33 "targetMonthlyCfPct": "0.20",
34 "targetCoc": "10",
35 "targetCapRate": "7",
36 "maxCashPct": "30",
37 "rehab": "35000",
38 "rehabCont": "10",
39 "holdingMonths": "6",
40 "monthlyHolding": "1200",
41 "refiLtv": "75",
42 "refiRate": "7.0",
43 "refiAmort": "30",
44 "refiCosts": "6500",
45 "desiredRefi": "0",
46 "salePrice": "400000",
47 "sellingPct": "7",
48 "flipMonths": "6",
49 "flipFinance": "12000",
50 "targetFlipMarginPct": "12",
51 "targetFlipRoi": "20",
52 "bankPct": "70",
53 "sellerPct": "20",
54 "cashPct": "10",
55 "bankRate": "7.25",
56 "sellerRate": "4",
57 "sellerAmort": "30",
58 "sellerBalloon": "5",
59 "sellerDeferralMonths": "0",
60 "convMarketRate": "6.75",
61 "convMarketDown": "25",
62 "dscrMarketRate": "7.50",
63 "dscrMarketDown": "25",
64 "dscrRefiRate": "7.50",
65 "requiredRefiDscr": "1.25",
66 "flipMarketRate": "9.50",
67 "flipPoints": "2.0",
68 "flipLtc": "85",
69 "rehabFundingPct": "100",
70 "rateSensitivity": "0.50",
71 "rateAsOf": "2026-09-07",
72 "wCash": "20",
73 "wDscr": "20",
74 "wCoc": "15",
75 "wEquity": "20",
76 "wCashEff": "15",
77 "wRisk": "10",
78 "buyBoxName": "My Buy Box",
79 "bbTargetMonthlyCfPct": "0.20",
80 "bbTargetDscr": "1.30",
81 "bbTargetCoc": "10",
82 "bbTargetCapRate": "7",
83 "targetEquityPct": "15",
84 "bbTargetFlipMarginPct": "12",
85 "bbTargetFlipRoi": "20",
86 "bbMaxCashPct": "30",
87 "maxBreakEvenPct": "85",
88 "bbWCash": "20",
89 "bbWDscr": "20",
90 "bbWCoc": "15",
91 "bbWEquity": "20",
92 "bbWCashEff": "15",
93 "bbWRisk": "10",
94 "minBedrooms": "2",
95 "id": "synthetic-example-001",
96 }] }
97
98
99run = client.actor("pioneering_telecast/onedeal-property-batch-analyzer").call(run_input=run_input)
100
101
102print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
103for item in client.dataset(run.default_dataset_id).iterate_items():
104 print(item)
105
106