# Zillow Search Similar Scraper (`powerai/zillow-search-similar-scraper`)

Scrape similar property information from Zillow, including prices, square footage, location, and more.

- **URL**: https://beta-securitybyobscurity.apify.com/powerai/zillow-search-similar-scraper.md
- **Developed by:** [PowerAI](https://beta-securitybyobscurity.apify.com/powerai) (community)
- **Categories:** Real estate, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$9.99 / 1,000 results

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for dataset items the Actor outputs.

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

# README

## Zillow Search Similar Scraper

This actor scrapes similar property information from Zillow based on a reference property.

### Features

- Search similar properties using ZPID, URL, address, or Lot ID
- Returns detailed property information including:
  - Basic information (price, bedrooms, bathrooms, etc.)
  - Location details (address, coordinates)
  - Property type and status
  - Listing details (photos, square footage, etc.)
  - Agent information (if applicable)

### Input Parameters

- `byzpid` (string, required): Zillow Property ID
- `byurl` (string, optional): Zillow property URL
- `byaddress` (string, optional): Property address
- `bylotid` (string, optional): Zillow Lot ID
- `maxItems` (integer, optional): Maximum number of properties to scrape (default: 20, min: 20, max: 100)

### Output Data

The output includes the following fields:

- `zpid`: Zillow Property ID
- `miniCardPhotos`: Array of property photos
- `price`: Property price
- `currency`: Currency unit
- `bedrooms`: Number of bedrooms
- `bathrooms`: Number of bathrooms
- `livingArea`: Living area size
- `address`: Address information
- `latitude`: Latitude coordinate
- `longitude`: Longitude coordinate
- `homeStatus`: Property status
- `homeType`: Property type
- `hdpUrl`: Detail page URL
- `attributionInfo`: Agent information
- `scrapedAt`: Data scraping timestamp

### Example Usage

```json
{
    "byzpid": "44471319",
    "maxItems": 20
}
```

### Output Example

```json
[
  {
    "miniCardPhotos": [
      {
        "url": "https://photos.zillowstatic.com/fp/a3250805cca5051ad72210bff6313e26-p_c.jpg"
      }
    ],
    "price": 415000,
    "currency": "USD",
    "bedrooms": 3,
    "bathrooms": 2,
    "livingArea": 2635,
    "livingAreaValue": 2635,
    "livingAreaUnits": "Square Feet",
    "livingAreaUnitsShort": "sqft",
    "listingMetadata": {
      "comminglingCategoryIsRulesApplicable": true
    },
    "lotSize": 7840,
    "lotAreaValue": 7840.8,
    "lotAreaUnits": "Square Feet",
    "address": {
      "streetAddress": "3040 ROSSELLE Street",
      "city": "Jacksonville",
      "state": "FL",
      "zipcode": "32205"
    },
    "parentRegion": {
      "name": "Murray Hill"
    },
    "formattedChip": {
      "location": [
        {
          "fullValue": "3040 ROSSELLE Street"
        },
        {
          "fullValue": "Jacksonville, FL 32205"
        }
      ]
    },
    "latitude": 30.318869,
    "longitude": -81.70678,
    "zpid": 44470730,
    "homeStatus": "FOR_SALE",
    "homeType": "SINGLE_FAMILY",
    "hdpUrl": "/homedetails/3040-Rosselle-St-Jacksonville-FL-32205/44470730_zpid/",
    "hdpTypeDimension": "ForSale",
    "propertyTypeDimension": "Single Family",
    "listingTypeDimension": "For Sale by Agent",
    "listing_sub_type": {
      "is_newHome": false,
      "is_forAuction": false,
      "is_bankOwned": false,
      "is_foreclosure": false,
      "is_FSBO": false,
      "is_comingSoon": false,
      "is_FSBA": true
    },
    "providerListingID": null,
    "attributionInfo": {
      "mlsId": "2090257",
      "mlsName": null,
      "providerLogo": null,
      "agentName": "COLLIN DOUGLAS",
      "agentPhoneNumber": null,
      "brokerName": null,
      "brokerPhoneNumber": null,
      "trueStatus": null
    },
    "isShowcaseListing": false,
    "isPremierBuilder": false,
    "state": "FL",
    "newConstructionType": null,
    "scrapedAt": "2025-06-04T05:27:18.920Z"
  },
  ...
]
```

### Notes

1. Ensure valid query parameters are provided
2. API may have rate limits
3. Returned data may vary based on property type and status

# Actor input Schema

## `byzpid` (type: `string`):

Zillow Property ID

## `byurl` (type: `string`):

Zillow property URL

## `byaddress` (type: `string`):

Property address

## `bylotid` (type: `string`):

Zillow Lot ID

## `maxItems` (type: `integer`):

Maximum number of properties to scrape

## Actor input object example

```json
{
  "byzpid": "44471319",
  "maxItems": 20
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/zillow-search-similar-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/zillow-search-similar-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call powerai/zillow-search-similar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=powerai/zillow-search-similar-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Zillow Search Similar Scraper",
        "description": "Scrape similar property information from Zillow, including prices, square footage, location, and more.",
        "version": "0.0",
        "x-build-id": "i9CBpq8ST5OeVwlom"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/powerai~zillow-search-similar-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-powerai-zillow-search-similar-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/powerai~zillow-search-similar-scraper/runs": {
            "post": {
                "operationId": "runs-sync-powerai-zillow-search-similar-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/powerai~zillow-search-similar-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-powerai-zillow-search-similar-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "byzpid"
                ],
                "properties": {
                    "byzpid": {
                        "title": "ZPID",
                        "type": "string",
                        "description": "Zillow Property ID",
                        "default": "44471319"
                    },
                    "byurl": {
                        "title": "URL",
                        "type": "string",
                        "description": "Zillow property URL"
                    },
                    "byaddress": {
                        "title": "Address",
                        "type": "string",
                        "description": "Property address"
                    },
                    "bylotid": {
                        "title": "Lot ID",
                        "type": "string",
                        "description": "Zillow Lot ID"
                    },
                    "maxItems": {
                        "title": "Maximum Items",
                        "minimum": 20,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of properties to scrape",
                        "default": 20
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
