Most real estate underwriting models, the sophisticated algorithms designed to assess the financial viability of investment properties, share a common Achilles’ heel: their reliance on imprecise rent estimates. This fundamental weakness can lead to flawed financial projections, misinformed investment decisions, and ultimately, significant financial losses. While purchase prices are locked, financing terms are established, and predictable expenses like insurance and property taxes are readily quantifiable, the critical variable of rental income often remains a weak link. Publicly sourced rent data, frequently used by these models, is notoriously unreliable, leading to a cascading effect where an incorrect rent estimate contaminates every subsequent output of the underwriting process.
The limitations of existing tools are well-documented. For instance, Zillow’s widely recognized "Rent Zestimate" has often been criticized for lagging behind real-time market conditions. This means that by the time a property is analyzed using such a tool, the estimated rental income may no longer reflect the current economic reality of the rental market. The alternative, a manual process of pulling comparable rental listings, is an arduous and time-consuming endeavor. While this manual approach can yield more accurate data points, it is simply not scalable for investors or institutions evaluating hundreds, or even thousands, of potential acquisitions. The hours required for such an analysis transform from a necessary step into a significant bottleneck, impeding the pace of investment and potentially causing valuable opportunities to be missed.
Recognizing this pervasive industry challenge, Mashvisor has introduced the Mashvisor Rental Rates API, a programmatic solution designed to address this critical data gap at its core. This API offers a single, powerful endpoint capable of delivering both long-term (LTR) and short-term (STR) rental rate estimates, broken down by bedroom count. The data is meticulously sourced from a comprehensive 12-month history of actual comparable listings, providing granular insights for any neighborhood, city, or zip code across the United States. This article delves into the technical specifications of this API, its practical application, and how various product teams are leveraging its capabilities to enhance their platforms and decision-making processes.
The Underwriting Bottleneck: A Data Challenge
The underwriting process for real estate investments is a complex analytical undertaking. It involves a meticulous evaluation of various financial factors to determine a property’s potential profitability and risk. At its heart, the model seeks to predict future income and expenses to calculate key performance indicators such as Net Operating Income (NOI), capitalization rate (cap rate), and cash-on-cash return. The accuracy of these calculations is directly proportional to the accuracy of the input data.
Historically, obtaining reliable rent data has been a significant hurdle. Public databases often rely on self-reported data, outdated listings, or generalized averages that fail to capture the nuances of local rental markets. This can be particularly problematic in dynamic urban areas where rental prices can fluctuate rapidly due to changes in demand, supply, and local economic conditions. For example, a property in a rapidly gentrifying neighborhood might see its rental value increase significantly within months, a shift that older or less frequently updated data sources would fail to reflect.
The manual comparative market analysis (CMA) is the traditional method for overcoming this data deficiency. Real estate professionals meticulously research recently leased properties with similar characteristics (size, amenities, location) to estimate a property’s potential rental income. While this method can provide highly accurate results, its labor-intensive nature makes it impractical for large-scale operations. Consider an institutional investor looking to acquire a portfolio of 50 single-family homes across a metropolitan area. Manually researching rent estimates for each property would require weeks of work, during which time market conditions could shift, and competitors might secure those same opportunities.
Mashvisor’s API Solution: A Streamlined Approach to Rent Estimation
The Mashvisor Rental Rates API aims to democratize access to accurate, up-to-date rental data, transforming a significant bottleneck into a seamless integration. The core functionality resides within a single API endpoint, designed for ease of use and rapid data retrieval.
API Request Structure and Authentication
Access to the Mashvisor Rental Rates API is secured via an API key, which must be included in the request header for authentication. All requests are made to Mashvisor’s base API URL using the secure HTTPS protocol.
A typical request to retrieve traditional (long-term rental) estimates might look like this:
curl -G "https://api.mashvisor.com/v1.1/client/rental-rates"
-d "state=TX"
-d "city=Austin"
-d "source=traditional"
-H "x-api-key: YOUR_API_KEY"
This example demonstrates how to request rental rate data for the city of Austin, Texas, specifically for traditional rental listings. The source parameter is crucial for differentiating between long-term and short-term rental estimates.
For more granular analysis, the API allows targeting specific neighborhoods or zip codes. To query a particular neighborhood, the Mashvisor neighborhood ID should be provided using the neighborhood parameter. Similarly, the zip_code parameter can be used for zip-code level targeting. This level of precision is vital for underwriting workflows, as city-wide averages can obscure significant variations within different sub-markets. For instance, a downtown urban core will likely have vastly different rental rates than a suburban residential area within the same city. Neighborhood or zip-code level data provides the necessary accuracy for deal-by-deal analysis.
To switch to short-term rental (STR) estimates, the source parameter is simply changed to airbnb:
curl -G "https://api.mashvisor.com/v1.1/client/rental-rates"
-d "state=TX"
-d "city=Austin"
-d "source=airbnb"
-H "x-api-key: YOUR_API_KEY"
This flexibility allows developers to seamlessly integrate both LTR and STR rental income projections into their applications.
Understanding the API Response Data
The Rental Rates endpoint returns data in a clear and structured JSON format, comprising two primary blocks: rental_rates and detailed.
The rental_rates Block: Headline Estimates
The rental_rates block provides high-level, median rent estimates for each bedroom tier: studio, 1-bedroom, 2-bedroom, 3-bedroom, and 4-bedroom. These are designed to offer quick, easily digestible figures suitable for dashboards, overview pages, or initial property comparisons.
The detailed Block: Granular Distribution Data
The detailed block offers a more comprehensive breakdown for each bedroom tier, presented as an array. Each object within this array includes:
beds: The number of bedrooms for the specific tier.count: The total number of comparable listings used in the calculation for that tier. This is a crucial indicator of data reliability; a higher count suggests a more robust estimate.min: The minimum rental rate observed among the comparable listings.max: The maximum rental rate observed.avg: The average rental rate across the comparable listings.median: The midpoint rental rate, providing a central tendency measure that is less susceptible to outliers than the average.adjusted_rental_income: This field is particularly important. For LTR estimates, it represents a more conservative rent projection, accounting for potential vacancies. For STR estimates, it reflects occupancy-adjusted monthly revenue, derived from nightly rates and comparable listing performance. This figure can be higher or lower than the raw median, offering a more realistic income forecast.
Enhanced STR Data
When requesting STR estimates (using source=airbnb), the detailed block includes two additional, highly valuable fields for each bedroom tier:
median_night_rate: The median nightly rate charged by comparable short-term rentals.median_occupancy: The estimated median occupancy rate for these comparable listings.
These two fields empower users to directly calculate monthly STR revenue without needing to access separate endpoints. The formula is straightforward:
Monthly STR Revenue = median_night_rate (median_occupancy / 100) 30
This integrated approach simplifies the process of comparing LTR and STR revenue potential, a critical step for investors deciding on a rental strategy.
Sample API Response: A Practical Example
To illustrate the API’s output, consider a sample response for a neighborhood in California (neighborhood ID 117954) using a traditional rental strategy:
"status": "success",
"content":
"rental_rates":
"studio_value": 2100,
"one_room_value": 2500,
"two_room_value": 3890,
"three_room_value": 4997.5,
"four_room_value": 7995
,
"sample_count": 268,
"detailed": [
"state": "CA",
"city": null,
"neighborhood": "117954",
"zipcode": null,
"beds": "1",
"count": 31,
"min": 995,
"max": 4500,
"avg": 2641.61,
"median": 2500,
"adjusted_rental_income": 2407.5
,
"state": "CA",
"city": null,
"neighborhood": "117954",
"zipcode": null,
"beds": "2",
"count": 136,
"min": 1300,
"max": 7500,
"avg": 3979.90,
"median": 3890,
"adjusted_rental_income": 3746.07
,
"state": "CA",
"city": null,
"neighborhood": "117954",
"zipcode": null,
"beds": "3",
"count": 78,
"min": 645,
"max": 12000,
"avg": 5288.96,
"median": 4997.5,
"adjusted_rental_income": 4812.59
]
In this example, for 2-bedroom properties in the specified neighborhood, the median rent is $3,890, with an adjusted_rental_income of $3,746.07. The count of 136 indicates a robust dataset for this tier.

Key Fields Explained
rental_rates: This section provides headline median values per bedroom tier (e.g.,one_room_value,two_room_value).sample_count: The total number of listings analyzed across all bedroom tiers for the requested location.detailed: An array containing detailed statistical breakdowns for each bedroom tier.beds: Specifies the number of bedrooms (e.g., "1", "2").count: The number of comparable listings for that specific bedroom count.min/max: The lowest and highest rent observed in the comparable set.avg: The arithmetic mean of the rental rates.median: The middle value when all rental rates are sorted, offering a more representative central tendency than the average when outliers are present.adjusted_rental_income: A vacancy-adjusted income estimate, providing a more conservative and realistic projection.
STR Response: The Added Value
For short-term rental queries (source=airbnb), the detailed array expands to include:
median_night_rate: The average nightly price for comparable STR listings.median_occupancy: The estimated percentage of nights the comparable STRs are booked.
These fields are critical for accurately forecasting STR revenue, allowing for a direct calculation of monthly earnings based on market-driven nightly rates and occupancy levels.
Diverse Applications Across the Real Estate Ecosystem
The Mashvisor Rental Rates API is not just a data feed; it’s a foundational component for a wide array of real estate technology (PropTech) platforms and financial institutions. Its ability to deliver accurate, scalable, and real-time rental data is revolutionizing how these entities operate.
DSCR Lenders and Mortgage Platforms
For Debt Service Coverage Ratio (DSCR) lenders and mortgage platforms, the API automates a critical aspect of the underwriting workflow: rent income verification. Traditionally, lenders might require a rental income appraisal, a process that can add significant time and cost to loan origination. By integrating the Rental Rates API, lenders can obtain a comp-based rent estimate in milliseconds. The adjusted_rental_income field can be directly fed into Net Operating Income (NOI) calculations, which in turn determine the DSCR. This streamlines the loan approval process, reduces operational expenses, and allows for a higher volume of loan processing. The ability to verify income using reliable market data also enhances the accuracy of risk assessments, leading to more sound lending practices.
Property Management Companies
Property managers are constantly striving to optimize rental pricing for their portfolios. The Mashvisor Rental Rates API empowers them to benchmark rents for new acquisitions or re-price vacant units with unparalleled accuracy. By accessing neighborhood and zip-code level data, managers can understand precisely what similar units are commanding in the current market, rather than relying on outdated information. The 12-month rolling sample ensures that these estimates remain current, adapting to market fluctuations and competitive pressures. This data-driven approach can lead to higher occupancy rates and increased revenue for property owners.
iBuyers and Institutional Investors
Large-scale investors, including iBuyers (instant buyers) and institutional investors managing extensive acquisition pipelines, face the immense challenge of evaluating thousands of properties efficiently. The Rental Rates API transforms rent estimation from a manual, property-by-property task into a scalable batch process. This allows these entities to rapidly model cash flow for vast portfolios, identify promising investment opportunities, and make data-backed decisions at speed. The ability to integrate this data into their proprietary acquisition models provides a significant competitive advantage in fast-moving markets.
PropTech Platforms and Investor Dashboards
Platforms catering to individual real estate investors often feature investor dashboards and listing pages that provide property-specific analytics. The bedroom-tiered rent estimates from the API can be seamlessly integrated to populate rent projections directly on these pages. Investors viewing a 3-bedroom property can instantly see the estimated rental range and adjusted income for that specific neighborhood, eliminating the need for manual data entry or separate research. This enhances the user experience and provides valuable, actionable insights directly within the platform.
Maximizing Accuracy: Best Practices for API Utilization
To derive the most accurate and actionable insights from the Mashvisor Rental Rates API, users should adhere to certain best practices:
Granularity is Key: Leverage Lowest Geography
The most impactful advice for achieving accurate estimates is to utilize the most granular geographical data available. Neighborhood-level or zip-code level estimates are significantly more precise than city-level averages. A city-wide average can be misleading, blending disparate sub-markets such as high-end downtown condos with more affordable suburban single-family homes. For accurate property-specific analysis, drilling down to the neighborhood or zip code is essential.
Evaluate the Sample Count
The count field, indicating the number of comparable listings used for a specific bedroom tier, is a critical indicator of data reliability. In smaller or more rural markets, the count for certain bedroom tiers might be lower (e.g., 5-10 comps for a 4-bedroom). While this still provides a directional signal, it should be treated with caution. Users should factor this into how they interpret and present the data, understanding that a higher count generally correlates with a more robust and precise estimate.
Prioritize adjusted_rental_income
For underwriting and financial modeling, the adjusted_rental_income field should be the primary metric used, rather than the avg (average) rent. The average can be skewed by extreme outliers – very high or very low rent prices that may not be representative of the typical market. The adjusted_rental_income provides a more conservative and realistic projection by incorporating vacancy assumptions, which is crucial for prudent financial planning. As the adage goes in finance, "conservative is better than optimistic."
Integrate with Investment Analysis
While the Rental Rates API provides the crucial revenue input, a complete financial picture requires understanding the full deal economics. Mashvisor offers an Investment Analysis endpoint that complements the Rental Rates API by calculating key metrics such as cap rate, cash-on-cash return, operating expenses, and occupancy rates. By integrating both APIs, platforms can offer users a comprehensive suite of tools for evaluating investment opportunities, from initial rent estimation to full deal profitability analysis.
Implications for the Real Estate Investment Landscape
The introduction of a reliable, scalable, and programmatic source for rent estimates has profound implications for the real estate investment industry. It democratizes access to high-quality data, leveling the playing field for smaller investors and enhancing the capabilities of large institutions.
For Lenders: Increased accuracy in income verification leads to better risk management and potentially lower default rates. The automation of this process also drives efficiency, allowing for faster loan processing and increased profitability.
For Investors: The ability to quickly and accurately assess rental income potential for a large number of properties allows for more strategic portfolio building and quicker responses to market opportunities. This data-driven approach reduces reliance on guesswork and subjective analysis.
For PropTech Developers: The availability of a robust rental data API simplifies the development of sophisticated real estate investment tools. It allows developers to focus on user experience and unique features rather than spending valuable resources on building and maintaining their own data acquisition and processing infrastructure.
The fundamental principle is clear: the accuracy of rent estimates is the load-bearing wall of any real estate investment model. When this critical input is flawed, every subsequent metric – cash flow, cap rate, DSCR, and the ultimate go/no-go investment decision – is compromised. The Mashvisor Rental Rates API addresses this by providing a single, reliable endpoint for developers and platforms, delivering comp-based, bedroom-tiered, vacancy-adjusted rent estimates for both LTR and STR strategies across the entire US. This is not merely an additive feature; it is the foundational data input that makes underwriting models trustworthy and investment decisions sound. For any entity building real estate investment tools, lender platforms, or rental analytics products, this API represents a crucial starting point for robust and accurate financial modeling.
Frequently Asked Questions: Rental Rates API
What specific data does the Mashvisor Rental Rates API provide?
The API delivers estimated monthly rent broken down by bedroom count (studio through 4+ bedrooms) for any specified U.S. location. Each estimate includes median, average, minimum, maximum values, the number of comparable listings (sample count), and a vacancy-adjusted income figure. For short-term rental (STR) data, it also provides the median nightly rate and median occupancy rate per bedroom tier.
Can I obtain both long-term and short-term rental rate estimates from a single API call?
Yes, the source parameter within the API request allows you to switch between long-term rental (LTR) estimates by setting source=traditional and short-term rental (STR) estimates by setting source=airbnb. Both types of requests utilize the same endpoint: GET /v1.1/client/rental-rates.
How up-to-date is the rental rate data provided by the API?
The rental rate estimates are derived from a 12-month history of active or recently active comparable listings in the targeted area. Mashvisor’s data is updated nightly, ensuring that the estimates reflect current market conditions rather than stale or outdated information.
What is the level of geographic specificity for location targeting?
The API requires a state (required) and allows for further refinement by city, neighborhood ID, or zip code. For the most accurate estimates, it is recommended to use neighborhood-level or zip-code-level targeting, as these are more precise than city-wide averages. Neighborhood IDs can be retrieved via Mashvisor’s Search endpoint.
How does Mashvisor’s Rental Rates API compare to other data providers?
Unlike providers like AirDNA, which primarily focus on STR data, Mashvisor’s API offers comprehensive estimates for both LTR and STR markets. While Zillow’s Rent Zestimate is a consumer-facing tool, Mashvisor provides a developer-friendly API structured for programmatic integration. Furthermore, Mashvisor’s endpoint offers detailed distribution data and vacancy-adjusted income figures, setting it apart from simpler aggregate data. For a detailed comparison, refer to Mashvisor’s "Best Real Estate Data API: Mashvisor, AirDNA, Zillow" analysis.
What is the distinction between the median rent and adjusted_rental_income in the API response?
The median value represents the midpoint rental rate across all comparable listings within a specific bedroom tier. The adjusted_rental_income, on the other hand, applies a vacancy factor to this median, providing a more conservative and realistic monthly income estimate. For financial modeling and underwriting purposes, the adjusted_rental_income is generally the preferred metric due to its more prudent nature.
