# Zillow Housing Market Trends (`burbn/zillow-housing-market-trends`) Actor

Extract Zillow housing market trends, typical home values (ZHVI history), pricing metrics, inventory levels, and market speed for any US location. Get real-time data for real estate research.

- **URL**: https://apify.com/burbn/zillow-housing-market-trends.md
- **Developed by:** [Kevin](https://apify.com/burbn) (community)
- **Categories:** Real estate
- **Security:** Limited permissions
- **Stats:** 15 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📈 Zillow Housing Market Trends & Home Value Scraper (ZHVI)

Extract comprehensive housing market trends and home value data from Zillow! This powerful Apify actor fetches complete market analytics including typical home values, ZHVI (Zillow Home Value Index) history, pricing metrics, inventory data, and historical trends for any location in the United States.

### 🎯 What This Actor Does

This actor allows you to:

- **Get typical home values** - Current ZHVI (Zillow Home Value Index) for any location
- **Historical ZHVI data** - Monthly home value history going back years
- **Pricing metrics** - Median sale prices, list prices, and sale-to-list ratios
- **Inventory data** - For-sale inventory counts and new listings
- **Market speed** - Median days to pending sale
- **Trend analysis** - Calculate value changes over time (absolute $ and %)
- **Batch processing** - Analyze multiple locations in one run

### 🚀 How to Use

#### Step 1: Choose Your Locations

You can search for market data using:

- **ZIP Codes**: `10011`, `90210`, `33139`
- **City + State**: `Austin TX`, `Miami FL`, `Seattle WA`
- **State only**: `California`, `Texas`, `Florida`
- **National**: `USA` or `United States`

#### Step 2: Configure the Actor

| Input | Description | Default |
|-------|-------------|---------|
| `searchQueries` | Array of locations (ZIP, city, state) | Required |
| `homeType` | Type of homes (All_Homes, Single_Family, Condo, Townhouse) | All_Homes |
| `excludeRentalMarketTrends` | Exclude rental data (true/false) | true |
| `excludeNeighborhoodsZhvi` | Exclude neighborhood ZHVI (true/false) | true |
| `delayBetweenRequests` | Delay between requests in milliseconds | 1000 |

#### Step 3: Run and Get Results

Run the actor and download your market data in JSON, CSV, or Excel format.

### 📊 Output Data Structure

Each result contains comprehensive market data:

#### 🔍 Search Info

| Field | Description |
|-------|-------------|
| `searchQuery` | The location searched |
| `searchUrl` | Zillow page URL for this market |
| `dataSource` | Data source identifier |

#### 📊 Market Overview

| Field | Description |
|-------|-------------|
| `typicalHomeValue` | Current typical home value (ZHVI) |
| `marketDescription` | Zillow's market description |
| `forSaleInventory` | Number of homes for sale |
| `newListings` | Number of new listings |

#### 💰 Pricing Metrics

| Field | Description |
|-------|-------------|
| `medianSalePrice` | Median sale price |
| `medianListPrice` | Median list price |
| `marketSaleToListRatio` | Sale-to-list price ratio |
| `percentSalesOverListPrice` | % of sales over list price |
| `percentSalesUnderListPrice` | % of sales under list price |

#### ⏱️ Time Metrics

| Field | Description |
|-------|-------------|
| `medianDaysToPending` | Median days to pending sale |

#### 📈 Latest Data

| Field | Description |
|-------|-------------|
| `latestNewListings` | Most recent new listings count |
| `latestForSaleInventory` | Most recent inventory count |
| `latestMedianListPrice` | Most recent median list price |
| `latestDataDate` | Date of latest data |

#### 📊 Historical Data

| Field | Description |
|-------|-------------|
| `zhviHistory` | Array of monthly home value data |
| `zhviHistoryCount` | Number of ZHVI data points |
| `marketSaleHistory` | Array of market sale data |
| `marketListingHistory` | Array of listing data |

#### 📅 Value Change Analysis

| Field | Description |
|-------|-------------|
| `latestZhviDate` | Most recent ZHVI date |
| `latestZhviValue` | Most recent home value |
| `oldestZhviDate` | Oldest ZHVI date |
| `oldestZhviValue` | Oldest home value |
| `valueChangeAbsolute` | Total value change in $ |
| `valueChangePercent` | Total value change in % |

### 📋 Example Input

```json
{
  "searchQueries": [
    "10011",
    "Austin TX",
    "Miami FL",
    "California"
  ],
  "homeType": "All_Homes",
  "excludeRentalMarketTrends": true,
  "excludeNeighborhoodsZhvi": true
}
```

### 📋 Example Output

```json
{
  "searchQuery": "10011",
  "searchUrl": "https://www.zillow.com/home-values/61625/manhattan-new-york-ny-10011/",
  "typicalHomeValue": 1560274,
  "marketDescription": "The average home value in 10011, NY is $1,560,274, up 1.2% over the past year.",
  "forSaleInventory": 399,
  "newListings": 85,
  "medianSalePrice": 1220833,
  "medianListPrice": 1902500,
  "medianDaysToPending": 61,
  "zhviHistoryCount": 96,
  "latestZhviDate": "2025-11-30",
  "latestZhviValue": 1560274,
  "oldestZhviDate": "2017-08-31",
  "oldestZhviValue": 2222069,
  "valueChangeAbsolute": -661795,
  "valueChangePercent": -29.78
}
```

### 🎨 Dataset Views

The actor provides 5 organized table views:

| View | Description |
|------|-------------|
| 📊 **Market Overview** | Location, typical value, sale/list prices, inventory, days pending |
| 💰 **Pricing Metrics** | All pricing data including sale-to-list ratios |
| 📦 **Inventory & Listings** | For-sale inventory, new listings, latest data |
| 📈 **Value History** | ZHVI historical data, value changes |
| 📋 **Complete Data** | All fields including descriptions and URLs |

### 💡 Use Cases

- **Real Estate Investment** - Analyze market conditions before investing
- **Market Research** - Compare housing markets across cities and states
- **Trend Analysis** - Track home value changes over time
- **Pricing Strategy** - Understand listing vs. sale price dynamics
- **Inventory Monitoring** - Track housing supply and demand
- **Location Comparison** - Compare multiple markets side by side
- **Economic Analysis** - Study housing market health indicators

### 📖 What is ZHVI?

The **Zillow Home Value Index (ZHVI)** is a smoothed, seasonally adjusted measure of the typical home value and market changes across a given region and housing type. It reflects the typical value for homes in the 35th to 65th percentile range.

### 🔗 Related Actors

- [Zillow Property Scraper by URL](https://apify.com/burbn/zillow-home-scraper-by-url)
- [Zillow Search by URL](https://apify.com/burbn/zillow-search-by-url)
- [Zillow Property Images Scraper](https://apify.com/burbn/zillow-property-images-scraper)
- [Zillow Owner Agent Scraper](https://apify.com/burbn/zillow-owner-agent-scraper)
- [Zillow Apartments Scraper](https://apify.com/burbn/zillow-apartments-scraper)

### 📞 Support

For questions, feedback, or issues, please contact us through Apify or open an issue.

### 🔎 Tags

Zillow home value scraper, ZHVI scraper, housing market trends, Zillow market data, home value index, real estate market analysis, Zillow analytics, housing inventory scraper, median home price scraper, real estate investment tool, Apify Zillow scraper, housing market research

***

**Happy market analyzing! 📈🏠**

# Actor input Schema

## `searchQueries` (type: `array`):

Enter city names, state names, ZIP codes, or 'USA' for national data. Each query will return complete market trends data.

## `homeType` (type: `string`):

Select the type of homes to include in market analysis.

## `excludeRentalMarketTrends` (type: `boolean`):

Set to false to include rental market data in the results. When enabled, only home sale/purchase data is returned.

## `excludeNeighborhoodsZhvi` (type: `boolean`):

Set to false to include neighborhood-level Zillow Home Value Index data. This provides more granular local market insights.

## Actor input object example

```json
{
  "searchQueries": [
    "10011",
    "Austin TX",
    "Miami FL"
  ],
  "homeType": "All_Homes",
  "excludeRentalMarketTrends": true,
  "excludeNeighborhoodsZhvi": true
}
```

# Actor output Schema

## `overview` (type: `string`):

View all locations with typical home value, sale/list prices, inventory, new listings, and value change percentage.

## `pricing` (type: `string`):

View detailed pricing data including sale/list prices, sale-to-list ratio, and percent sold above/below list price.

## `inventory` (type: `string`):

View inventory data including for-sale inventory, new listings, days to pending, and latest data dates.

## `valueHistory` (type: `string`):

View ZHVI historical data including latest/oldest values, value change in dollars and percentage.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "10011",
        "Austin TX",
        "Miami FL"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("burbn/zillow-housing-market-trends").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchQueries": [
        "10011",
        "Austin TX",
        "Miami FL",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("burbn/zillow-housing-market-trends").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "10011",
    "Austin TX",
    "Miami FL"
  ]
}' |
apify call burbn/zillow-housing-market-trends --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,burbn/zillow-housing-market-trends"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QvEZi4YayXdSYRi7A/builds/H1nJ1pmh6HiyMo1fO/openapi.json
