A fundamental weakness pervades most real estate underwriting models: the unreliability of rent estimates. While purchase prices are fixed and financing terms are clearly defined, and verifiable expenses like insurance and property taxes are readily accessible, the crucial data point of rental income often proves to be a significant bottleneck. When these rent figures fed into sophisticated analytical models are inaccurate, the entire output becomes suspect, leading to flawed investment decisions and potentially significant financial losses.
The challenge lies in the current landscape of publicly available rent data. Platforms like Zillow’s Rent Zestimate, while widely used, have been frequently criticized for lagging behind real-time market fluctuations. This disconnect means that investors relying on such estimates might be operating with outdated information, failing to capture current market demand and pricing. The alternative, manual comparative market analysis (CMA) – often referred to as "comp-pulling" – is a time-consuming process. Manually researching comparable rental properties can take hours, and the resulting data, even if meticulously gathered, is difficult to scale for investors evaluating hundreds or even thousands of potential investment opportunities. For professionals operating at scale, this manual approach transforms from a diligence step into a significant operational impediment, severely limiting the speed and volume of their investment analysis.
Addressing this critical data gap, Mashvisor has introduced its Rental Rates API, designed to provide a robust and scalable solution for obtaining accurate rent estimates. This API offers a single endpoint that delivers both long-term rental (LTR) and short-term rental (STR) income projections, broken down by bedroom count and specific to any neighborhood, city, or zip code across the United States. The data is meticulously sourced from 12 months of actual comparable listings, providing a dynamic and up-to-date reflection of market conditions.
The Genesis of the Problem: Data Lag and Manual Bottlenecks
For years, real estate investors and lenders have grappled with the challenge of accurately forecasting rental income. The acquisition phase of an investment property hinges on a precise understanding of potential revenue. This figure directly impacts key financial metrics such as cash-on-cash return, capitalization rate (cap rate), and debt service coverage ratio (DSCR), all of which are paramount in determining a property’s viability and a lender’s willingness to finance the deal.
Historically, the primary methods for estimating rental income have been:
- Public Listing Data Aggregators: Platforms like Zillow, Redfin, and others provide estimated rental values. However, these estimates are often based on algorithms that may not fully capture hyper-local market nuances, property-specific features, or the most recent rental transactions. Their data refresh cycles can also be slow, leading to a disconnect with rapidly evolving rental markets. For instance, a study by the National Association of Realtors in 2023 highlighted that while online estimates are useful for broad market understanding, they often require significant manual verification for specific property valuations.
- Manual Comparative Market Analysis (CMA): This involves a real estate professional meticulously researching active and recently rented comparable properties in the immediate vicinity. This method, while potentially highly accurate for a single property, is incredibly labor-intensive. It requires expertise in identifying relevant comparables, adjusting for differences in size, amenities, and condition, and then synthesizing this data into a reliable estimate. For institutional investors or lenders processing a high volume of deals, this approach is simply not scalable. The time investment can delay deal closings and limit the number of opportunities that can be thoroughly vetted.
The consequence of these limitations is that a critical input for financial modeling – rental income – often relies on data that is either too slow to update, too generalized, or too labor-intensive to acquire at scale. This creates a systemic risk within the investment ecosystem, where decisions are made based on potentially inaccurate assumptions.
Mashvisor’s Rental Rates API: A Data-Driven Solution
Mashvisor’s Rental Rates API aims to rectify this by providing developers and financial institutions with a direct, programmatic interface to a comprehensive and up-to-date dataset. The API is designed for seamless integration into existing workflows, offering a streamlined method for acquiring granular rental rate intelligence.
API Request and Authentication:
Access to the Mashvisor Rental Rates API is secured via an API key, which must be included in the request header. All requests are made over HTTPS to Mashvisor’s base API URL.
A typical request to retrieve traditional (long-term) rental estimates for Austin, Texas, would 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"
To achieve greater precision, developers can target specific neighborhoods by providing Mashvisor’s unique neighborhood ID in the neighborhood parameter, or by using the zip_code parameter. Neighborhood IDs can be obtained through Mashvisor’s Search endpoint. This level of granularity is crucial for accurate deal-by-deal analysis, as city-level averages often obscure significant variations within different sub-markets.
Switching the request to retrieve short-term rental (STR) estimates is as simple as changing the source parameter:
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"
Understanding the API Response Structure
The Rental Rates API endpoint is designed to be intuitive, returning data in a structured JSON format. Upon receiving a request specifying a location (state is mandatory, with city, neighborhood ID, or zip code for further refinement) and a source value (traditional or airbnb), the API delivers a response containing two primary data blocks.
1. rental_rates (Headline Estimates):
This first block provides a concise overview of estimated rental income for different bedroom configurations. It includes a single median value for each tier: studio, 1-bedroom, 2-bedroom, 3-bedroom, and 4-bedroom units. These figures are ideal for quick comparisons, populating dashboard summaries, or providing high-level market insights. For example, a real estate listing platform might use these values to offer an instant rent projection on a property detail page.
2. detailed (Granular Data Distribution):
The second block, detailed, offers a more in-depth analysis. It is an array where each element represents a specific bedroom tier and contains a comprehensive set of data points:
min: The lowest observed rental rate for that bedroom tier in the specified location.max: The highest observed rental rate.avg: The average rental rate across all comparable listings.median: The midpoint rental rate, offering a central tendency measure that is less susceptible to outliers than the average.count: The number of comparable listings that were used to generate the estimate for that bedroom tier. This is a critical indicator of data confidence; a higher count suggests a more robust and reliable estimate.adjusted_rental_income: This field is particularly significant. For LTR estimates, it represents a conservative rent projection adjusted for vacancy. For STR estimates, it reflects occupancy-adjusted monthly revenue, calculated based on the median nightly rate and the performance of comparable STR listings. This figure can often serve as a more prudent baseline for financial modeling and underwriting.
Additional Fields for Short-Term Rentals (STR):
When source=airbnb is specified, the detailed array includes two additional fields for each bedroom tier:
median_night_rate: The average nightly rate charged by comparable short-term rental properties.median_occupancy: The average occupancy rate for those comparable listings.
These two fields empower users to reconstruct monthly STR revenue estimates directly from the Rental Rates endpoint. The formula for calculating estimated monthly STR revenue is:
Monthly STR Revenue = median_night_rate (median_occupancy / 100) 30
This integration eliminates the need for separate API calls to calculate STR revenue, streamlining the process for platforms that compare LTR and STR strategies side-by-side.

Sample API Response Analysis
Consider a sample response for a specific neighborhood in California (Neighborhood ID 117954) for 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
]
Interpreting the Fields:
rental_rates: Provides headline median figures, such as a 2-bedroom unit renting for a median of $3,890.sample_count: Indicates the total number of comparable listings analyzed across all bedroom types for this query.detailedArray:- For 1-bedroom units (
beds: "1"), thecountof 31 suggests a reasonable sample size. Themedianrent is $2,500, with anadjusted_rental_incomeof $2,407.50, reflecting a slight vacancy adjustment. The widemintomaxrange ($995 to $4,500) highlights the importance of considering theadjusted_rental_incomeover the raw average for conservative financial planning. - For 2-bedroom units (
beds: "2"), thecountof 136 indicates a robust dataset. Themedianrent is $3,890, with anadjusted_rental_incomeof $3,746.07. - For 3-bedroom units (
beds: "3"), thecountof 78 provides a solid basis for the estimate. Themedianrent is $4,997.50, and theadjusted_rental_incomeis $4,812.59.
- For 1-bedroom units (
STR Response: Enhanced Revenue Calculation
For short-term rental estimates, the detailed array would also include:
median_night_rate: The typical nightly rate for a given bedroom tier in that market.median_occupancy: The average occupancy rate observed for similar STR listings.
These metrics are invaluable for platforms that need to project STR revenue. For example, if a 1-bedroom unit has a median_night_rate of $150 and a median_occupancy of 70%, the estimated monthly revenue would be: $150 * (70/100) * 30 = $3,150. This allows for a direct comparison of potential income between long-term and short-term rental strategies using data from a single API call.
Real-World Applications: How Development Teams Leverage the API
The Mashvisor Rental Rates API is being integrated into a variety of platforms and workflows, demonstrating its versatility and impact:
-
DSCR Lenders and Mortgage Platforms: These institutions are automating rental income verification within their underwriting processes. Instead of ordering costly and time-consuming rental income appraisals for every loan, the API can provide a near-instantaneous, comparable-based estimate. The
adjusted_rental_incomedirectly feeds into the calculation of Net Operating Income (NOI) and subsequently, the DSCR. This accelerates loan processing times and reduces operational costs. For instance, a lender might use this API to pre-qualify properties for investors, flagging those where estimated rental income falls short of DSCR requirements before initiating a full appraisal. -
Property Management Companies: Property managers can utilize the API to benchmark rental rates for new listings or to re-evaluate pricing for existing vacant units. By accessing neighborhood or zip-code specific data based on 12 months of real-time comparable rentals, they can ensure their pricing is competitive and aligned with current market demand, rather than relying on outdated internal data or generic estimates. This dynamic pricing capability is crucial in volatile rental markets.
-
iBuyers and Institutional Investors: Companies managing large portfolios or acquisition pipelines use the Rental Rates API to model cash flow for thousands of potential properties efficiently. Manual rent estimation for such a volume is infeasible. The API transforms this into a scalable batch process, enabling rapid evaluation and prioritization of investment opportunities. This allows them to maintain a competitive edge in acquiring high-yield properties.
-
PropTech Platforms and Investor Dashboards: Platforms building tools for real estate investors often integrate this API to populate rent projections on property listing pages. Users looking at a property can automatically see relevant rent ranges and adjusted income figures for similar units in the same neighborhood, enhancing the user experience and providing valuable insights without manual data entry. This can include visual aids like heatmaps showing rent variations across a city or comparative charts.
Optimizing Data Utilization for Accuracy
To maximize the value derived from the Rental Rates API, users are advised to follow several best practices:
-
Prioritize Granular Geographic Targeting: Always opt for neighborhood-level or zip-code level estimates when possible. City-wide averages can mask significant local variations in rental demand and pricing, making them less useful for precise property-level analysis. For example, a downtown urban core will have vastly different rental rates than a suburban residential area within the same city.
-
Monitor Sample Counts: The
countfield within thedetailedarray is a crucial indicator of data reliability. In less populated or niche markets, the number of comparable listings might be lower. While still valuable, a smaller sample size should be interpreted with more caution, and the data should be presented with appropriate context or caveats to the end-user. A count below 10 might suggest a need for broader geographic parameters or a different data source. -
Emphasize
adjusted_rental_income: For financial modeling and underwriting, theadjusted_rental_incomeis generally a more conservative and reliable metric than the rawavgormedian. The average can be skewed by extreme outliers (very high or very low rents), whereas the adjusted income incorporates vacancy, providing a more realistic picture of potential cash flow. This aligns with the prudent approach required in financial decision-making. -
Integrate with Investment Analysis Tools: The Rental Rates API provides the critical revenue input. For a complete financial picture, it should be paired with Mashvisor’s Investment Analysis API or similar tools. This allows for the calculation of a full suite of investment metrics, including cap rate, cash-on-cash return, operating expenses, and occupancy projections. This holistic approach ensures that all facets of a potential investment are thoroughly evaluated.
The Bottom Line: Fortifying the Foundation of Investment Analysis
Rental income is the cornerstone of any real estate investment analysis. An inaccurate rent estimate can cascade into flawed projections for cash flow, cap rate, DSCR, and ultimately, lead to poor investment decisions. The Mashvisor Rental Rates API offers a critical solution by providing developers and platforms with a single, programmatic endpoint that delivers reliable, comp-based, bedroom-tiered, and vacancy-adjusted rent estimates for both LTR and STR strategies across the entire U.S.
This is not merely an add-on to existing underwriting models; it is the foundational input that lends credibility and accuracy to those models. For any entity building investment tools, lending platforms, or rental analytics products, this API represents the essential starting point for robust and trustworthy data. By providing access to up-to-date, granular rental market intelligence, Mashvisor empowers stakeholders to make more informed, data-driven investment decisions, thereby mitigating risk and optimizing returns in the complex landscape of real estate investment.
Frequently Asked Questions: Rental Rates API
What specific data does the Mashvisor Rental Rates API provide?
The API returns estimated monthly rental rates categorized by bedroom count (studio through 4+ bedrooms) for a designated location. Each estimate includes key statistical data such as the minimum, maximum, average, and median rent, along with the total sample count of comparable listings. Crucially, it also provides a vacancy-adjusted income figure. For short-term rental (STR) queries, the API further details the median nightly rate and median occupancy for each 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 toggle between strategies. By setting source=traditional, you will receive estimates for long-term rentals, akin to traditional rental comps. Conversely, setting source=airbnb will yield estimates tailored for the short-term rental market. Both types of requests are handled by the same primary endpoint: GET /v1.1/client/rental-rates.
How current is the rental rate data used by the API?
The estimates generated by the API are based on a comprehensive analysis of 12 months of historical performance data from active or recently active comparable listings in the specified geographic area. Mashvisor diligently updates its data nightly, ensuring that the rental rate estimates reflect the most current market conditions rather than stale or outdated comparable information.
What is the level of geographic specificity I can achieve with the API?
The API requires a state parameter as mandatory for all requests. Beyond that, you can refine your search by specifying a city, a precise Mashvisor neighborhood ID via the neighborhood parameter, or a zip_code. For the most accurate and actionable insights, it is highly recommended to utilize neighborhood-level or zip-code level queries, as these provide more granular data than broad city-level averages. Neighborhood IDs can be conveniently retrieved using Mashvisor’s Search endpoint.
How does Mashvisor’s Rental Rates API distinguish itself from other providers in the market?
Mashvisor’s offering stands apart by providing a dual-pronged approach, catering to both long-term (LTR) and short-term (STR) rental markets through a single, developer-friendly API. Unlike some competitors, such as AirDNA, which primarily focuses on STR metrics, Mashvisor offers comprehensive data for both strategies. Furthermore, while Zillow’s Rent Zestimate is a consumer-facing tool, Mashvisor provides a robust, programmatic API designed for integration into professional platforms. Access to Zestimate data for developers is typically managed through partner programs with specific approval processes. Mashvisor’s endpoint is engineered for direct programmatic integration, returning detailed distributional data alongside headline estimates, and covering both LTR and STR with granular geographic targeting. A more in-depth comparison of leading real estate data APIs, including Mashvisor, AirDNA, and Zillow, can be found in Mashvisor’s "Best Real Estate Data API: Mashvisor, AirDNA, Zillow" article.
What is the functional difference between the median and adjusted_rental_income fields in the API response?
The median value represents the midpoint rental rate among all comparable listings within a specific bedroom tier and location. It’s a central tendency measure. In contrast, the adjusted_rental_income field applies a vacancy adjustment factor to this median. This results in a more conservative and realistic estimate of potential monthly income, taking into account periods when a property might be vacant. For crucial financial applications such as underwriting and cash flow modeling, the adjusted_rental_income is generally considered the more prudent and reliable figure to utilize.
Mashvisor is dedicated to providing comprehensive long-term and short-term rental data across the United States, serving real estate investors and PropTech developers. Explore the full capabilities of the Mashvisor data API at https://www.mashvisor.com/data-api.
