# Zillow Property Image Scrapper (`propertyapi/zillow-property-image-scrapper`) Actor

This Apify actor extracts high-resolution images from Zillow properties. It supports bulk scraping via multiple input methods including ZPIDs, property URLs

- **URL**: https://apify.com/propertyapi/zillow-property-image-scrapper.md
- **Developed by:** [Property API](https://apify.com/propertyapi) (community)
- **Categories:** Developer tools, Lead generation, Real estate
- **Features:** Limited permissions
- **Stats:** 61 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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 Property Images Scraper

This Apify actor extracts high-resolution images from Zillow properties. It supports bulk scraping via multiple input methods including ZPIDs, property URLs

### Features

- **High-Quality Images**: Fetches the original resolution images available on Zillow.
- **Bulk Processing**: Supports processing multiple properties in a single run.
- **Flexible Inputs**: Accept ZPIDs, direct property URLs
- **Structured Output**: Returns a clean JSON format mapping Property IDs to their image lists.

### Input Parameters

The actor accepts the following input fields:

| Field | Type | Description |
|-------|------|-------------|
| `zuid_list` | Array | List of Zillow Property IDs (ZUID/ZPID), one per line. |
| `property_url_list` | Array | List of direct Zillow property URLs. |

### Output Example

The actor outputs the data in JSON format, where each key is the ZPID and the value is a list of image URLs.

```json
[
  {
    "20482366": [
      {
        "image-1": "https://photos.zillowstatic.com/fp/e1bc4a897fd8c4c2547d1d74e09c137e-o_a.jpg"
      },
      {
        "image-2": "https://photos.zillowstatic.com/fp/68ae33b7598cd138443c1724a0477742-o_a.jpg"
      },
      {
        "image-3": "https://photos.zillowstatic.com/fp/183ac9b773cb062606d98d88b688bb71-o_a.jpg"
      }
      // ... more images
    ]
  },
  {
    "12345678": [
      {
        "image-1": "https://maps.googleapis.com/maps/api/streetview?location=6105+W+Club+Ln%2C+Richmond%2C+VA+23226&size=1024x768&key=...&source=outdoor"
      }
    ]
  }
]
```

### Usage Tips

- For the most accurate results, use `zuid_list` or `property_url_list`.
- `address` search may require Zillow to resolve the exact property, which can occasionally vary.
- The output contains direct links to the images hosted on Zillow's static servers or Google Street View if applicable.

# Actor input Schema

## `zuid_list` (type: `array`):

Paste ZUIDs, one per line. Each line will be processed as a separate property.

## `property_url_list` (type: `array`):

Paste a property's url from Zillow. Each line will be processed as a separate property url.

## Actor input object example

```json
{
  "zuid_list": [
    "20482366",
    "12345678"
  ],
  "property_url_list": [
    "https://www.zillow.com/homedetails/101-California-Ave-UNIT-506-Santa-Monica-CA-90403/20485717_zpid/",
    "https://www.zillow.com/homedetails/2408-Pier-Ave-Santa-Monica-CA-90405/20472567_zpid/"
  ]
}
```

# 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 = {
    "zuid_list": [
        "20482366",
        "12345678"
    ],
    "property_url_list": [
        "https://www.zillow.com/homedetails/101-California-Ave-UNIT-506-Santa-Monica-CA-90403/20485717_zpid/",
        "https://www.zillow.com/homedetails/2408-Pier-Ave-Santa-Monica-CA-90405/20472567_zpid/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("propertyapi/zillow-property-image-scrapper").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 = {
    "zuid_list": [
        "20482366",
        "12345678",
    ],
    "property_url_list": [
        "https://www.zillow.com/homedetails/101-California-Ave-UNIT-506-Santa-Monica-CA-90403/20485717_zpid/",
        "https://www.zillow.com/homedetails/2408-Pier-Ave-Santa-Monica-CA-90405/20472567_zpid/",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("propertyapi/zillow-property-image-scrapper").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 '{
  "zuid_list": [
    "20482366",
    "12345678"
  ],
  "property_url_list": [
    "https://www.zillow.com/homedetails/101-California-Ave-UNIT-506-Santa-Monica-CA-90403/20485717_zpid/",
    "https://www.zillow.com/homedetails/2408-Pier-Ave-Santa-Monica-CA-90405/20472567_zpid/"
  ]
}' |
apify call propertyapi/zillow-property-image-scrapper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,propertyapi/zillow-property-image-scrapper"
        }
    }
}
```

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/pgiCwWVfII2Jg5y72/builds/Bq9hdk7bxWGckVSdb/openapi.json
