API illustration

Zillow API Network

GetDeepComps API

The GetDeepComps API returns a list of comparable recent sales for a specified property. The result set returned contains the address, Zillow property identifier, and Zestimate for the comparable properties and the principal property for which the comparables are being retrieved. This API call also returns rich property data for the comparables.

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

The parameters to the API are:

ParameterDescriptionRequired
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 IDYes
zpidThe Zillow Property ID for the property for which to obtain information; the parameter type is an integerYes
countThe number of comparable recent sales to obtain (integer between 1 and 25)Yes
rentzestimateReturn Rent Zestimate information if available (boolean true/false, default: false)No

The result set of the API:

The following result set is obtained for each comparable and also the principal property that was provided as input to the API call.

ParameterDescription
zpidZillow property ID for the property.
LinksURLs to specific Zillow pages for this property:
  • Home details page
  • Chart data page
  • Map this home page
  • Similar sales page
Full addressThe complete address for the property:
  • Street address
  • ZIP code
  • City
  • State
  • Latitude
  • Longitude
Zestimate dataZestimate related data:
  • Zestimate (in $)
  • Last updated
  • 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 estateReal 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.
Tax assessment yearThe year of the most recent tax assessment
Tax assessmentThe most recent tax assessment
YearbuiltThe year in which the property was constructed.
lotsizeSqFtThe size of the lot in sq. ft.
finishedSqFtThe size of the finished property in sq. ft.
BathroomsNumber of bathrooms in the property.
BedroomsNumber of bedrooms in the property.
LastSoldDateThe date of last sale for this property.
LastSoldPriceThe price of the last sale for this property.
CompscoreThis data is provided for comparable homes. It is a number between 0 to 1 that indicates how close the comparable is to the target property. API implementations can use this data to sort the comparables by relevance, with 1 being the most relevant.
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:
<message>
<text>Request successfully processed</text>
<code>0</code>
<limit-warning>true</limit-warning>
</message>
This output field will not be returned if it is false.

Messages and Codes

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.
500The specified zpid parameter was not specified or invalidThe zpid parameter you have provided is not valid. Please check if your zpid is correct and try again.
501The specified count parameter was not specified or invalidThe count parameter which tells the API the number of comparable homes to return is mandatory. Please check if you have specified a valid integer greater than or equal to 1 and less than or equal to 25
502There is no record in our database that corresponds to the specified zpid parameterThe zpid you provided didn't match any of the property zpids in our database. Either the property is not available in our database or there might be a typo in the zpid.
503The property identified by the specified zpid does not have a ZestimateWe found the property, but we do not have a Zestimate for this property. See our Zestimate coverage table.
504No resultsThere were no comparables for the property you specified.

Sample Calls

Below is an example of calling the GetDeepComps API for zpid 48749425 and count of 5 comps:
http://www.zillow.com/webservice/GetDeepComps.htm?zws-id=<ZWSID<&zpid=48749425&count=5

Sample API Output

<Comps:comps xsi:schemaLocation="http://www.zillow.com/static/xsd/Comps.xsd /vstatic/ae1bf8a790b67ef2e902d2bc04046f02/static/xsd/Comps.xsd">
<request>
<zpid>48749425</zpid>
<count>5</count>
</request>
<message>
<text>Request successfully processed</text>
<code>0</code>
</message>
<response>
<properties>
<principal>
<zpid>48749425</zpid>
<links>
<homedetails>
http://www.zillow.com/homedetails/2114-Bigelow-Ave-N-Seattle-WA-98109/48749425_zpid/
</homedetails>
<graphsanddata>
http://www.zillow.com/homedetails/charts/48749425_zpid,1year_chartDuration/?cbt=8860375400203215891%7E4%7E4rtHGS99FewWZQdZkxwcJh2zVPQgG28TgCLWpvfp18j0KOoW_noNWg**
</graphsanddata>
<mapthishome>http://www.zillow.com/homes/map/48749425_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/48749425_zpid/</comparables>
</links>
<address>
<street>2114 Bigelow Ave N</street>
<zipcode>98109</zipcode>
<city>Seattle</city>
<state>WA</state>
<latitude>47.63793</latitude>
<longitude>-122.347936</longitude>
</address>
<taxAssessmentYear>2008</taxAssessmentYear>
<taxAssessment>1054000.0</taxAssessment>
<yearBuilt>1924</yearBuilt>
<lotSizeSqFt>4680</lotSizeSqFt>
<finishedSqFt>3470</finishedSqFt>
<bathrooms>3.0</bathrooms>
<bedrooms>4</bedrooms>
<lastSoldDate>11/26/2008</lastSoldDate>
<lastSoldPrice currency="USD">995000</lastSoldPrice>
<zestimate>
<amount currency="USD">1219500</amount>
<last-updated>12/31/1969</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">-41500</valueChange>
<valuationRange>
<low currency="USD">1024380</low>
<high currency="USD">1378035</high>
</valuationRange>
<percentile>95</percentile>
</zestimate>
<localRealEstate>
<region id="271856" type="neighborhood" name="East Queen Anne">
<zindexValue>525,397</zindexValue>
<zindexOneYearChange>-0.144</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/
</overview>
<forSaleByOwner>
http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/
</forSaleByOwner>
<forSale>
http://www.zillow.com/east-queen-anne-seattle-wa/
</forSale>
</links>
</region>
<region id="16037" type="city" name="Seattle">
<zindexValue>381,764</zindexValue>
<zindexOneYearChange>-0.074</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/r_16037/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/Seattle-WA/</forSaleByOwner>
<forSale>http://www.zillow.com/seattle-wa/</forSale>
</links>
</region>
<region id="59" type="state" name="Washington">
<zindexValue>263,278</zindexValue>
<zindexOneYearChange>-0.066</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-home-value/r_59/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/WA/</forSaleByOwner>
<forSale>http://www.zillow.com/wa/</forSale>
</links>
</region>
</localRealEstate>
</principal>
<comparables>
<comp score="0.156502">
<zpid>89210365</zpid>
<links>
<homedetails>
http://www.zillow.com/homedetails/1511-10th-Ave-W-Seattle-WA-98119/89210365_zpid/
</homedetails>
<graphsanddata>
http://www.zillow.com/homedetails/charts/89210365_zpid,1year_chartDuration/?cbt=8860375400203215891%7E4%7E4rtHGS99FewWZQdZkxwcJh2zVPQgG28TgCLWpvfp18j0KOoW_noNWg**
</graphsanddata>
<mapthishome>http://www.zillow.com/homes/map/89210365_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/89210365_zpid/</comparables>
</links>
<address>
<street>1511 10th Ave W</street>
<zipcode>98119</zipcode>
<city>Seattle</city>
<state>WA</state>
<latitude/>
<longitude/>
</address>
<taxAssessmentYear>2008</taxAssessmentYear>
<taxAssessment>804000.0</taxAssessment>
<yearBuilt>2006</yearBuilt>
<lotSizeSqFt>3750</lotSizeSqFt>
<finishedSqFt>2520</finishedSqFt>
<bathrooms>4.0</bathrooms>
<bedrooms>4</bedrooms>
<lastSoldDate>09/24/2009</lastSoldDate>
<lastSoldPrice currency="USD">832500</lastSoldPrice>
<zestimate>
<amount currency="USD">836500</amount>
<last-updated>11/03/2009</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">-220500</valueChange>
<valuationRange>
<low currency="USD">777945</low>
<high currency="USD">886690</high>
</valuationRange>
<percentile>83</percentile>
</zestimate>
<localRealEstate>
<region id="272018" type="neighborhood" name="West Queen Anne">
<zindexValue>547,776</zindexValue>
<zindexOneYearChange>-0.078</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/West-Queen-Anne/r_272018/
</overview>
<forSaleByOwner>
http://www.zillow.com/homes/fsbo/West-Queen-Anne-Seattle-WA/
</forSaleByOwner>
<forSale>
http://www.zillow.com/west-queen-anne-seattle-wa/
</forSale>
</links>
</region>
<region id="16037" type="city" name="Seattle">
<zindexValue>381,764</zindexValue>
<zindexOneYearChange>-0.074</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/r_16037/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/Seattle-WA/</forSaleByOwner>
<forSale>http://www.zillow.com/seattle-wa/</forSale>
</links>
</region>
<region id="59" type="state" name="Washington">
<zindexValue>263,278</zindexValue>
<zindexOneYearChange>-0.066</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-home-value/r_59/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/WA/</forSaleByOwner>
<forSale>http://www.zillow.com/wa/</forSale>
</links>
</region>
</localRealEstate>
</comp>
<comp score="0.156114">
<zpid>49009208</zpid>
<links>
<homedetails>
http://www.zillow.com/homedetails/2928-Queen-Anne-Ave-N-Seattle-WA-98109/49009208_zpid/
</homedetails>
<graphsanddata>
http://www.zillow.com/homedetails/charts/49009208_zpid,1year_chartDuration/?cbt=8860375400203215891%7E4%7E4rtHGS99FewWZQdZkxwcJh2zVPQgG28TgCLWpvfp18j0KOoW_noNWg**
</graphsanddata>
<mapthishome>http://www.zillow.com/homes/map/49009208_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/49009208_zpid/</comparables>
</links>
<address>
<street>2928 Queen Anne Ave N</street>
<zipcode>98109</zipcode>
<city>Seattle</city>
<state>WA</state>
<latitude>47.646643</latitude>
<longitude>-122.356534</longitude>
</address>
<taxAssessmentYear>2008</taxAssessmentYear>
<taxAssessment>633000.0</taxAssessment>
<yearBuilt>1927</yearBuilt>
<lotSizeSqFt>3240</lotSizeSqFt>
<finishedSqFt>1920</finishedSqFt>
<bathrooms>2.0</bathrooms>
<bedrooms>2</bedrooms>
<lastSoldDate>08/20/2009</lastSoldDate>
<lastSoldPrice currency="USD">595000</lastSoldPrice>
<zestimate>
<amount currency="USD">608000</amount>
<last-updated>11/03/2009</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">11000</valueChange>
<valuationRange>
<low currency="USD">559360</low>
<high currency="USD">656640</high>
</valuationRange>
<percentile>68</percentile>
</zestimate>
<localRealEstate>
<region id="271942" type="neighborhood" name="North Queen Anne">
<zindexValue>521,820</zindexValue>
<zindexOneYearChange>-0.059</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/North-Queen-Anne/r_271942/
</overview>
<forSaleByOwner>
http://www.zillow.com/homes/fsbo/North-Queen-Anne-Seattle-WA/
</forSaleByOwner>
<forSale>
http://www.zillow.com/north-queen-anne-seattle-wa/
</forSale>
</links>
</region>
<region id="16037" type="city" name="Seattle">
<zindexValue>381,764</zindexValue>
<zindexOneYearChange>-0.074</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/r_16037/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/Seattle-WA/</forSaleByOwner>
<forSale>http://www.zillow.com/seattle-wa/</forSale>
</links>
</region>
<region id="59" type="state" name="Washington">
<zindexValue>263,278</zindexValue>
<zindexOneYearChange>-0.066</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-home-value/r_59/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/WA/</forSaleByOwner>
<forSale>http://www.zillow.com/wa/</forSale>
</links>
</region>
</localRealEstate>
</comp>
<comp score="0.153359">
<zpid>48689916</zpid>
<links>
<homedetails>
http://www.zillow.com/homedetails/1713-Warren-Ave-N-Seattle-WA-98109/48689916_zpid/
</homedetails>
<graphsanddata>
http://www.zillow.com/homedetails/charts/48689916_zpid,1year_chartDuration/?cbt=8860375400203215891%7E4%7E4rtHGS99FewWZQdZkxwcJh2zVPQgG28TgCLWpvfp18j0KOoW_noNWg**
</graphsanddata>
<mapthishome>http://www.zillow.com/homes/map/48689916_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/48689916_zpid/</comparables>
</links>
<address>
<street>1713 Warren Ave N</street>
<zipcode>98109</zipcode>
<city>Seattle</city>
<state>WA</state>
<latitude>47.634439</latitude>
<longitude>-122.354789</longitude>
</address>
<taxAssessmentYear>2008</taxAssessmentYear>
<taxAssessment>628000.0</taxAssessment>
<yearBuilt>1905</yearBuilt>
<lotSizeSqFt>6000</lotSizeSqFt>
<finishedSqFt>2100</finishedSqFt>
<bathrooms>1.0</bathrooms>
<bedrooms>3</bedrooms>
<totalRooms>8</totalRooms>
<lastSoldDate>05/12/2009</lastSoldDate>
<lastSoldPrice currency="USD">637500</lastSoldPrice>
<zestimate>
<amount currency="USD">696500</amount>
<last-updated>11/03/2009</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">-15500</valueChange>
<valuationRange>
<low currency="USD">592025</low>
<high currency="USD">787045</high>
</valuationRange>
<percentile>77</percentile>
</zestimate>
<localRealEstate>
<region id="271856" type="neighborhood" name="East Queen Anne">
<zindexValue>525,397</zindexValue>
<zindexOneYearChange>-0.144</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/
</overview>
<forSaleByOwner>
http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/
</forSaleByOwner>
<forSale>
http://www.zillow.com/east-queen-anne-seattle-wa/
</forSale>
</links>
</region>
<region id="16037" type="city" name="Seattle">
<zindexValue>381,764</zindexValue>
<zindexOneYearChange>-0.074</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/r_16037/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/Seattle-WA/</forSaleByOwner>
<forSale>http://www.zillow.com/seattle-wa/</forSale>
</links>
</region>
<region id="59" type="state" name="Washington">
<zindexValue>263,278</zindexValue>
<zindexOneYearChange>-0.066</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-home-value/r_59/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/WA/</forSaleByOwner>
<forSale>http://www.zillow.com/wa/</forSale>
</links>
</region>
</localRealEstate>
</comp>
<comp score="0.15329">
<zpid>49072323</zpid>
<links>
<homedetails>
http://www.zillow.com/homedetails/2583-7th-Ave-W-Seattle-WA-98119/49072323_zpid/
</homedetails>
<graphsanddata>
http://www.zillow.com/homedetails/charts/49072323_zpid,1year_chartDuration/?cbt=8860375400203215891%7E4%7E4rtHGS99FewWZQdZkxwcJh2zVPQgG28TgCLWpvfp18j0KOoW_noNWg**
</graphsanddata>
<mapthishome>http://www.zillow.com/homes/map/49072323_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/49072323_zpid/</comparables>
</links>
<address>
<street>2583 7th Ave W</street>
<zipcode>98119</zipcode>
<city>Seattle</city>
<state>WA</state>
<latitude>47.642952</latitude>
<longitude>-122.366634</longitude>
</address>
<taxAssessmentYear>2008</taxAssessmentYear>
<taxAssessment>638000.0</taxAssessment>
<yearBuilt>1940</yearBuilt>
<lotSizeSqFt>5520</lotSizeSqFt>
<finishedSqFt>2400</finishedSqFt>
<bathrooms>2.5</bathrooms>
<bedrooms>3</bedrooms>
<lastSoldDate>07/31/2009</lastSoldDate>
<lastSoldPrice currency="USD">900000</lastSoldPrice>
<zestimate>
<amount currency="USD">831500</amount>
<last-updated>11/03/2009</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">-8000</valueChange>
<valuationRange>
<low currency="USD">740035</low>
<high currency="USD">898020</high>
</valuationRange>
<percentile>83</percentile>
</zestimate>
<localRealEstate>
<region id="271942" type="neighborhood" name="North Queen Anne">
<zindexValue>521,820</zindexValue>
<zindexOneYearChange>-0.059</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/North-Queen-Anne/r_271942/
</overview>
<forSaleByOwner>
http://www.zillow.com/homes/fsbo/North-Queen-Anne-Seattle-WA/
</forSaleByOwner>
<forSale>
http://www.zillow.com/north-queen-anne-seattle-wa/
</forSale>
</links>
</region>
<region id="16037" type="city" name="Seattle">
<zindexValue>381,764</zindexValue>
<zindexOneYearChange>-0.074</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/r_16037/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/Seattle-WA/</forSaleByOwner>
<forSale>http://www.zillow.com/seattle-wa/</forSale>
</links>
</region>
<region id="59" type="state" name="Washington">
<zindexValue>263,278</zindexValue>
<zindexOneYearChange>-0.066</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-home-value/r_59/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/WA/</forSaleByOwner>
<forSale>http://www.zillow.com/wa/</forSale>
</links>
</region>
</localRealEstate>
</comp>
<comp score="0.153177">
<zpid>48795590</zpid>
<links>
<homedetails>
http://www.zillow.com/homedetails/1912-4th-Ave-W-Seattle-WA-98119/48795590_zpid/
</homedetails>
<graphsanddata>
http://www.zillow.com/homedetails/charts/48795590_zpid,1year_chartDuration/?cbt=8860375400203215891%7E4%7E4rtHGS99FewWZQdZkxwcJh2zVPQgG28TgCLWpvfp18j0KOoW_noNWg**
</graphsanddata>
<mapthishome>http://www.zillow.com/homes/map/48795590_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/48795590_zpid/</comparables>
</links>
<address>
<street>1912 4th Ave W</street>
<zipcode>98119</zipcode>
<city>Seattle</city>
<state>WA</state>
<latitude>47.636392</latitude>
<longitude>-122.361917</longitude>
</address>
<taxAssessmentYear>2008</taxAssessmentYear>
<taxAssessment>500000.0</taxAssessment>
<yearBuilt>1920</yearBuilt>
<lotSizeSqFt>3600</lotSizeSqFt>
<finishedSqFt>1720</finishedSqFt>
<bathrooms>2.0</bathrooms>
<bedrooms>3</bedrooms>
<totalRooms>10</totalRooms>
<lastSoldDate>08/12/2009</lastSoldDate>
<lastSoldPrice currency="USD">645000</lastSoldPrice>
<zestimate>
<amount currency="USD">648000</amount>
<last-updated>11/03/2009</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">-8500</valueChange>
<valuationRange>
<low currency="USD">596160</low>
<high currency="USD">699840</high>
</valuationRange>
<percentile>65</percentile>
</zestimate>
<localRealEstate>
<region id="272018" type="neighborhood" name="West Queen Anne">
<zindexValue>547,776</zindexValue>
<zindexOneYearChange>-0.078</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/West-Queen-Anne/r_272018/
</overview>
?
<forSaleByOwner>
http://www.zillow.com/homes/fsbo/West-Queen-Anne-Seattle-WA/
</forSaleByOwner>
<forSale>
http://www.zillow.com/west-queen-anne-seattle-wa/
</forSale>
</links>
</region>
<region id="16037" type="city" name="Seattle">
<zindexValue>381,764</zindexValue>
<zindexOneYearChange>-0.074</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-Seattle/r_16037/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/Seattle-WA/</forSaleByOwner>
<forSale>http://www.zillow.com/seattle-wa/</forSale>
</links>
</region>
<region id="59" type="state" name="Washington">
<zindexValue>263,278</zindexValue>
<zindexOneYearChange>-0.066</zindexOneYearChange>
<links>
<overview>
http://www.zillow.com/local-info/WA-home-value/r_59/
</overview>
<forSaleByOwner>http://www.zillow.com/homes/fsbo/WA/</forSaleByOwner>
<forSale>http://www.zillow.com/wa/</forSale>
</links>
</region>
</localRealEstate>
</comp>
</comparables>
</properties>
</response>
</Comps:comps>
		

XML Schema Definition (XSD)

The XSD for the API can be found at: http://www.zillow.com/static/xsd/Comps.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.zillow.com/vstatic/2/static/xsd/ZillowTypes.xsd" targetNamespace="http://www.zillow.com/vstatic/2/static/xsd/Comps.xsd">
<xsd:import namespace="http://www.zillow.com/vstatic/2/static/xsd/ZillowTypes.xsd" /> 
<xsd:element name="comps">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="zpid" type="xsd:string" /> 
<xsd:element name="count" type="xsd:string" /> 
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="message" type="ZillowTypes:Message" /> 
<xsd:element minOccurs="0" name="response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="properties">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="principal" type="ZillowTypes:SimpleProperty" /> 
<xsd:element name="comparables">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="unbounded" name="comp" type="ZillowTypes:ComparableProperty" /> 
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>		
		

Have a question? Find help from a Pro here.