开放接口/推荐位房源数据
最后更新:2017-02-15
URL
/rest/eozList
HTTP请求方式
GET
注意事项
返回数据的排序与平台中前台列表页展示的顺序一致,暂不支持自定义排序
请求参数
参数名 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
token | 是 | string | 后台“开放接口”页面可查看到,代表授权的唯一标识 |
limit | 否 | int | 单页返回的记录数,默认为10 |
page | 否 | int | 页数,默认为1 |
sale_time | 否 | int | 10位时间戳,上架时间。查询从sale_time到当前时间上架房源数据 |
cate | 否 | int | 房源类型,该值为1表示住宅,为2表示商铺,为3表示写字楼,默认为1 |
type | 否 | int | 该值为1表示二手房,为2表示租房,默认为1 |
recomcate | 否 | string | 推荐位拼音 |
ids | 否 | array | 房源id数组 |
返回结果
{
"count": "10",
"data": [
{
"id": "46",
"title": "出售典雅花园1室1厅1卫1000平米1000万住宅",
"area": "5",
"street": "19",
"plot_name": "典雅花园",
"address": "通江大道以东、三井河以南、府西路以西",
"hid": "17",
"price": "100.00",
"ave_price": "0",
"source": "2",
"size": 100,
"age": "0",
"floor": "1",
"total_floor": "12",
"category": "1",
"bedroom": "9",
"livingroom": "10",
"bathroom": "10",
"cookroom": "0",
"sale_time": "1479978985",
"expire_time": "1489326601",
"refresh_time": "1486734601",
"image": "2016/1129/14803875234813201350.jpg",
"hits": "224",
"username": "陈奕迅",
"phone": "13861242428",
"updated": "1486660755",
"created": "1479978985",
"area_name": "新北区",
"street_name": "恐龙园",
"url": "http://myhouse.hualongxiang.com/resoldhome/esf/info?id=46"
}
...
]
}
返回字段说明
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
count | integer | 数据总量 |
data[] | ||
id | string | id |
title | string | 房源标题 |
plot_name | string | 楼盘名 |
hid | string | 楼盘id |
address | string | 楼盘地址 |
price | string | 房源价格,该值为0表示面议 |
ave_price | string | 房源均价 |
source | integer | 来源,该值为1表示个人房源,该值为2表示中介房源,该值为3表示后台添加房源 |
size | integer | 面积 |
age | string | 房龄 |
image | string | 房源封面图 |
url | string | 房源页面链接 |
area | integer | 区域id,若后台未设置则返回0 |
area_name | string | 区域名称,,若后台未设置则返回空字符串 |
street | intger | 所属商圈\街道id,,若后台未设置则返回0 |
street_name | string | 所属商圈\街道名称,,若后台未设置则返回空字符串 |
sale_time | timestamp | 上架时间,UNIX时间戳格式 |
expire_time | timestamp | 到期时间,UNIX时间戳格式 |
refresh_time | timestamp | 刷新时间,UNIX时间戳格式 |
updated | timestamp | 更新时间,UNIX时间戳格式 |
created | timestamp | 创建时间,UNIX时间戳格式 |
floor | string | 所在楼层 |
total_floor | string | 总楼层 |
category | string | 房源类型,该值为1表示住宅,该值为2表示商铺,该值为3表示写字楼 |
bedroom | string | 室 |
livingroom | string | 厅 |
bathroom | string | 卫 |
cookroom | string | 厨 |
hits | string | 点击数 |
username | string | 联系人 |
phone | string | 电话 |