gid 用于后续调用班次详情和下单接口。Authorization: ********************{
"start_city_code": "440300",
"end_city_code": "440100",
"date": "2026-06-20",
"start_addr": "深圳北站",
"start_lng": 114.0286,
"start_lat": 22.6095,
"end_addr": "广州南站",
"end_lng": 113.2644,
"end_lat": 23.1291,
"dist_type": 1,
"sort_by": "dep_time",
"page": 1,
"page_size": 20
}curl --location 'https://api.longxiachuxing.com/open/v1/bus/search' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"start_city_code": "440300",
"end_city_code": "440100",
"date": "2026-06-20",
"start_addr": "深圳北站",
"start_lng": 114.0286,
"start_lat": 22.6095,
"end_addr": "广州南站",
"end_lng": 113.2644,
"end_lat": 23.1291,
"dist_type": 1,
"sort_by": "dep_time",
"page": 1,
"page_size": 20
}'{
"code": 0,
"data": {
"total": 8,
"page_info": {
"page": 1,
"page_size": 20,
"total": 8
},
"lines": [
{
"line_gid": "LG20260601001",
"gid": "GD20260601001",
"line_name": "深圳北站-广州南站",
"start_station_name": "深圳北站上车点",
"end_station_name": "广州南站下车点",
"from_city": "深圳",
"to_city": "广州",
"dep_date": "2026-06-20",
"dep_time": "09:30",
"price": 8000,
"duration": 120,
"distance": 140,
"class_name": "商务座",
"seat_count": 45,
"avail_seat_count": 20,
"remark": "string",
"start_station_gid": "string",
"end_station_gid": "string",
"start_city_code": "string",
"end_city_code": "string"
}
]
},
"message": "success",
"request_id": "req_a1b2c3"
}