附近建筑物
通过经纬度获取附近建筑物信息

接口地址: https://api.xcboke.cn/api/building/

返回格式: JSON

请求方式: GET

请求示例: https://api.xcboke.cn/api/building?lng=120.38945519114627&lat=36.072227496663227

请求参数说明:

名称 必填 类型 说明

返回参数说明:

名称 类型 说明

返回示例:

{
	"status": "1",
	"data": {
		"adcode": "370214",
		"areacode": "0532",
		"city": "青岛市",
		"cityadcode": "370200",
		"code": "1",
		"country": "中国",
		"countrycode": "CN",
		"cross_list": [{
			"distance": "200.222",
			"level": "44000, 44000",
			"latitude": "36.314681",
			"crossid": "0532J51F04500438--0532J51F04500475",
			"name": "长城路--春阳路",
			"width": "20, 24",
			"weight": "140",
			"direction": "South",
			"longitude": "120.402347"
		}, {
			"distance": "261.594",
			"level": "44000, 44000",
			"latitude": "36.310543",
			"crossid": "0532J51F045004139--0532J51F04500438",
			"name": "明阳路--长城路",
			"width": "16, 20",
			"weight": "140",
			"direction": "North",
			"longitude": "120.402266"
		}, {
			"distance": "392.628",
			"level": "45000, 45000",
			"latitude": "36.310658",
			"crossid": "0532J51F045004137--0532J51F0450041482",
			"name": "山城路--盈园环路",
			"width": "8, 8",
			"weight": "120",
			"direction": "NorthEast",
			"longitude": "120.399128"
		}],
		"desc": "山东省,青岛市,城阳区",
		"district": "城阳区",
		"districtadcode": "370214",
		"hn": "427号",
		"message": "Successful.",
		"poi_list": [{
			"parent": "",
			"address": "春阳路280-41号",
			"distance": "182",
			"latitude": "36.314408",
			"weight": "0.0",
			"type": "科教文化服务;培训机构;培训机构",
			"typecode": "141400",
			"f_nona": "",
			"childtype": "",
			"name": "鸿蒙思维绘画(春阳路店)",
			"tel": "0532-58802968;0532-58691596;18661415460",
			"towards_angle": "0.6",
			"poiid": "B0FFF4174X",
			"end_poi_extension": "2",
			"direction": "NorthEast",
			"longitude": "120.403302"
		}, {
			"parent": "",
			"address": "明阳路287号",
			"distance": "255",
			"latitude": "36.312612",
			"weight": "0.0",
			"type": "商务住宅;住宅区;住宅小区",
			"typecode": "120302",
			"f_nona": "",
			"childtype": "",
			"name": "翰林苑(明阳路)",
			"tel": "",
			"towards_angle": "",
			"poiid": "B021409LDG",
			"entrances": [{
				"latitude": "36.31444",
				"longitude": "120.405378"
			}],
			"end_poi_extension": "30",
			"direction": "East",
			"longitude": "120.405353"
		}, {
			"parent": "",
			"address": "春阳路280-38号",
			"distance": "192",
			"latitude": "36.314413",
			"weight": "0.0",
			"type": "科教文化服务;培训机构;培训机构",
			"typecode": "141400",
			"f_nona": "",
			"childtype": "",
			"name": "青岛加速度专修学校",
			"tel": "15853279609;15275268337",
			"towards_angle": "0.6",
			"poiid": "B02140WM32",
			"end_poi_extension": "2",
			"direction": "NorthEast",
			"longitude": "120.403538"
		}, {
			"parent": "B021407TU3",
			"address": "明阳路309-19号仁和居(东区)",
			"distance": "104",
			"latitude": "36.312518",
			"weight": "0.0",
			"type": "地名地址信息;门牌信息;楼栋号",
			"typecode": "190403",
			"f_nona": "",
			"childtype": "308",
			"name": "仁和居东区5号楼",
			"tel": "",
			"towards_angle": "",
			"poiid": "B0FFF8427V",
			"end_poi_extension": "2",
			"direction": "West",
			"longitude": "120.401448"
		}, {
			"parent": "B021407TU3",
			"address": "明阳路309-19号仁和居(东区)",
			"distance": "151",
			"latitude": "36.314052",
			"weight": "0.0",
			"type": "地名地址信息;门牌信息;楼栋号",
			"typecode": "190403",
			"f_nona": "",
			"childtype": "308",
			"name": "仁和居东区13号楼",
			"tel": "",
			"towards_angle": "",
			"poiid": "B0FFFPFNIG",
			"end_poi_extension": "2",
			"direction": "NorthWest",
			"longitude": "120.401649"
		}],
		"pos": "在仁和居东区5号楼附近, 在长城路旁边, 靠近长城路--春阳路路口",
		"province": "山东省",
		"provinceadcode": "370000",
		"result": "true",
		"road_list": [{
			"distance": "10",
			"level": "4",
			"latitude": "36.3129",
			"name": "长城路",
			"width": "20",
			"roadid": "0532J51F04500438",
			"direction": "East",
			"longitude": "120.402"
		}, {
			"distance": "199",
			"level": "4",
			"latitude": "36.3147",
			"name": "春阳路",
			"width": "24",
			"roadid": "0532J51F04500475",
			"direction": "South",
			"longitude": "120.403"
		}, {
			"distance": "252",
			"level": "4",
			"latitude": "36.3106",
			"name": "明阳路",
			"width": "16",
			"roadid": "0532J51F045004139",
			"direction": "North",
			"longitude": "120.402"
		}],
		"sea_area": {
			"name": "",
			"adcode": ""
		},
		"tel": "0532",
		"timestamp": "1609247372705",
		"version": "1.0"
	}
}
3660

错误码格式说明:

名称 类型 说明

代码示例: