primary-violetP
Apify & Crawlee3y ago
15 replies
primary-violet

Zillow Scraper

Hi, I'm new to Apify. I'm trying to scrape Zillow data for a school project. I found an actor created by maxcopell. I found the API python code to pull some basic info (https://apify.com/maxcopell/zillow-api-scraper/api#search). When I ran this code, I didn't get the school info. Under the ReadMe I found a reference to how to store the school data (see below). I'm unsure how to use this code. Any help would be appreciated.

async ({ item, data }) => {
if (!data.schools || !data.schools.length) {
return null; // omit output
}

item.schools = data.schools; // add new array data
item.photos = undefined; // remove the photos array from the output, making it CSV friendly
delete item.photos; // works as well

return item; // need to return the item here, otherwise your dataset willbe empty
}
Apify
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.
API · Scrape Zillow real estate listings 🏘️ · Apify
Was this page helpful?