taobao.auction.titan.evaluate.price (询价接口)

询价接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
nick String 必须 nick 机构nick
evaluate_price_request EvaluatePriceRequest 可选 询价请求参数
  • └ type
  • Number
  • 必须
  • 1
  • 询价类型,必填:1:房产,2:机动车,3:土地,4:无形资产
  • └ city_code
  • Number
  • 必须
  • 310100
  • 必填;城市编码
  • └ source
  • Number
  • 可选
  • 1
  • 房产询价必填;来源标识,小区列表接口中获取;
  • └ house_type
  • String
  • 可选
  • HOME
  • 房产询价必填;房屋类型,HOME住宅,VILLA别墅,BIZ商住,OFFICE写字楼,SHOP商铺
  • └ district_name
  • String
  • 可选
  • 西湖区
  • 区县名称
  • └ address
  • String
  • 可选
  • xx区xx路xx号
  • 详细地址
  • └ community_id
  • String
  • 可选
  • 1
  • 住宅和别墅必填;小区ID,小区列表接口获取
  • └ community_name
  • String
  • 可选
  • xxx小区
  • 小区名称,小区列表接口获取
  • └ location
  • String
  • 可选
  • 30.29669,120.07070
  • 经纬度
  • └ area
  • String
  • 可选
  • 100
  • 房产询价必填;面积,单位平方米
  • └ toward
  • String
  • 可选
  • 房产询价必填;朝向
  • └ floor
  • Number
  • 可选
  • 1
  • 所在楼层
  • └ total_floor
  • Number
  • 可选
  • 18
  • 总楼层
  • └ room
  • Number
  • 可选
  • 1
  • └ hall
  • Number
  • 可选
  • 1
  • └ toilet
  • Number
  • 可选
  • 1
  • └ build_date
  • String
  • 可选
  • 2023
  • 建成时间
  • └ decorate
  • String
  • 可选
  • 精装修
  • 装修程度:毛坯,简装修,中装修,精装修,豪华装修
  • └ own_end__date
  • String
  • 可选
  • 2023-06-23
  • 土地终止日期
  • └ use_type
  • Number
  • 可选
  • 1
  • 使用类型:1:单层、2:复式、3:商墅
  • └ biz_level
  • Number
  • 可选
  • 1
  • 写字楼级别:1:顶级、2:甲级、3:乙级、4:丙级
  • └ frontage
  • Number
  • 可选
  • 1
  • 临街情况:1:不临街、2:一面临街、3:二面临街、4:三面临街、5:四面临街
  • └ acid
  • Number
  • 可选
  • 1
  • 车询价必填;阿里五级基础车型id
  • └ license_time
  • String
  • 可选
  • 2023-05
  • 车询价必填;上牌时间
  • └ mileage
  • Number
  • 可选
  • 10000
  • 车询价必填;里程,公里
  • └ condition
  • String
  • 可选
  • normal
  • 车询价必填;车况:normal一般,good良好,excellent优秀
  • └ land_address
  • String
  • 可选
  • xx路xx号
  • 土地询价必填;土地地址
  • └ total_area_size
  • String
  • 可选
  • 100
  • 土地询价必填;总面积
  • land_type_list
  • LandTypeInfo []
  • 可选
  • 1
  • 土地询价必填;土地类型列表
  • └ land_type
  • Number
  • 可选
  • 1
  • 土地类型 1:住宅 2:商业 3:工业
  • └ area_size
  • String
  • 可选
  • 1000
  • 土地面积
  • └ years
  • Number
  • 可选
  • 50
  • 使用权总年限
  • └ years_left
  • Number
  • 可选
  • 30
  • 使用权剩余年限
  • └ plot_ratio_low
  • String
  • 可选
  • 1
  • 容积率 低
  • └ plot_ratio_high
  • String
  • 可选
  • 2
  • 容积率 高

响应参数

名称 类型 示例值 描述
result TopResult 返回结果
  • └ error_code
  • String
  • param_invalid
  • 参数无效
  • value
  • EvaluatePriceResult
  • 返回具体数据
  • └ unit_price
  • Number
  • 10000
  • 单价,分
  • └ total_price
  • Number
  • 5000000
  • 总价,分
  • auction_list
  • HouseAuction []
  • 房产询价返回;拍卖成交案例
  • └ item_id
  • Number
  • 1
  • 拍品id
  • └ auction_ends
  • String
  • 2023-07-01
  • 结束时间
  • └ title
  • String
  • 标题
  • 拍品标题
  • └ price
  • Number
  • 1000000
  • 成交价格,单位:分
  • └ price_string
  • String
  • 300万
  • 成交价格的文本显示
  • └ area
  • String
  • 89
  • 房屋面积,单位:平方米
  • └ unit_price_string
  • String
  • 10000
  • 成交单价的文本显示
  • deal_case_list
  • HouseListingCase []
  • 房产询价返回;房产市场成交案例
  • └ case_date
  • String
  • 2023-07-01
  • 成交时间
  • └ building_area
  • String
  • 100
  • 面积,单位:平米
  • └ case_tota_price
  • String
  • 2000000
  • 成交总价,单位:元
  • └ case_tota_price_string
  • String
  • 2000000
  • 成交总价的文本显示
  • └ case_price
  • Number
  • 10000
  • 成交单价:单位:元
  • └ error_msg
  • String
  • 参数无效
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AuctionTitanEvaluatePriceRequest req = new AuctionTitanEvaluatePriceRequest();
req.setNick("nick");
AuctionTitanEvaluatePriceRequest.EvaluatePriceRequest obj1 = new AuctionTitanEvaluatePriceRequest.EvaluatePriceRequest();
obj1.setType(1L);
obj1.setCityCode(310100L);
obj1.setSource(1L);
obj1.setHouseType("HOME");
obj1.setDistrictName("西湖区");
obj1.setAddress("xx区xx路xx号");
obj1.setCommunityId("1");
obj1.setCommunityName("xxx小区");
obj1.setLocation("30.29669,120.07070");
obj1.setArea("100");
obj1.setToward("南");
obj1.setFloor(1L);
obj1.setTotalFloor(18L);
obj1.setRoom(1L);
obj1.setHall(1L);
obj1.setToilet(1L);
obj1.setBuildDate("2023");
obj1.setDecorate("精装修");
obj1.setOwnEnd_date("2023-06-23");
obj1.setUseType(1L);
obj1.setBizLevel(1L);
obj1.setFrontage(1L);
obj1.setAcid(1L);
obj1.setLicenseTime("2023-05");
obj1.setMileage(10000L);
obj1.setCondition("normal");
obj1.setLandAddress("xx路xx号");
obj1.setTotalAreaSize("100");
List<AuctionTitanEvaluatePriceRequest.LandTypeInfo> list3 = new ArrayList<AuctionTitanEvaluatePriceRequest.LandTypeInfo>();
AuctionTitanEvaluatePriceRequest.LandTypeInfo obj4 = new AuctionTitanEvaluatePriceRequest.LandTypeInfo();
list3.add(obj4);
obj4.setLandType(1L);
obj4.setAreaSize("1000");
obj4.setYears(50L);
obj4.setYearsLeft(30L);
obj4.setPlotRatioLow("1");
obj4.setPlotRatioHigh("2");
obj1.setLandTypeList(list3);
req.setEvaluatePriceRequest(obj1);
AuctionTitanEvaluatePriceResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<auction_titan_evaluate_price_response>
    <result>
        <error_code>param_invalid</error_code>
        <value>
            <unit_price>10000</unit_price>
            <total_price>5000000</total_price>
            <auction_list>
                <house_auction>
                    <item_id>1</item_id>
                    <auction_ends>2023-07-01</auction_ends>
                    <title>标题</title>
                    <price>1000000</price>
                    <price_string>300万</price_string>
                    <area>89</area>
                    <unit_price_string>10000</unit_price_string>
                </house_auction>
            </auction_list>
            <deal_case_list>
                <house_listing_case>
                    <case_date>2023-07-01</case_date>
                    <building_area>100</building_area>
                    <case_tota_price>2000000</case_tota_price>
                    <case_tota_price_string>2000000</case_tota_price_string>
                    <case_price>10000</case_price>
                </house_listing_case>
            </deal_case_list>
        </value>
        <error_msg>参数无效</error_msg>
    </result>
</auction_titan_evaluate_price_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部