文档
测试

租赁搜索(新增)

GET
https://testapi.tokenhouse.com/api/v1/rent/search

请求参数

参数名
类型
描述
必填
keyword
string
关键字
可选
city
string
城市
可选
room_nums
[]int
房间数(1. 一个房间 2. 两个房间 3. 三个房间 4. 四个房间 5.更多)
可选
area_range
int
面积(1. 0~100 2. 100~200 3. 200~300 4. 300~400 5.400~)
可选
settlement
int
结算方式(1.day,2.weekk,3.month,4.quarter)
可选
price_range
int
价格(由租赁价格接口获取)如果有值 必有settlement
可选
avail_times
[]int
可入住时间(1.随时 2.一周 3.一月 4.三月 )
可选
page
int
页数
可选
size
int
页码
可选
order
int
0.默认排序 1.根据房屋发布时间降序排列 2.根据租金从小到大(升序) 3.根据租金从大到小(降序) 4.根据房屋面积从小到大(升序) 5.根据房屋面积从大到小(降序)
可选
house_nature
[]int
1.商用 2.民用
可选

响应参数

参数名
类型
描述
必填
code
int
必填
msg
string
必填
data
array
必填
house_id
int
房屋ID
必填
house_no
string
房屋编号
必填
title
string
房屋名
必填
addr
string
房屋地址
必填
settlement
int
结算方式
必填
amount
string
房产价值
必填
rent_price
string
租金
必填
cover
string
房屋封面图
必填
bed_rooms
int
房屋卧室数
必填
shower_rooms
int
房屋卫生间数
必填
reception_rooms
int
房屋客厅数
必填
state
int
租赁状态
必填