vøiddo guidesAll Actors on Apify

Zillow Search Scraper: how to get Homes for Sale, Rent and Sold as JSON/CSV (API, Python, no code)

Scrape Zillow search results for homes for sale, rentals and recently sold properties: price, address, beds, baths, living area, lot size, home type, days on Zillow, coordinates and listing brokerage. This guide shows the output fields, a working input, and Python, JavaScript and cURL code for the Actor v0iddo/zillow-scraper on Apify.

Open Zillow Search Scraper on Apify

What data you get

One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.

FieldLabelTypeExample
addressAddresstext8709 Blaze Dr, Austin, TX 78747
priceTextPricetext$449,000
bedsBedsnumber4
bathsBathsnumber3
livingAreaLiving area (sq ft)number2428
homeTypeHome typetextSINGLE_FAMILY
statusStatustextFOR_SALE
daysOnZillowDays on Zillownumber2
brokerNameBrokeragetextCompass RE Texas, LLC
urlListingURLhttps://www.zillow.com/homedetails/8709-Blaze-Dr-Austin-TX-78747/24...
zpidtext241930983
streettext8709 Blaze Dr
citytextAustin
statetextTX
zipcodetext78747
pricenumber449000
lotAreanumber5959
latitudenumber30.155561
longitudenumber-97.75403
imgSrctexthttps://photos.zillowstatic.com/fp/3092794a64d832969bdc9c6473960032...

Input example

This is the input that is pre-filled on the Actor page. Change the values for your own run.

{
  "locations": [
    "Austin, TX"
  ],
  "listingType": "for_sale",
  "maxItems": 20
}
Input fieldTypeWhat it does
locationsarrayCities, ZIP codes or neighborhoods such as Austin, TX or 78701.
listingTypestringWhich Zillow listings to read for the locations above.
searchUrlsarraySearch result pages copied from your browser, for example https://www.zillow.com/austin-tx/ or a filtered search.
maxItemsintegerThe run stops after this many result rows.

Output sample

Real rows from a run of the Actor. Fields that name people are left out of the sample.

[
  {
    "zpid": "241930983",
    "address": "8709 Blaze Dr, Austin, TX 78747",
    "street": "8709 Blaze Dr",
    "city": "Austin",
    "state": "TX",
    "zipcode": "78747",
    "price": 449000,
    "priceText": "$449,000",
    "beds": 4,
    "baths": 3,
    "livingArea": 2428,
    "lotArea": 5959,
    "homeType": "SINGLE_FAMILY",
    "status": "FOR_SALE",
    "daysOnZillow": 2,
    "latitude": 30.155561,
    "longitude": -97.75403,
    "brokerName": "Compass RE Texas, LLC",
    "imgSrc": "https://photos.zillowstatic.com/fp/3092794a64d832969bdc9c6473960032-p_e.jpg",
    "url": "https://www.zillow.com/homedetails/8709-Blaze-Dr-Austin-TX-78747/241930983_zpid/"
  },
  {
    "zpid": "64625418",
    "address": "11008 Sierra Ridge Ct, Austin, TX 78739",
    "street": "11008 Sierra Ridge Ct",
    "city": "Austin",
    "state": "TX",
    "zipcode": "78739",
    "price": 1375000,
    "priceText": "$1,375,000",
    "beds": 5,
    "baths": 4,
    "livingArea": 4395,
    "lotArea": 16666,
    "homeType": "SINGLE_FAMILY",
    "status": "FOR_SALE",
    "daysOnZillow": 17,
    "latitude": 30.191551,
    "longitude": -97.90368,
    "brokerName": "Keller Williams Realty",
    "imgSrc": "https://photos.zillowstatic.com/fp/7838632f692b96915c92c564228dcfb6-p_e.jpg",
    "url": "https://www.zillow.com/homedetails/11008-Sierra-Ridge-Ct-Austin-TX-78739/64625418_zpid/"
  }
]

Code: Python, JavaScript and cURL

Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/zillow-scraper.

Python (apify-client)

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {'locations': ['Austin, TX'], 'listingType': 'for_sale', 'maxItems': 20}

run = client.actor("v0iddo/zillow-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

JavaScript (apify-client)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const input = {
  "locations": [
    "Austin, TX"
  ],
  "listingType": "for_sale",
  "maxItems": 20
};

const run = await client.actor('v0iddo/zillow-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

cURL

curl -X POST "https://api.apify.com/v2/acts/v0iddo~zillow-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"locations": ["Austin, TX"], "listingType": "for_sale", "maxItems": 20}'

Price

$1.50 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $1.05 per 1,000. See the pricing tab for your plan. A new Apify account gets $5 of platform credit every month.

Good to know

FAQ

What data does the Zillow Search Scraper return?

Each result is one row in an Apify dataset. Fields include address, priceText, beds, baths, livingArea, homeType, status, daysOnZillow, and more. The table above shows every field with an example value.

How do I use the Zillow Search Scraper from Python?

Install the apify-client package, create a client with your Apify API token, call the Actor v0iddo/zillow-scraper with an input like the one above, and read the rows from the run's dataset. The Python snippet above does exactly that.

Can I use it without writing code?

Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.

How much does it cost?

$1.50 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $1.05 per 1,000. A new Apify account gets $5 of platform credit every month.

How do I limit the number of results?

Set the maxItems input field to the number of results you need; the run stops there, so it also caps the cost of one run. You can also set a maximum cost for a run in the run options on Apify, and the run stops when it is reached.

Can I send the results to Google Sheets, Make, Zapier or n8n?

Yes. Apify datasets connect to Google Sheets, Slack, Make, Zapier and n8n, and a webhook can call your own service when a run finishes. You can also export the dataset as JSON, CSV or Excel.

Open Zillow Search Scraper on Apify

Related guides