Zillow API Network

GetSearchResults API

The GetSearchResults API finds a property for a specified address. The content returned contains the address for the property or properties as well as the Zillow Property ID (ZPID) and current Zestimate®. It also includes the date the Zestimate was computed, a valuation range and the Zestimate ranking for the property within its ZIP code.

The GetSearchResults API Web Service is located at: http://www.zillow.com/webservice/GetSearchResults.htm

The parameters of the API are:

zws-idThe Zillow Web Service Identifier. Each subscriber to Zillow Web Services is uniquely identified by an ID sequence and every request to Web services requires this ID. Click here to get yours. Yes
addressThe address of the property to search. This string should be URL encoded. Yes
citystatezipThe city+state combination and/or ZIP code for which to search. This string should be URL encoded. Note that giving both city and state is required. Using just one will not work. Yes
rentzestimateReturn Rent Zestimate information if available (boolean true/false, default: false)No

The API result set:

zpidThe Zillow Property ID. Other API calls use this ZPID to identify properties, and to retrieve property-specific data.
Links URLs to specific Zillow pages for this property:
  • Home details page
  • Chart data page
  • Map this home page
  • Similar sales page
Full address The complete address for the property:
  • Street address
  • ZIP code
  • City
  • State
  • Latitude
  • Longitude
Zestimate data Zestimate related data:
  • Zestimate (in $)
  • Last updated date
  • 30-day change (in $)
  • Valuation range (high) (in $)
  • Valuation range (low) (in $)
  • Percentile Value
Rent Zestimate data Rent Zestimate related data:
  • Rent Zestimate (in $)
  • Last updated
  • 30-day change (in $)
  • Valuation range (high) (in $)
  • Valuation range (low) (in $)
Local real estate Real estate data for neighborhood, city, and State
  • Zillow Home Value Index
  • Zillow Home Value Index 1-Yr change
  • Link to Region overview Page
  • Link to For Sale by Owner homes page
  • Link to for sale homes page
Limit-warningIf this field is set to "true", it means you are approaching your call limit. It appears under the 'message' element in the API result set:
&nbsp; <text>Request successfully processed</text>
&nbsp; <code>0</code>
&nbsp; <limit-warning>true</limit-warning>
This output field will not be returned if it is false.

Messages and Codes

The following table summarizes possible return codes from the API:

Error codeDescriptionResolution
0Request successfully processed
1Service error-there was a server-side error while processing the requestCheck to see if your url is properly formed: delimiters, character cases, etc.
2The specified ZWSID parameter was invalid or not specified in the requestCheck if you have provided a ZWSID in your API call. If yes, check if the ZWSID is keyed in correctly. If it still doesn't work, contact Zillow to get help on fixing your ZWSID.
3Web services are currently unavailable The Zillow Web Service is currently not available. Please come back later and try again.
4The API call is currently unavailableThe Zillow Web Service is currently not available. Please come back later and try again.
500Invalid or missing address parameterCheck if the input address matches the format specified in the input parameters table. When inputting a city name, include the state too. A city name alone will not result in a valid address.
501Invalid or missing citystatezip parameterSame as error 500.
502No results foundSorry, the address you provided is not found in Zillow's property database.
503Failed to resolve city, state or ZIP codePlease check to see if the city/state you entered is valid. If you provided a ZIP code, check to see if it is valid.
504No coverage for specified areaThe specified area is not covered by the Zillow property database. To see our property coverage tables, click here.
505TimeoutYour request timed out. The server could be busy or unavailable. Try again later.
506Address string too longIf address is valid, try using abbreviations.
507No exact match found.Verify that the given address is correct.

Sample API Call

Below is an example of calling the API for the address for the exact address match "2114 Bigelow Ave", "Seattle, WA":

Sample API Output

    <SearchResults:searchresults xsi:schemaLocation="http://www.zillow.com/static/xsd/SearchResults.xsd /vstatic/ae1bf8a790b67ef2e902d2bc04046f02/static/xsd/SearchResults.xsd">
    <address>2114 Bigelow Ave</address>
    <citystatezip>Seattle, WA</citystatezip>
    <text>Request successfully processed</text>
    <street>2114 Bigelow Ave N</street>
    <amount currency="USD">1219500</amount>
    <oneWeekChange deprecated="true"/>
    <valueChange duration="30" currency="USD">-41500</valueChange>
    <low currency="USD">1024380</low>
    <high currency="USD">1378035</high>
    <region id="271856" type="neighborhood" name="East Queen Anne">
    <region id="16037" type="city" name="Seattle">
    <region id="59" type="state" name="Washington">

XML Schema Definition (XSD)

The XSD for the API is located at: http://www.zillow.com/static/xsd/SearchResults.xsd

    <?xml version="1.0" encoding="utf-8" ?>
    <xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ZillowTypes="http://www.zillowstatic.com/vstatic/347e0ef/static/xsd/ZillowTypes.xsd" targetNamespace="http://www.zillowstatic.com/vstatic/347e0ef/static/xsd/SearchResults.xsd">
    <xsd:import namespace="http://www.zillowstatic.com/vstatic/347e0ef/static/xsd/ZillowTypes.xsd" />
    <xsd:element name="searchresults">
    <xsd:element name="request">
    <xsd:element name="address" type="xsd:string" />
    <xsd:element name="citystatezip" type="xsd:string" />
    <xsd:element name="message" type="ZillowTypes:Message" />
    <xsd:element minOccurs="0" name="response">
    <xsd:element name="results">
    <xsd:element minOccurs="1" maxOccurs="unbounded" name="result" type="ZillowTypes:SimpleProperty" />

Have a question? Find help from a Pro here.