The tiller-zillow-simple script is a simple Google Apps Script to scrape Zillow Zestimates® and insert them into the Balance History sheet of Tiller-enabled spreadsheets. This workflow is especially useful for tracking net worth.
Visit Tiller HQ to learn more about Tiller.
This simple script is designed for intermediate users and includes only lightweight error checking. We hope it meets your needs out of the box, but further tweaks may be required to get it working in your environment. As a one-off Tiller-Labs release, Tiller offers no warranties or support for this solution.
To configure your project, implement the following steps in Google Sheets:
- Visit Zillow and browse to the property you'd like to link.
- Click on the
Public View
link. - Find the Zillow Property ID number in the URL— it will have a format similar to:
...homes/for_sale/48000000_zpid/47.63...
. (In this example, the Property ID is48000000
.) - Create a Zillow Web Services ID by visiting Zillow's API Overview page.
- Follow the link to
Get a Zillow Web Services ID (ZWSID)
and follow the steps. - Open the Tiller Google-Sheets spreadsheet you'd like to integrate with Zillow.
- Click on Tools -> Script editor to open the spreadsheet's bound scripts.
- Copy the contents of zillow.js from this repo into the Google Sheets script editor.
- Set the
zwsid
variable (at the start of the code) equal to your new Zillow Web Services ID. - Set the
zpid
variable (at the start of the code) equal to your new Zillow Property ID. - Save the script file.
- Click on the Set Function dropdown in the control bar and select the
zestimateInsert
function. - Click the run/play button.
- In the 'Authorization required' window that appears, click 'Review Permissions', then authenticate and allow the script to run.
If you've completed all the steps successfully, you should have a new entry in your Balance History reflecting the Zestimate® of the linked property.
Most users will configure only a single Zillow Property ID like this:
var zpid = '11111111';
If you'd like to run the script against multiple properties, the zpid
can be configured as an array:
var zpid = '[11111111, 22222222, 33333333]'
Consider adding: