# Zillow Scraper | Real Estate Listings, Rentals & Sold Homes (`genial_candlestand/zillow-search-scraper`) Actor

Get Zillow listings with price, address, coordinates, beds, baths, sqft, home type, Zestimate, days on Zillow, sold date, broker and photos. Search US cities, ZIPs, counties or states with filters, or paste search URLs. Rental buildings with rent range. Past the 820 cap, no login.

- **URL**: https://apify.com/genial_candlestand/zillow-search-scraper.md
- **Developed by:** [Flowo](https://apify.com/genial_candlestand) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.62 / 1,000 listings

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 Scraper | Real Estate Listings, Rentals & Sold Homes

![Zillow Scraper | Real Estate Listings, Rentals & Sold Homes](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/zillow-com-property-vehicle-classified-listings-search-banner-328f0e82.png)

Get Zillow listings for sale, for rent or recently sold as flat rows: price, full address with ZIP code and coordinates, beds, baths, living area, home type, Zestimate and Rent Zestimate, days on Zillow, sold date, last price change, broker and photos. Type a US city, ZIP code, county, neighborhood, borough or state and set filters, or paste a Zillow search URL. Rental buildings come with their rent range, available units, the from-price of each unit type and the leasing phone.

### What does Zillow Search Scraper do?

It runs Zillow searches for you and returns one row per listing. You give locations (for example `Austin, TX`, `10001` or `Travis County, TX`) plus filters such as listing type, price, bedrooms, bathrooms, living area, year built, home types and listing age, or you paste search URLs from your browser. Zillow shows at most 820 results per search; when a search has more and you ask for more, the actor splits it into price bands and merges them without duplicates. It is built for real-estate investors pulling sold comps, agents watching new listings in their ZIP codes, and data teams feeding spreadsheets or databases.

### How to scrape Zillow listings

![How Zillow Scraper works: Resolves each location to a Zillow region via Zillow's autocomplete; Loads Zillow search pages with your filters, 41 listings per page; Splits searches over 820 results into ](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/zillow-com-property-vehicle-classified-listings-search-how-0b8ae14a.png)

1. Open the actor in Apify Console.
2. In **Locations**, enter one place per line: a city with its state, a ZIP code, a county, a neighborhood, a borough or a state. Or paste Zillow search URLs into **Start URLs**.
3. Choose **Listing type**: For sale, For rent or Recently sold.
4. Set the filters you need: price, bedrooms, bathrooms, living area, year built, home types, "Listed (or sold) within" and sort order.
5. Set **Max results** for the run and, if you search several places, **Max results per search**.
6. Click **Start**. Download the rows as JSON, CSV or Excel, or open the **Overview** and **Rentals** views in the dataset.

### How much does it cost to scrape Zillow?

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Listing | $1.90 per 1,000 | $1.805 per 1,000 | $1.71 per 1,000 | $1.615 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 100 rows in 15 s.

You pay one `listing` event per row in the dataset: one home, or one rental building with all its units. There are no add-on events. Duplicates (the same listing found by two locations or two price bands), locations that Zillow does not find and failed pages are not charged. Each run also has the standard Apify start event of $0.00005 per GB of memory (the actor runs with 256 MB).

| Scenario | Listing events | Cost on the Free plan |
|---|---|---|
| Quick look: 100 homes for sale in Austin, TX | 100 | about $0.19 |
| Rental market of two cities, 300 rows each | 600 | about $1.14 |
| Sold comps: 1,000 sold homes | 1,000 | about $1.90 |
| A whole county past the 820 cap: 3,000 rows | 3,000 | about $5.70 |

The start fee adds less than $0.0001 to each scenario. Use **Max results** to cap what a run can cost.

### Input

![Zillow Scraper input example: Locations (city, ZIP, county, neighborhood, borough or state), Listing type, Listed (or sold) within, Sort by, Get more than 820 results per search, Max results](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/zillow-com-property-vehicle-classified-listings-search-input-527880fa.png)

All fields are optional, but you must give **Locations** or **Start URLs** (or both); an empty input stops with an input error before any request.

| Field | What it does |
|---|---|
| `locations` | Places to search, one per line: city (`Austin, TX`), ZIP code (`10001`), county (`Travis County, TX`), neighborhood (`Capitol Hill, Seattle, WA`), borough (`Brooklyn, NY`) or state (`Texas`). Add the state for best matching. Street addresses are not supported. Each location is one search. |
| `startUrls` | Zillow search result URLs, e.g. `https://www.zillow.com/austin-tx/`, `https://www.zillow.com/homes/for_sale/Boise,-ID_rb/` or a map search with `?searchQueryState=…`. The URL keeps its own listing type and filters; the form filters are not applied to it. Property pages (`/homedetails/…`) and building pages are rejected. |
| `listingType` | `forSale` (default), `forRent` or `sold`. Applies to locations only. |
| `minPrice`, `maxPrice` | Price in USD. For sale and sold: the list or sold price. For rent: the monthly rent. Min must not be greater than max. |
| `minBeds`, `minBaths` | At least this many bedrooms / bathrooms (0–20; halves allowed for baths). 0 = any. |
| `minLivingArea`, `maxLivingArea` | Interior living area in sqft. Min must not be greater than max. |
| `minYearBuilt`, `maxYearBuilt` | Year built, 1700–2100. Min must not be later than max. |
| `homeTypes` | Any of `houses`, `townhomes`, `condos`, `multiFamily`, `apartments`, `lots`, `manufactured`; empty = all. `apartments` is for rent only; `lots` and `manufactured` are for sale and sold only. A type that does not fit the listing type is dropped with a warning; if it is the only type chosen, the run stops with an input error. |
| `maxDaysOnZillow` | Listed (for sold: sold) within `any` (default), `1`, `7`, `14`, `30`, `90` days or `6m`, `12m`, `24m`, `36m` months. `1` is not available for sold listings. |
| `sort` | `relevance` (default), `newest`, `priceLowToHigh`, `priceHighToLow`, `bedrooms`, `bathrooms`, `livingArea`. Price sorting works for sale and sold only; for rent the actor uses Zillow's default order and logs a warning. When a search is split into price bands, the order holds within each band. |
| `splitLargeSearches` | On by default. Splits a search with more than 820 results into price bands when you ask for more than 820 rows. Off = at most 820 rows per search. |
| `maxItemsPerSearch` | Stop each location or start URL after this many rows. Empty = no per-search limit. |
| `maxItems` | Stop the whole run after this many rows (default 500). |
| `proxyConfiguration` | Default: Apify residential proxy, US. Zillow blocks most datacenter IPs. |

Example input:

```json
{
  "locations": ["Austin, TX"],
  "listingType": "forSale",
  "minPrice": 300000,
  "maxPrice": 600000,
  "minBeds": 3,
  "sort": "newest",
  "maxItems": 200
}
```

### What data can you extract from Zillow?

![Zillow Scraper output example: Photo, Address, Price, Status, Type, Beds](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/zillow-com-property-vehicle-classified-listings-search-output-44cc0272.png)

Each row is one listing with 47 fields. Fields that Zillow does not show for a listing are `null`.

| Field | Meaning |
|---|---|
| `url`, `id`, `zpid` | Listing or building page; row id (the zpid of a home, or `lat--lng` for a rental building); Zillow property id (`null` for rental buildings) |
| `statusType`, `statusText` | `FOR_SALE`, `FOR_RENT` or `SOLD`, and Zillow's status label |
| `homeType` | e.g. `SINGLE_FAMILY`, `CONDO`, `TOWNHOUSE`, `MULTI_FAMILY`, `APARTMENT`, `LOT`, `MANUFACTURED`; `null` for rental buildings |
| `price`, `priceText`, `currency` | Price in USD (list price, sold price or monthly rent; for a building, its lowest rent), the price as shown, the currency code |
| `address`, `street`, `city`, `state`, `zipcode` | One-line address and its parts |
| `latitude`, `longitude` | Coordinates |
| `beds`, `baths`, `livingArea` | Bedrooms, bathrooms, living area in sqft |
| `lotAreaValue`, `lotAreaUnit` | Lot size and its unit (sqft or acres) |
| `zestimate`, `rentZestimate`, `taxAssessedValue` | Zillow home value estimate, monthly rent estimate, tax-assessed value (USD) |
| `daysOnZillow`, `soldAt` | Days since listed (-1 for some new-construction plans); sale date of sold homes |
| `priceChange`, `priceChangedAt` | Last price change in USD (negative = price cut) and its date |
| `brokerName`, `phone` | Listing brokerage; contact phone of a rental card |
| `isBuilding`, `buildingName`, `availableUnits`, `minRent`, `maxRent`, `unitPrices` | Rental buildings: name, available units, rent range, from-price per unit type (e.g. `Studio: $2,263+`) |
| `imageUrl`, `photos`, `photoCount` | Main photo, card photo URLs and their count |
| `has3DModel`, `hasVideo`, `flexFieldText`, `newConstructionType` | 3D tour, video, card highlight (e.g. `Showcase`), new-construction kind |
| `position`, `query`, `totalResults`, `scrapedAt` | Rank within its search, the location or URL that found it, Zillow's result count for the search, extraction time |

Real example row (photos shortened):

```json
{
  "url": "https://www.zillow.com/homedetails/5420-San-Pietro-Dr-Austin-TX-78747/339460771_zpid/",
  "id": "339460771",
  "zpid": "339460771",
  "statusType": "FOR_SALE",
  "statusText": "Active",
  "homeType": "SINGLE_FAMILY",
  "price": 464990,
  "priceText": "$464,990",
  "currency": "USD",
  "address": "5420 San Pietro Dr, Austin, TX 78747",
  "street": "5420 San Pietro Dr",
  "city": "Austin",
  "state": "TX",
  "zipcode": "78747",
  "latitude": 30.123446,
  "longitude": -97.78332,
  "beds": 5,
  "baths": 3,
  "livingArea": 2656,
  "lotAreaValue": 7836.444,
  "lotAreaUnit": "sqft",
  "zestimate": 461100,
  "rentZestimate": 2947,
  "taxAssessedValue": 15631,
  "daysOnZillow": 162,
  "soldAt": null,
  "priceChange": 5000,
  "priceChangedAt": "2026-11-04T08:00:00.000Z",
  "brokerName": "HomesUSA.com",
  "phone": null,
  "isBuilding": false,
  "buildingName": null,
  "availableUnits": null,
  "minRent": null,
  "maxRent": null,
  "unitPrices": null,
  "imageUrl": "https://photos.zillowstatic.com/fp/6aed0bd1461d496db19452969868ca33-p_e.jpg",
  "photos": ["https://photos.zillowstatic.com/fp/6aed0bd1461d496db19452969868ca33-p_e.jpg"],
  "photoCount": 48,
  "has3DModel": true,
  "hasVideo": false,
  "flexFieldText": "Showcase",
  "newConstructionType": "BUILDER_SPEC",
  "position": 1,
  "query": "Austin, TX",
  "totalResults": 5354,
  "scrapedAt": "2026-11-11T09:54:27.741Z"
}
```

A rental building row looks like this (shortened): `"isBuilding": true`, `"buildingName": "One Six Six"`, `"price": 2198`, `"minRent": 2198`, `"maxRent": 4682`, `"availableUnits": 23`, `"unitPrices": ["Studio: $2,263+", "1 bd: $2,698+", "2 bd: $4,194+"]`, `"phone": "773-840-0882"`, `"zpid": null`, `"beds": null`.

### Use cases

- **Sold comps**: pull recently sold condos in `10001` or `Miami, FL` from the last 6 months with sold price and sold date.
- **New-listing watch**: run daily for your ZIP codes with sort `newest` and "Listed within 1 day" to catch new homes for sale.
- **Rental market research**: compare rents of 2-bedroom units in `Chicago, IL` and `Brooklyn, NY`, including apartment buildings with rent ranges and available units.
- **Market snapshots**: export a whole county (for example `Travis County, TX`) past the 820-result cap for price, Zestimate, days on market and price cuts.
- **Data pipelines and AI agents**: feed flat, documented rows into spreadsheets, BI tools or an agent that answers "3-bed homes under $600k in Austin".

### Limitations

- The rows come from Zillow search results. Descriptions, agent names and phones of sale listings, price history, tax history and schools are not included (they are on the property page only).
- Zillow shows at most 820 listings per search. Above that, the actor needs price-band splitting; listings without a price may be missed in split searches.
- Many fields depend on the listing: `zestimate` is filled for only part of the homes for sale (it is much more common on sold homes), `brokerName` is missing in some states, and `soldAt` is set only for sold homes. Sold prices can be empty in non-disclosure states such as Texas.
- Rental buildings have no `zpid`, `homeType`, `beds` or `baths`; use `unitPrices`, `minRent` and `maxRent` instead.
- Locations must be areas Zillow knows (city, ZIP, county, neighborhood, borough, state). Street addresses are not supported.
- US listings only, prices in USD.

### Tips and troubleshooting

- **0 rows?** Check the log: `Location not found on Zillow` means the text did not match an area; add the state (`Springfield, IL`). If Zillow answers with a different region than requested, that search is skipped with a warning so you never get rows from the wrong place.
- **Fewer rows than expected?** Make sure **Get more than 820 results per search** is on and **Max results** is high enough. With splitting off, each search stops at 820.
- **Several locations in one run**: set **Max results per search** so one big city does not use up the whole **Max results**.
- **Start URLs keep their own filters**: set the filters on Zillow in your browser before copying the URL. The form filters apply to locations only.
- **Rentals sorted by price**: Zillow does not sort rentals by price, so the actor uses the default order and warns you. Sort the dataset afterwards instead.
- **Blocked pages**: keep the default US residential proxy; Zillow blocks most datacenter IPs.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/zillow-search-scraper").call(run_input={"locations": ["Austin, TX"], "maxItems": 100})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/zillow-search-scraper').call({"locations": ["Austin, TX"], "maxItems": 100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~zillow-search-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"locations":["Austin, TX"],"maxItems":100}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/zillow-search-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/zillow-search-scraper"}}}`. Then ask, for example:

- "Find 3-bed homes for sale under $600k in Austin, TX, newest first"
- "Get condos sold in the last 6 months in ZIP 10001 with sold price and sold date"
- "List 2-bedroom rentals between $2000 and $3000 in Chicago, IL with rent and phone"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Is it legal to scrape Zillow?**<br>
The actor reads public search pages that Zillow shows to any visitor without login. It does not log in or solve captchas. Zillow's Terms of Use restrict automated access, so you are responsible for how you use the data and for complying with the laws and terms that apply to you. The rows contain listing data and brokerage names as Zillow shows them publicly.

**Can I search without building a Zillow URL first?**<br>
Yes. Type locations and set the filters in the form. Search URLs from your browser are also accepted, and both can be combined in one run.

**How do I get more than 820 results?**<br>
Leave **Get more than 820 results per search** on and set **Max results** above 820. The actor splits the search into price bands and removes duplicates, so each listing is returned and charged once.

**Does it scrape rentals and apartment buildings?**<br>
Yes. With listing type **For rent**, single rentals come as normal rows, and apartment buildings come as one row each with `minRent`, `maxRent`, `availableUnits`, `unitPrices` and `phone`; `price` holds the building's lowest rent.

**How is it different from other Zillow actors?**<br>
It accepts locations plus filters as well as search URLs, returns 47 flat camelCase fields per row including rental building rent ranges and unit prices, splits large searches past 820 results also for start URLs, and charges one event per listing ($1.90 per 1,000 on the Free plan, against $2.30 per 1,000 for the most used Zillow search actor) with no add-on events.

**Can I get property details like price history and schools?**<br>
Not with this actor. Use the Zillow Property Details Scraper below with the `url` or `zpid` values from this actor's output.

### Also useful

- [Zillow Property Details Scraper](https://apify.com/genial_candlestand/zillow-property-details-scraper) — get price history, tax history, schools and listing agent for the homes you found
- [Airbnb Scraper](https://apify.com/genial_candlestand/airbnb-listings-prices-scraper) — compare short-term rental prices per night in the same cities you track on Zillow
- [Google Maps Scraper](https://apify.com/genial_candlestand/google-maps-scraper) — list nearby places, phones and ratings around a neighborhood you are evaluating
- [Booking.com Hotel Search Scraper](https://apify.com/genial_candlestand/booking-com-hotel-search-scraper) — check hotel and vacation-rental prices for a market by dates

# Actor input Schema

## `locations` (type: `array`):

One place per line, e.g. "Austin, TX", "10001", "Travis County, TX", "Capitol Hill, Seattle, WA", "Brooklyn, NY" or "Texas". Add the state for best matching. Street addresses are not supported. Each location is one search and uses the filters below. Give Locations or Start URLs (or both).

## `startUrls` (type: `array`):

Zillow search result URLs from your browser, e.g. https://www.zillow.com/austin-tx/, https://www.zillow.com/homes/for_sale/Boise,-ID_rb/ or a map search with ?searchQueryState=…. Each URL keeps its own listing type and filters; the filters of this form are not applied to it. Property pages (/homedetails/…) and building pages are not accepted.

## `listingType` (type: `string`):

For sale, for rent or recently sold. Applies to Locations only, not to Start URLs.

## `minPrice` (type: `integer`):

Lowest price in USD. For sale and sold: the list or sold price. For rent: the monthly rent. Must not be greater than Max price.

## `maxPrice` (type: `integer`):

Highest price in USD. For sale and sold: the list or sold price. For rent: the monthly rent.

## `minBeds` (type: `integer`):

At least this many bedrooms. 0 = any.

## `minBaths` (type: `number`):

At least this many bathrooms; halves allowed (1.5). 0 = any.

## `minLivingArea` (type: `integer`):

Smallest interior living area in square feet. Must not be greater than Max living area.

## `maxLivingArea` (type: `integer`):

Largest interior living area in square feet.

## `minYearBuilt` (type: `integer`):

Only homes built in this year or later, e.g. 2010. Must not be later than Built in or before.

## `maxYearBuilt` (type: `integer`):

Only homes built in this year or earlier, e.g. 1990.

## `homeTypes` (type: `array`):

Only these home types; empty = all. Apartments: for rent only. Lots/land and Manufactured: for sale and sold only. A type that does not fit the listing type is dropped with a warning; chosen alone it is an input error.

## `maxDaysOnZillow` (type: `string`):

For sale and for rent: listed on Zillow within this time. Recently sold: sold within this time. "1 day" is not available for sold listings (input error).

## `sort` (type: `string`):

Order of results. Price sorting works for sale and sold only; for rent Zillow's default order is used with a warning. When a search is split into price bands, the order holds within each band.

## `splitLargeSearches` (type: `boolean`):

Zillow shows at most 820 listings per search (20 pages × 41). When on, a search with more results (and more requested) is split into price bands and merged without duplicates. Listings without a price may be missed in split searches. Off = at most 820 per search.

## `maxItemsPerSearch` (type: `integer`):

Stop each location or start URL after this many listings, so one big area does not use up Max results. Empty = no per-search limit.

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

Stop the whole run after this many listings across all searches. You pay per listing.

## `proxyConfiguration` (type: `object`):

Zillow blocks most datacenter IPs; keep the default US residential proxy.

## Actor input object example

```json
{
  "locations": [
    "Austin, TX"
  ],
  "listingType": "forSale",
  "maxDaysOnZillow": "any",
  "sort": "relevance",
  "splitLargeSearches": true,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with all listings

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

Main fields of every listing

# 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 = {
    "locations": [
        "Austin, TX"
    ],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/zillow-search-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 = {
    "locations": ["Austin, TX"],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/zillow-search-scraper").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 '{
  "locations": [
    "Austin, TX"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call genial_candlestand/zillow-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/zillow-search-scraper"
        }
    }
}
```

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/sLliNYLYhSatf1ddn/builds/BZstriQcsyaQ8HG1P/openapi.json
