Zillow Real Estate Scraper
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsZillow Real Estate Scraper
Our free Zillow scraper lets you extract data about properties for sale and rent on Zillow using the Zillow API, but with no daily call limits. Scrape millions of listings and download your data as HTML, JSON, CSV, Excel, XML, and RSS feed.
You can access the Zillow Real Estate Scraper programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "search": "Los Angeles",
12 "type": "all",
13 "maxItems": 200,
14 "maxLevel": 1,
15 "proxyConfiguration": {
16 "useApifyProxy": true
17 },
18 "maxRetries": 6,
19 "handlePageTimeoutSecs": 3600,
20 "extendOutputFunction": async ({ data, item, customData, Apify }) => {
21 return item;
22 },
23 "extendScraperFunction": async ({ label, page, request, customData, Apify }) => {
24 if (label === 'SETUP') {
25 // before crawler.run()
26 } else if (label === 'GOTO') {
27 // inside handleGotoFunction
28 } else if (label === 'HANDLE') {
29 // inside handlePageFunction
30 } else if (label === 'FINISH') {
31 // after crawler.run()
32 }
33 },
34 "customData": {}
35};
36
37// Run the Actor and wait for it to finish
38const run = await client.actor("petr_cermak/zillow-api-scraper").call(input);
39
40// Fetch and print Actor results from the run's dataset (if any)
41console.log('Results from dataset');
42console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
43const { items } = await client.dataset(run.defaultDatasetId).listItems();
44items.forEach((item) => {
45 console.dir(item);
46});
47
48// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Scrape Zillow real estate listings 🏘️ API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Zillow Real Estate Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include: