{
  "x402Version": 2,
  "id": 8401,
  "slug": "8401",
  "resource": "https://x402.outpimp.com/cashOnCashReturnCalculator",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x548eFd4f4d4A5C3669dbb4CBB2B1A637FeeEc5F6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "APer2AbhckyMWyJanW2MZ2eRLcpL9Lmhks8rkmXfqjRG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "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
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "annualInsurance": {
                    "description": "Annual landlord insurance in the first year.",
                    "type": "number"
                  },
                  "annualMaintenance": {
                    "description": "Annual maintenance budget in the first year.",
                    "type": "number"
                  },
                  "annualPropertyTaxes": {
                    "description": "Annual property taxes in the first year.",
                    "type": "number"
                  },
                  "closingCosts": {
                    "default": 0,
                    "description": "Closing costs. Default 0.",
                    "type": "number"
                  },
                  "downPaymentPercent": {
                    "description": "Down payment as a fraction of purchase price (0-1). Use 1 for an all-cash purchase.",
                    "type": "number"
                  },
                  "hoaAnnualIncrease": {
                    "default": 0.03,
                    "description": "Annual HOA fee growth rate, as a fraction. Default 0.03.",
                    "type": "number"
                  },
                  "holdingLengthYears": {
                    "description": "Number of years you plan to hold the property before selling (1-50).",
                    "type": "number"
                  },
                  "insuranceAnnualIncrease": {
                    "default": 0.03,
                    "description": "Annual insurance growth rate, as a fraction. Default 0.03.",
                    "type": "number"
                  },
                  "interestRate": {
                    "description": "Annual mortgage interest rate, as a fraction. Ignored if downPaymentPercent is 1.",
                    "type": "number"
                  },
                  "loanTermYears": {
                    "description": "Loan term in years (1-50). Ignored if downPaymentPercent is 1.",
                    "type": "number"
                  },
                  "maintenanceAnnualIncrease": {
                    "default": 0.03,
                    "description": "Annual maintenance cost growth rate, as a fraction. Default 0.03.",
                    "type": "number"
                  },
                  "monthlyHOA": {
                    "default": 0,
                    "description": "Monthly HOA fee. Default 0.",
                    "type": "number"
                  },
                  "monthlyRent": {
                    "description": "Total monthly rent collected, before vacancy/management fee.",
                    "type": "number"
                  },
                  "otherAnnualExpenses": {
                    "default": 0,
                    "description": "Other annual operating expenses in the first year. Default 0.",
                    "type": "number"
                  },
                  "otherAnnualIncrease": {
                    "default": 0.03,
                    "description": "Annual growth rate for other expenses, as a fraction. Default 0.03.",
                    "type": "number"
                  },
                  "propertyManagementFeeRate": {
                    "default": 0.1,
                    "description": "Property management fee, as a fraction of gross rent (0-1). Default 0.10.",
                    "type": "number"
                  },
                  "purchasePrice": {
                    "description": "Property purchase price.",
                    "type": "number"
                  },
                  "rehabCosts": {
                    "default": 0,
                    "description": "Upfront rehab/improvement costs. Default 0.",
                    "type": "number"
                  },
                  "rentAnnualIncrease": {
                    "default": 0.03,
                    "description": "Annual rent growth rate, as a fraction. Default 0.03.",
                    "type": "number"
                  },
                  "saleExpensesRate": {
                    "default": 0.09,
                    "description": "Sale costs (agent commission, closing costs, etc.), as a fraction of sale price (0-1). Default 0.09.",
                    "type": "number"
                  },
                  "salePrice": {
                    "description": "Expected sale price at the end of the holding period.",
                    "type": "number"
                  },
                  "taxesAnnualIncrease": {
                    "default": 0.03,
                    "description": "Annual property tax growth rate, as a fraction. Default 0.03.",
                    "type": "number"
                  },
                  "vacancyRate": {
                    "default": 0.08,
                    "description": "Expected vacancy rate, as a fraction (0-1). Default 0.08.",
                    "type": "number"
                  }
                },
                "required": [
                  "purchasePrice",
                  "downPaymentPercent",
                  "interestRate",
                  "loanTermYears",
                  "monthlyRent",
                  "annualPropertyTaxes",
                  "annualInsurance",
                  "annualMaintenance",
                  "salePrice",
                  "holdingLengthYears"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "x402_api_vendor",
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "x402.outpimp.com",
  "lastUpdated": "2026-08-30T22:17:58.357Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T22:17:58.213Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.outpimp.com",
    "manifest_name": "x402.outpimp.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}