What is Zillow
Zillow.com is an online Real Estate service
that provides information about homes. Zillow can provide detailed information such
as estimates on home worth, tax and sale history, trends, comparable properties
in the area, and much more.
An API?
Zillow provides an full API so that you can incorporate their detailed data into
your own applications. Please refer to Zillow's
Terms of Use before using their service.
I am selling the library. It's 25$ for the dll, 50$ for the source or 150$ for the sample site, source and dll. Just
enough to cover the time I put into writing it. If you purchase the Sample Site I will offer small customizations (change colors, add a field or two).
I can also help you fully integrate Zillow into your site for an hourly fee.
This is only .Net 2.0 Compatible (send me an email if you have interest in a 1.1 version, I can change the code easily).
The objects mirror the layout of the xml results that come back from Zillow. If
you ever have a question about where some data is take a look at the schema provided
on Zillow's site and you should be able to follow that hierarchy to get to the data
in the object model. I will do my best to provide updates if there is any problem
with the library.
Sample Site
Code Examples
Add the using statements:
using Apt.Services.Zillow;
using Apt.Services.Zillow.Chart;
using Apt.Services.Zillow.SearchResults;
using Apt.Services.Zillow.ZestimateResult;
using Apt.Services.Zillow.Comps;
Create a ZillowClient to make the requests and specify your Zillow Web Services
Id (sign up with Zillow to recieve this). I have not shown every property on every
object here. The layout should be 1 to 1 with the xml that is returned. Look at
the xml response examples or use intellisense and it should be natural:
ZillowClient client =
new ZillowClient("YOUR
ZWSID HERE");
ZillowZestimate zestimate = client.GetZestimate(48749425);
//zestimate.Message.Text - will be Request successfully
processed
//zestimate.Message.Code - will be 0
//zestimate.Response.Zestimate.Amount.Value - will be $1,169,491
//zestimate.Response.Zestimate.OneWeekChange.Value - will
be $17,189
ZillowComps comps = client.GetComps(48749425,
5);
//comps.Response.Properties.Principal.Address.Longitude
- will be -122.347936
//comps.Response.Properties.Comparables.Count - will be
5
//comps.Response.Properties.Comparables[1].Score - will
be 1.0
//comps.Response.Properties.Comparables[1].Zestimate.ValuationRange.High.Value
- will be $1,303,488
//comps.Response.Properties.Comparables[1].Zestimate.ValuationRange.High.Currency
- will be USD
ZillowRegionChart regionChart =
client.GetRegionChart("San Francisco",
"CA", null,
ZillowUnitType.Dollar,
null, null, SimpleChartDuration.OneYear);
//regionChart.Response.Url - will be http://www.zillow.com/app?chartDuration=1year&chartType=partner
&cityRegionId=20330&countyRegionId=0&nationRegionId=0&page=webservice%2FGetRegionChart
&service=chart&showCity=true&stateRegionId=0&zipRegionId=0
ZillowChart chart = client.GetChart(48749425,
ZillowUnitType.Percent, 300, 150,
SimpleChartDuration.OneYear);
//chart.Response.Url - will be http://www.zillow.com/app?chartDuration=1year&chartType=partner
&height=150&page=webservice%2FGetChart&service=chart&showPercent=true&width=300&zpid=48749425
ZillowSearchResults searchResults = client.GetDeepSearchResults("2114 Bigelow Ave", "Seattle,
WA");
//searchResults.Response.Results.Count - will be 1
//searchResults.Response.Results[0].LastSoldPrice - will
be $770,000
//searchResults.Response.Results[0].Zestimate.Amount.Value
- will be $1,169,491
ZillowComps deepComps = client.GetDeepComps(48749425,
5);
//deepComps.Response.Properties.Principal.TaxAssessment
- will be 816000.0
//deepComps.Response.Properties.Comparables[0].LotSizeSqFt
- will be 2600
ZillowSearchResults deepSearchResults = client.GetDeepSearchResults("2114 Bigelow Ave", "Seattle,
WA");
//deepSearchResults.Response.Results[0].FinishedSqFt - will
be 3,290
//deepSearchResults.Response.Results[0].Bedrooms - will
be 4
//deepSearchResults.Response.Results[0].Zpid - will be 48749425