# Zillow Scraper — Search by City, ZIP & Filters (Agent Ready) (`scrapeverse/zillow-search-scraper`) Actor

$0.8/1k result.The ultimate agent-ready Zillow Scraper for real estate data extraction. Automate your property search by city, ZIP code, and filters to capture every Zillow property detail. Export clean property data, prices, and leads in seconds.

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

## Pricing

from $0.60 / 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 Scraper — Search by City, ZIP & Filters (Agent Ready)

**Zillow Search Scraper** lets you search Zillow without visiting Zillow. Type a city, ZIP code, neighborhood or county, pick any Zillow filter (price, beds, baths, pool, HOA, home type, year built, pets, open houses and 40+ more), paste a Zillow search URL, or combine both in one run — and get every matching **for sale, for rent or sold** listing as clean JSON, CSV or Excel. That includes price, Zestimate, Rent Zestimate, address, GPS coordinates, beds, baths, square feet, lot size, days on Zillow, price cuts, open houses, listing brokerage and photos. No login, no cookies, no 820-result cap. You pay only **$0.80 per 1,000 listings**.

> **Where this fits in the ScrapeVerse real-estate toolkit**
>
> 1. **Find properties** → **Zillow Search Scraper** (you are here)
> 2. **Get full property details**: price history, tax history, schools and agent → [Zillow Property Details Scraper](https://apify.com/scrapeverse/zillow-property-detail-scraper) (feed it the `propertyUrl` column)
> 3. **Research the brokerages** behind the listings → [LinkedIn Company URL Mass Finder](https://apify.com/scrapeverse/linkedin-company-url---mass-finder) and [LinkedIn Company Profile Scraper](https://apify.com/scrapeverse/linkedin-company-profile-scraper)

***

### Search Zillow without opening Zillow

You can use either input method, or both in the same run.

| | **Method 1: Locations + filters** (recommended) | **Method 2: Zillow search URLs** |
| --- | --- | --- |
| What you provide | `"Austin, TX"`, `"78704"`, `"Brooklyn, NY"`… | `https://www.zillow.com/homes/for_sale/?searchQueryState=…` |
| Filters | 40+ structured input fields, listed below | Whatever you set on zillow.com |
| Need to visit Zillow? | **No** | Yes, to build and copy the URL |
| Works for AI agents / MCP | ✅ Plain-English requests map directly to fields | ⚠️ Agents can't build Zillow URLs reliably |
| Bare URLs like `/homes/32754_rb/` | n/a | ✅ Accepted (no need to move the map first) |

Each run also saves the exact Zillow URL it searched (`sourceSearchUrl`), so you can open the same results on zillow.com to check them.

***

### Ask in plain English: AI agent & MCP ready

Every input field has a description written for LLM tool use, so Claude, ChatGPT, Cursor or any MCP client can turn a plain request into a run.

| You say | Input the agent sends |
| --- | --- |
| *"Find 5-bedroom houses with a pool in Austin, TX under $900k"* | `{"searchLocations":["Austin, TX"],"bedsMin":5,"propertyTypes":["houses"],"mustHavePool":true,"priceMax":900000}` |
| *"Rentals in Miami that allow large dogs, under $3,000/month"* | `{"searchLocations":["Miami, FL"],"listingStatus":"FOR_RENT","petsAllowed":["largeDogs"],"priceMax":3000}` |
| *"Homes sold in 78704 in the last 90 days"* | `{"searchLocations":["78704"],"listingStatus":"SOLD","soldInLast":"90"}` |
| *"New construction townhomes in Denver listed this week"* | `{"searchLocations":["Denver, CO"],"forSaleListingTypes":["newConstruction"],"propertyTypes":["townhomes"],"daysOnZillow":"7"}` |
| *"FSBO homes with a price cut in Phoenix"* | `{"searchLocations":["Phoenix, AZ"],"forSaleListingTypes":["owner"],"onlyPriceReduced":true}` |

MCP server: `https://mcp.apify.com/?tools=scrapeverse/zillow-search-scraper`

***

### All Zillow filters supported

| Group | Input fields |
| --- | --- |
| **Where** | `searchLocations` (city, ZIP, neighborhood, county, address), `searchUrls` |
| **Listing status** | `listingStatus` (for sale / for rent / sold), `forSaleListingTypes` (agent, owner/FSBO, new construction, foreclosures, auctions, foreclosed, pre-foreclosures, coming soon), `includePendingUnderContract`, `includeAcceptingBackupOffers`, `soldInLast` |
| **Price** | `priceMin`, `priceMax` (monthly rent for rentals), `monthlyPaymentMin`, `monthlyPaymentMax`, `maxHoaFee`, `includeIncompleteHoaData` |
| **Rooms** | `bedsMin`, `bedsMax`, `useExactBeds`, `bathsMin` |
| **Home type** | `propertyTypes`: houses, townhomes, multi-family, condos/co-ops, lots/land, apartments, manufactured |
| **Size & structure** | `homeSizeMin/Max` (sq ft), `lotSizeMin/Max`, `yearBuiltMin/Max`, `parkingSpotsMin`, `mustHaveGarage`, `basement`, `singleStoryOnly`, `community55Plus` (include / don't show / only show) |
| **Amenities & views** | `mustHaveAC`, `mustHavePool`, `waterfront`, `views` (city, mountain, park, water) |
| **Tours & updates** | `mustHaveOpenHouse`, `mustHave3DTour`, `onlyPriceReduced`, `daysOnZillow`, `keywords` (e.g. "solar", "yard", MLS #) |
| **Rentals** | `petsAllowed` (large dogs, small dogs, cats), `inUnitLaundry`, `onSiteParking`, `furnished`, `shortTermLease`, `incomeRestricted`, `forRentByOwner`, `moveInDate` |
| **Sort & run** | `sortBy`, `extractionMethod`, `resultsLimit`, `includeRawListing`, `proxyConfiguration` |

***

### What Zillow data can I extract?

| Field group | Output keys | Typical use |
| --- | --- | --- |
| **Identity** | `zpid`, `propertyUrl`, `sourceSearchUrl`, `searchLocation` | Deduplication, joining with the details scraper |
| **Price** | `listingPrice` (amount, currency, formatted), `priceChange`, `priceChangedAt`, `priceReduction`, `listingSoldPrice`, `dateSold` | Deal sourcing, price-cut alerts |
| **Valuation** | `zestimate`, `rentZestimate`, `taxAssessedValue` | Investment screening, rental yield |
| **Address & map** | `listingAddress` (street, unit, city, state, zipCode, full…), `zipcode`, `coordinates` (latitude, longitude) | Mapping, geocoding, territory planning |
| **Property** | `homeType`, `bedrooms`, `bathrooms`, `livingArea`, `livingAreaUnit`, `lotArea` (value, unit, formatted) | Comps, filtering |
| **Status** | `listingStatus`, `statusText`, `daysOnZillow`, `listingType` (FSBA, FSBO, coming soon, pending, open house, new home, auction, foreclosure, bank owned) | Lead lists, market tracking |
| **Open house** | `openHouse` (description, startDate, endDate, schedule\[]) | Showing schedules |
| **Brokerage** | `broker` (name…), `brokerageName` | Agent and brokerage outreach |
| **Media** | `mainImage`, `listingPhotos[]`, `photoCount`, `has3DModel`, `hasVideo` | Listing previews, CRM cards |

The output uses a stable **42-field core schema** (price, address, Zestimate, photos, broker, and more), followed by ScrapeVerse fields `searchLocation`, `statusText`, `brokerageName` and `zipcode`, plus optional `rawListing` when `includeRawListing` is on. That layout works well in spreadsheets, Make/Zapier scenarios, and custom code.

***

### How to scrape Zillow search results

1. Type one or more **locations** (or paste Zillow **search URLs**).
2. Set any **filters** and an optional **max results per location**.
3. Click **Start**. Export to **JSON, CSV, Excel**, or send results to **Google Sheets**, a webhook, or your app via API.

#### How to get more than 820 results from Zillow

Zillow shows at most 20 pages × 41 listings (about 820) for any search. Pick the extraction method that fits your search:

| Extraction method | Max results per search | Speed | Best for |
| --- | --- | --- | --- |
| `PAGINATION_WITH_ZOOM_IN` (default) | **Unlimited**: splits the map into tiles until each one has fewer than 820 results | Fast | Whole cities, counties, full market exports |
| `PAGINATION` | ~820 | Very fast | Small areas, top-N by sort order |
| `MAP_MARKERS` | ~500 | Fastest (often a single request) | Quick counts, maps, sampling |

**Tested:** Austin, TX for sale gave **5,368 of 5,368 listings in 82 seconds** with zoom-in, and zero duplicates (each listing appears once, deduplicated by zpid).

***

### Input example

```json
{
    "searchLocations": ["Austin, TX", "78704"],
    "listingStatus": "FOR_SALE",
    "bedsMin": 3,
    "priceMax": 900000,
    "mustHavePool": true,
    "propertyTypes": ["houses", "townhomes"],
    "extractionMethod": "PAGINATION_WITH_ZOOM_IN",
    "resultsLimit": 500
}
```

Search URLs use the usual Apify `searchUrls: [{ "url": "…" }]` shape:

```json
{
    "searchUrls": [{ "url": "https://www.zillow.com/homes/for_sale/?searchQueryState=%7B...%7D" }],
    "extractionMethod": "PAGINATION_WITH_ZOOM_IN",
    "resultsLimit": 100
}
```

### Output example

```json
{
    "zpid": "305433145",
    "zestimate": 381800,
    "has3DModel": true,
    "hasVideo": false,
    "hasImage": true,
    "isZillowOwned": false,
    "listingPrice": { "amount": 384900, "currency": "USD", "formatted": "$384,900" },
    "listingAddress": { "street": "11900 Cimaizon Dr", "unit": null, "city": "Austin", "state": "TX", "zipCode": "78725", "county": null, "country": "USA", "neighborhood": null, "subdivision": null, "communityName": null, "timeZone": null, "full": "11900 Cimaizon Dr, Austin, TX 78725" },
    "coordinates": { "latitude": 30.217157, "longitude": -97.63407 },
    "listingStatus": "forSale",
    "propertyUrl": "https://www.zillow.com/homedetails/11900-Cimaizon-Dr-Austin-TX-78725/305433145_zpid/",
    "listingSoldPrice": null,
    "cardType": "home",
    "homeType": "SINGLE_FAMILY",
    "listingType": { "isFSBA": true, "isFSBO": false, "isComingSoon": false, "isPending": false, "isOpenHouse": false, "isNewHome": false, "isForAuction": false, "isForeclosure": false, "isBankOwned": false, "contingencyType": null },
    "priceChange": -15100,
    "priceChangedAt": "2026-10-30T07:00:00.000Z",
    "priceReduction": "$15,100 (Oct 30)",
    "bedrooms": 4,
    "bathrooms": 3,
    "livingArea": 2174,
    "livingAreaUnit": "sqft",
    "lotArea": { "value": 10114.632, "unit": "sqft", "formatted": "10,115 sqft" },
    "daysOnZillow": 30,
    "rentZestimate": 2419,
    "taxAssessedValue": 436940,
    "mainImage": "https://photos.zillowstatic.com/fp/1eef4560d63824c1cf7a1355370d3e28-p_e.jpg",
    "listingPhotos": [{ "url": "https://photos.zillowstatic.com/fp/1eef4560d63824c1cf7a1355370d3e28-p_e.jpg", "caption": null }],
    "photoCount": 19,
    "broker": { "name": "Keller Williams Realty", "phoneNumber": null, "buyerBrokerName": null, "buyerAgentName": null },
    "marketingTagline": "Showcase",
    "openHouse": null,
    "sourceSearchUrl": "https://www.zillow.com/homes/for_sale/?searchQueryState=%7B...%7D",
    "dateSold": null,
    "cardHighlight": "showcase",
    "factsAndFeatures": null,
    "marketingTreatments": null,
    "priceIncludesMonthlyFees": false,
    "isRentalWithBasePrice": false,
    "availabilityDate": null,
    "scrapedAt": "2026-11-06T02:13:40.000Z",
    "isValid": true,
    "searchLocation": "Austin, TX",
    "statusText": "Active",
    "brokerageName": "Keller Williams Realty",
    "zipcode": "78725"
}
```

The run also saves a summary in the key-value store record `OUTPUT`. For each search it lists the Zillow URL that was searched, the total Zillow reports, how many listings were saved, and how many duplicates were removed.

***

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

**$0.80 per 1,000 listings** (pay per result). There's no monthly rental and no charge for proxies or compute. You aren't charged for listings that weren't saved.

| Job | Listings | Cost |
| --- | --- | --- |
| Sample one ZIP code | 100 | $0.08 |
| Every for-sale home in Austin, TX | ~5,400 | ~$4.32 |
| Weekly export of 5 metro areas | 25,000 | $20 |

Apify's free plan includes $5 of monthly credit, which covers **about 6,250 Zillow listings a month for free**. Set **Max results per location** or a maximum cost per run, and the scraper stops cleanly when it reaches the limit.

***

### Is there a Zillow API? (Zillow API alternative)

Zillow's public API (ZWSID) was retired, and Zillow's Bridge/MLS feeds need approval as a partner. **Zillow Search Scraper works as a Zillow API alternative**. Call it over HTTP, schedule it, or use it from code:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("scrapeverse/zillow-search-scraper").call(run_input={
    "searchLocations": ["Seattle, WA"],
    "listingStatus": "FOR_RENT",
    "priceMax": 3500,
    "resultsLimit": 200,
})
for home in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(home["listingPrice"]["formatted"], home["listingAddress"]["full"], home["propertyUrl"])
```

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('scrapeverse/zillow-search-scraper').call({
    searchLocations: ['78704'], listingStatus: 'SOLD', soldInLast: '90',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Integrations

Send Zillow listings to **Google Sheets**, **Airtable**, **HubSpot** or **Slack**, or into **n8n**, **Make**, **Zapier** and **Clay** workflows, using Apify's built-in integrations or webhooks. A common setup is a scheduled daily run per ZIP code, with new listings (`daysOnZillow: "1"`) pushed to a sheet or CRM.

***

### Input & output compatibility

- **Input:** `searchUrls: [{ "url": "…" }]`, `extractionMethod` (`PAGINATION_WITH_ZOOM_IN` / `PAGINATION` / `MAP_MARKERS`), and `resultsLimit` work alongside `searchLocations` and structured filters in the same run.
- **Output:** 42 core listing fields in a fixed order, plus ScrapeVerse extras for location context and brokerage name.
- **Also included:** city/ZIP + filter search without opening Zillow, rentals and sold filters, bare `/homes/<zip>_rb/` URLs, and agent-ready field descriptions, for **$0.80 per 1,000 listings**.

***

### FAQ

#### Can I scrape Zillow by ZIP code?

Yes. Put one or more ZIP codes in `searchLocations` (for example `"78704"`), one per line. Each ZIP is searched separately, and every row records which ZIP it came from in `searchLocation`.

#### Can I scrape sold homes and rentals?

Yes. Set `listingStatus` to `SOLD` (and optionally `soldInLast`) or to `FOR_RENT`. Rental filters (pets, laundry, parking, furnished, move-in date) apply only to `FOR_RENT`.

#### Why do I get fewer results than Zillow's homepage count?

The scraper returns exactly what Zillow returns for your filters. The `OUTPUT` record shows Zillow's own total next to how many listings were saved. In our tests those numbers matched exactly.

#### How do I get price history, tax history and schools?

Those fields live on each property's detail page. Feed the `propertyUrl` column into the [Zillow Property Details Scraper](https://apify.com/scrapeverse/zillow-property-detail-scraper).

#### Does it support the commute-time filter?

Not yet. Commute-time (drive time to an address) is planned. For now, use `searchLocations` with a ZIP or neighborhood near the destination, and filter on `coordinates`.

#### Do I need a Zillow account, cookies or proxies?

No. No login or cookies are needed. US residential proxies are built in and enabled by default.

#### Is it legal to scrape Zillow?

The scraper collects only publicly visible listing data. Results can contain personal data (for example, agent or owner names in listings), which GDPR, CCPA and similar laws protect. Make sure you have a legitimate purpose and follow Zillow's terms and the laws that apply to you. If you're unsure, ask a lawyer.

#### Something isn't working?

Open an issue on the Actor's **Issues** tab and include your run ID. We usually reply within one business day.

# Actor input Schema

## `searchLocations` (type: `array`):

One location per line, exactly as you would type it in Zillow's search box, e.g. "Austin, TX", "78704", "Brooklyn, NY", "Miami-Dade County, FL". Each location is searched separately with the filters below.

## `searchUrls` (type: `array`):

Paste Zillow search result URLs. Filters already applied on Zillow are kept; the filter fields below are NOT applied to URLs. Best results with URLs that contain ?searchQueryState=... (move the map once on Zillow to get one).

## `listingStatus` (type: `string`):

Homes for sale, rentals, or recently sold homes.

## `forSaleListingTypes` (type: `array`):

Only for 'For sale'. Leave empty for Zillow's default (all types except pre-foreclosures and foreclosed).

## `includePendingUnderContract` (type: `boolean`):

Only for 'For sale'.

## `includeAcceptingBackupOffers` (type: `boolean`):

Only for 'For sale'.

## `soldInLast` (type: `string`):

Only for 'Sold'. How recently the home sold.

## `priceMin` (type: `integer`):

List price for sale/sold, monthly rent for rentals.

## `priceMax` (type: `integer`):

List price for sale/sold, monthly rent for rentals.

## `monthlyPaymentMin` (type: `integer`):

For sale only. Zillow's estimated monthly payment.

## `monthlyPaymentMax` (type: `integer`):

For sale only. Zillow's estimated monthly payment.

## `maxHoaFee` (type: `integer`):

Use 0 for 'No HOA fee'. Leave empty for any.

## `includeIncompleteHoaData` (type: `boolean`):

Only matters when a maximum HOA fee is set.

## `bedsMin` (type: `integer`):

0 = studio.

## `bedsMax` (type: `integer`):

Maximum number of bedrooms.

## `useExactBeds` (type: `boolean`):

Match 'Minimum bedrooms' exactly instead of 'or more'.

## `bathsMin` (type: `string`):

Minimum number of bathrooms.

## `propertyTypes` (type: `array`):

Leave empty for all types.

## `homeSizeMin` (type: `integer`):

Minimum interior living area in square feet.

## `homeSizeMax` (type: `integer`):

Maximum interior living area in square feet.

## `lotSizeMin` (type: `integer`):

1 acre = 43,560 sq ft. ¼ acre = 10,890 sq ft.

## `lotSizeMax` (type: `integer`):

1 acre = 43,560 sq ft.

## `yearBuiltMin` (type: `integer`):

Earliest construction year, e.g. 2000.

## `yearBuiltMax` (type: `integer`):

Latest construction year.

## `parkingSpotsMin` (type: `integer`):

Minimum number of parking spots (1-4).

## `mustHaveGarage` (type: `boolean`):

Only homes with a garage.

## `basement` (type: `string`):

Filter by basement type.

## `singleStoryOnly` (type: `boolean`):

Only single-story homes.

## `community55Plus` (type: `string`):

Include, hide, or only show 55+ (age-restricted) communities.

## `mustHaveAC` (type: `boolean`):

Only homes with air conditioning.

## `mustHavePool` (type: `boolean`):

Only homes with a pool.

## `waterfront` (type: `boolean`):

Only waterfront homes.

## `views` (type: `array`):

Home must have at least the selected view(s).

## `mustHaveOpenHouse` (type: `boolean`):

Only homes with a scheduled open house.

## `mustHave3DTour` (type: `boolean`):

Only homes with a 3D virtual tour.

## `onlyPriceReduced` (type: `boolean`):

Only listings with a recent price cut.

## `petsAllowed` (type: `array`):

Rentals that allow the selected pets.

## `inUnitLaundry` (type: `boolean`):

Rentals with in-unit washer/dryer.

## `onSiteParking` (type: `boolean`):

Rentals with on-site parking.

## `furnished` (type: `boolean`):

Furnished rentals only.

## `shortTermLease` (type: `boolean`):

Rentals offering short-term leases.

## `incomeRestricted` (type: `boolean`):

Income-restricted (affordable) rentals only.

## `forRentByOwner` (type: `boolean`):

Rentals listed directly by the owner.

## `moveInDate` (type: `string`):

Available by this date, format YYYY-MM-DD.

## `daysOnZillow` (type: `string`):

Only listings posted within this period (for sale and rent).

## `keywords` (type: `string`):

Free-text keywords Zillow matches in listings, e.g. "backyard", "solar", or an MLS number.

## `sortBy` (type: `string`):

Order in which Zillow returns results (matters when you set a results limit).

## `extractionMethod` (type: `string`):

PAGINATION_WITH_ZOOM_IN gets every listing (splits big areas into map tiles, no 820 cap). PAGINATION reads Zillow's list pages (max ~820 per search). MAP_MARKERS reads map pins only (fastest, max ~500).

## `resultsLimit` (type: `integer`):

Maximum number of properties per search location or URL. Leave empty to get all results. You only pay for results you get.

## `includeRawListing` (type: `boolean`):

Adds a 'rawListing' field with the complete original Zillow search-card object (larger dataset).

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

Residential US proxies are recommended for Zillow and used by default.

## Actor input object example

```json
{
  "searchLocations": [
    "Austin, TX"
  ],
  "listingStatus": "FOR_SALE",
  "includePendingUnderContract": false,
  "includeAcceptingBackupOffers": false,
  "includeIncompleteHoaData": true,
  "useExactBeds": false,
  "mustHaveGarage": false,
  "basement": "any",
  "singleStoryOnly": false,
  "community55Plus": "INCLUDE",
  "mustHaveAC": false,
  "mustHavePool": false,
  "waterfront": false,
  "mustHaveOpenHouse": false,
  "mustHave3DTour": false,
  "onlyPriceReduced": false,
  "inUnitLaundry": false,
  "onSiteParking": false,
  "furnished": false,
  "shortTermLease": false,
  "incomeRestricted": false,
  "forRentByOwner": false,
  "daysOnZillow": "any",
  "sortBy": "homesForYou",
  "extractionMethod": "PAGINATION_WITH_ZOOM_IN",
  "resultsLimit": 100,
  "includeRawListing": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

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

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeverse/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/eOxqnyt8pbv7FdY5y/builds/eK9S7M5zX9MUlYavI/openapi.json
