长途汽车

优选
HTTPS
提供全国主要城市的长途汽车时刻查询API,汽车站查询API。
免费套餐
Level2
Level3
Level4
0 / 5 次

雷达评级

AA

用户规模

10 万+

产品上线

4

站站查询

接口地址
https://binstd.apistd.com/bus/city2c
响应格式
application/json
请求方法
POST
请求参数 (Query)
参数类型必须描述
keystring
string
请求 AccessKey, 请在控制台中查看
startstring
string
出发城市
endstring
string
到达城市
返回参数 (Body)
参数类型描述
statusstring
string
返回码
msgstring
string
返回说明信息
resultarray
array
返回结果
startcitystring
string
出发城市
endcitystring
string
到达城市
startstationstring
string
出发车站
endstationstring
string
到达车站
starttimestring
string
出发时间
pricestring
string
票价
bustypestring
string
车型
distancestring
string
距离
请求返回示例
{
  "status": "0",
  "msg": "ok",
  "result": [
    {
      "startcity": "杭州",
      "endcity": "上海",
      "startstation": "客运中心站",
      "endstation": "上海",
      "starttime": "06:50",
      "price": "68",
      "bustype": "大高3",
      "distance": "181"
    },
    {
      "startcity": "杭州",
      "endcity": "上海",
      "startstation": "客运中心站",
      "endstation": "上海南站",
      "starttime": "07:10",
      "price": "68",
      "bustype": "大高3",
      "distance": "181"
    },
    {
      "startcity": "杭州",
      "endcity": "上海",
      "startstation": "杭州南站",
      "endstation": "上海南站",
      "starttime": "07:10",
      "price": "68",
      "bustype": "大高2",
      "distance": "181"
    }
  ]
}