我在使用 Zillow API 时遇到了一些问题:
- 查询 API
- 获取特定数据
查询问题
问题是我似乎无法找到一种方法来使用 Zillow API 进行一般搜索,例如仅通过邮政编码进行搜索。以下是深度搜索的示例查询:
<SearchResults:searchresults xsi:schemaLocation="http://www.zillow.com/static/xsd/SearchResults.xsd http://www.zillowstatic.com/vstatic/419b583f682a74b83f007039dd9c49f8/static/xsd/SearchResults.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SearchResults="http://www.zillow.com/static/xsd/SearchResults.xsd">
<request>
<address>15096 Oak Creek Rd</address>
<citystatezip>El Cajon, CA</citystatezip>
</request>
<message>
<text>Request successfully processed</text>
<code>0</code>
</message>
<response>
<results>
<result>
<zpid>16893601</zpid>
<links>
<homedetails>http://www.zillow.com/homedetails/15096-Oak-Creek-Rd-El-Cajon-CA-92021/16893601_zpid/</homedetails>
<graphsanddata>http://www.zillow.com/homedetails/15096-Oak-Creek-Rd-El-Cajon-CA-92021/16893601_zpid/#charts-and-data</graphsanddata>
<mapthishome>http://www.zillow.com/homes/16893601_zpid/</mapthishome>
<comparables>http://www.zillow.com/homes/comps/16893601_zpid/</comparables>
</links>
<address>
<street>15096 Oak Creek Rd</street>
<zipcode>92021</zipcode>
<city>El Cajon</city>
<state>CA</state>
<latitude>32.86576</latitude>
<longitude>-116.847964</longitude>
</address>
<FIPScounty>6073</FIPScounty>
<useCode>SingleFamily</useCode>
<taxAssessmentYear>2012</taxAssessmentYear>
<taxAssessment>496002.0</taxAssessment>
<yearBuilt>2006</yearBuilt>
<lotSizeSqFt>108900</lotSizeSqFt>
<finishedSqFt>2700</finishedSqFt>
<bathrooms>3.0</bathrooms>
<bedrooms>3</bedrooms>
<totalRooms>7</totalRooms>
<lastSoldDate>03/22/1999</lastSoldDate>
<lastSoldPrice currency="USD">268000</lastSoldPrice>
<zestimate>
<amount currency="USD">581783</amount>
<last-updated>05/12/2013</last-updated>
<oneWeekChange deprecated="true"/>
<valueChange duration="30" currency="USD">12050</valueChange>
<valuationRange>
<low currency="USD">523605</low>
<high currency="USD">692322</high>
</valuationRange>
<percentile>0</percentile>
</zestimate>
<localRealEstate>
<region id="38333" type="city" name="El Cajon">
<links>
<overview>http://www.zillow.com/local-info/CA-El-Cajon/r_38333/</overview>
<forSaleByOwner>http://www.zillow.com/el-cajon-ca/fsbo/</forSaleByOwner>
<forSale>http://www.zillow.com/el-cajon-ca/</forSale>
</links>
</region>
</localRealEstate>
</result>
</results>
</response>
</SearchResults:searchresults>
这给了我们相当多的数据,但它太具体了。我试图简单地省略搜索的地址部分,它返回一个错误。有没有办法使用 Zillow 或其他一些房地产 API 进行更一般的搜索?
数据问题
我的查询的上述回复是关于目前出售的房屋。它实际上没有在哪里说明房子的标价。我的请求中是否缺少某些内容,或者 API 根本没有提供这些内容?
我试过的
- 查看其他 Zillow API
- 操作查询字符串
任何帮助表示赞赏!此外,如果有一些我可以使用的 API 具有所需的功能,请告诉我!