Sindri · CashOnCashReturnCalculator

by Sindri

POSTBaseSolana

$0.01

per call · USD Coin on Base

Cash-on-cash return calculator for real estate investing. Runs a full multi-year deal analysis (per-category rent/expense growth, a sale scenario, IRR) and headlines the first-year cash-on-cash return: operating cash flow divided by invested cash.

Endpoint

POST https://x402.outpimp.com/cashOnCashReturnCalculator

3

Calls / 30d

1

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.outpimp.com/cashOnCashReturnCalculator", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "annualInsurance": 0,
    "annualMaintenance": 0,
    "annualPropertyTaxes": 0,
    "closingCosts": 0,
    "downPaymentPercent": 0.2,
    "hoaAnnualIncrease": 0,
    "holdingLengthYears": 2,
    "insuranceAnnualIncrease": 0,
    "interestRate": 0,
    "loanTermYears": 10,
    "maintenanceAnnualIncrease": 0,
    "monthlyHOA": 0,
    "monthlyRent": 2000,
    "otherAnnualExpenses": 0,
    "otherAnnualIncrease": 0,
    "propertyManagementFeeRate": 0,
    "purchasePrice": 200000,
    "rehabCosts": 0,
    "rentAnnualIncrease": 0,
    "saleExpensesRate": 0,
    "salePrice": 200000,
    "taxesAnnualIncrease": 0,
    "vacancyRate": 0
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.outpimp.com/cashOnCashReturnCalculator" \
  -H "Content-Type: application/json" \
  -d '{"annualInsurance":0,"annualMaintenance":0,"annualPropertyTaxes":0,"closingCosts":0,"downPaymentPercent":0.2,"hoaAnnualIncrease":0,"holdingLengthYears":2,"insuranceAnnualIncrease":0,"interestRate":0,"loanTermYears":10,"maintenanceAnnualIncrease":0,"monthlyHOA":0,"monthlyRent":2000,"otherAnnualExpenses":0,"otherAnnualIncrease":0,"propertyManagementFeeRate":0,"purchasePrice":200000,"rehabCosts":0,"rentAnnualIncrease":0,"saleExpensesRate":0,"salePrice":200000,"taxesAnnualIncrease":0,"vacancyRate":0}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "firstYear": {
      "NOI": 24000,
      "capRate": 0.12,
      "cashFlow": 8000,
      "cashOnCashReturn": 0.2
    },
    "investedCash": 40000,
    "irr": 0.5177,
    "monthlyMortgagePayment": 1333.33,
    "params": {
      "annualInsurance": 0,
      "annualMaintenance": 0,
      "annualPropertyTaxes": 0,
      "closingCosts": 0,
      "downPaymentPercent": 0.2,
      "hoaAnnualIncrease": 0,
      "holdingLengthYears": 2,
      "insuranceAnnualIncrease": 0,
      "interestRate": 0,
      "loanTermYears": 10,
      "maintenanceAnnualIncrease": 0,
      "monthlyHOA": 0,
      "monthlyRent": 2000,
      "otherAnnualExpenses": 0,
      "otherAnnualIncrease": 0,
      "propertyManagementFeeRate": 0,
      "purchasePrice": 200000,
      "rehabCosts": 0,
      "rentAnnualIncrease": 0,
      "saleExpensesRate": 0,
      "salePrice": 200000,
      "taxesAnnualIncrease": 0,
      "vacancyRate": 0
    },
    "sale": {
      "impliedAnnualGrowthRate": 0,
      "netProceeds": 72000,
      "totalProfitAfterSale": 48000
    },
    "totals": {
      "NOI": 48000,
      "expenses": 0,
      "mortgagePayments": 32000,
      "operatingCashFlow": 16000,
      "rentalIncome": 48000
    },
    "yearByYear": [
      {
        "NOI": 24000,
        "annualCashFlow": 8000,
        "annualCoCReturn": 0.2,
        "annualExpenses": 0,
        "annualIncome": 24000,
        "annualMortgagePayment": 16000,
        "interestPortion": 0,
        "loanBalance": 144000,
        "principalPortion": 16000,
        "totalEquity": 56000,
        "year": 1
      }
    ]
  },
  "ok": true
}

Payment details

Pay to0x548efd4f4d4a5c3669dbb4cbb2b1a637feeec5f6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Sindri & similar services