公交路径规划 API 可以规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据。高德原接口订购地址:https://developer.amap.com/api/webservice/guide/create-project/get-key

showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见。curl -X POST "https://connector.showapi.com/2127-14?appKey=YOUR_APPKEY" \
-H "content-type: application/x-www-form-urlencoded" \
-d "origin=102.8622%2C24.8658&destination=102.7221%2C25.0149&city=%E6%98%86%E6%98%8E&cityd=&extensions=base&strategy=&date=&time=&ds_id="{
"showapi_res_error": "",
"showapi_res_id": "0be6aeb5487544a6aada69de877bc650",
"showapi_res_code": 0,
"showapi_res_body": {
"status": "1",
"info": "OK",
"infocode": "10000",
"count": "3",
"route": {
"origin": "116.481028,39.989643",
"destination": "116.434446,39.90816",
"distance": "14248",
"taxi_cost": "38.8704",
"transits": [
{
"cost": "3.0",
"duration": "3562",
"nightflag": "0",
"walking_distance": "1281",
"distance": "13759",
"missed": "0",
"segments": [
{
"taxi": [],
"walking": {
"origin": "116.481003,39.989311",
"destination": "116.481987,39.983784",
"distance": "852",
"duration": "730",
"steps": [
{
"instruction": "步行13米左转",
"road": [],
"distance": "13",
"duration": [],
"polyline": "116.481003,39.989311;116.480957,39.989269;116.480904,39.989220",
"action": "左转",
"assistant_action": []
},
{
"instruction": "沿阜荣街步行300米右转",
"road": "阜荣街",
"distance": "300",
"duration": [],
"polyline": "116.480904,39.989216;116.481430,39.988880;116.481468,39.988857;116.483414,39.987583;116.483467,39.987404",
"action": "右转",
"assistant_action": []
},
{
"instruction": "沿望京东路步行309米左转",
"road": "望京东路",
"distance": "309",
"duration": [],
"polyline": "116.483467,39.987400;116.483421,39.987358;116.482025,39.986088;116.481346,39.985485;116.481293,39.985435;116.481148,39.985275",
"action": "左转",
"assistant_action": []
},
{
"instruction": "沿广顺南大街步行162米右转",
"road": "广顺南大街",
"distance": "162",
"duration": [],
"polyline": "116.481148,39.985268;116.481247,39.985203;116.481270,39.985092;116.482162,39.984493;116.482498,39.984257",
"action": "右转",
"assistant_action": []
},
{
"instruction": "沿京密路步行68米到达西八间房",
"road": "京密路",
"distance": "68",
"duration": [],
"polyline": "116.482498,39.984253;116.481987,39.983784",
"action": [],
"assistant_action": "到达西八间房"
}
]
},
"bus": {
"buslines": [
{
"departure_stop": {
"name": "西八间房",
"id": "110100013750005",
"location": "116.481979,39.983788"
},
"arrival_stop": {
"name": "北京站东",
"id": "110100013750022",
"location": "116.434982,39.905178"
},
"name": "403路(环行铁道--北京站东)",
"id": "110100013750",
"type": "普通公交线路",
"distance": "12478",
"duration": "2464",
"polyline": "116.481979,39.983788;116.481979,39.983784;116.481232,39.983082;116.480728,39.982639;116.479652,39.981663;116.478661,39.980789;116.478088,39.980267;116.478020,39.980198;116.477974,39.980160;116.477692,39.979881;116.477203,39.979431;116.476852,39.979111;116.476715,39.978992;116.476250,39.978569;116.476044,39.978386;116.475029,39.977474;116.474304,39.976814;116.473869,39.976425;116.473488,39.976070;116.473488,39.976067;116.473282,39.975887;116.472763,39.975426;116.472382,39.975113;116.471313,39.974144;116.469719,39.972679;116.469078,39.972118;116.468285,39.971397;116.466522,39.969795;116.465218,39.968616;116.464951,39.968369;116.463608,39.967155;116.463608,39.967152;116.462814,39.966431;116.462753,39.966377;116.461693,39.965412;116.460800,39.964592;116.460396,39.964237;116.460396,39.964233;116.460121,39.963974;116.459991,39.963860;116.459412,39.963337;116.458458,39.962479;116.458084,39.962132;116.457916,39.961983;116.457359,39.961472;116.457306,39.961422;116.456886,39.961063;116.456650,39.960876;116.456039,39.960464;116.455711,39.960289;116.455536,39.960209;116.454758,39.959835;116.454430,39.959644;116.454178,39.959438;116.452232,39.957672;116.452011,39.957626;116.451942,39.957619;116.451820,39.957630;116.451752,39.957661;116.451714,39.957699;116.451683,39.957748;116.451683,39.957787;116.451683,39.957817;116.451698,39.957859;116.451996,39.958145;116.452545,39.958633;116.452637,39.958664;116.452705,39.958668;116.452988,39.958641;116.453476,39.958328;116.454079,39.957935;116.454910,39.957390;116.455292,39.957123;116.455574,39.956852;116.455711,39.956722;116.455956,39.956532;116.456146,39.956383;116.456627,39.956043;116.457222,39.955643;116.457916,39.955193;116.458107,39.955059;116.458160,39.955017;116.458717,39.954659;116.459427,39.954201;116.459229,39.954124;116.459129,39.954067;116.459045,39.954010;116.458923,39.953888;116.458504,39.953533;116.458076,39.953144;116.457893,39.952972;116.457634,39.952744;116.457436,39.952560;116.457275,39.952423;116.456879,39.952053;116.456177,39.951424;116.455605,39.950909;116.455521,39.950829;116.455482,39.950760;116.455444,39.950680;116.455429,39.950474;116.455429,39.950325;116.455429,39.950096;116.455437,39.949604;116.455437,39.949440;116.455437,39.949436;116.455444,39.949112;116.455452,39.948429;116.454216,39.948242;116.453941,39.948204;116.452232,39.947952;116.451874,39.947895;116.451302,39.947800;116.450310,39.947651;116.450188,39.947552;116.450264,39.947430;116.450294,39.947323;116.450348,39.947128;116.450363,39.946930;116.450378,39.946678;116.450378,39.946453;116.450378,39.945892;116.450363,39.945690;116.450363,39.944378;116.450363,39.944096;116.450363,39.944092;116.450363,39.942520;116.450348,39.941284;116.450348,39.941185;116.450363,39.940342;116.450363,39.940159;116.450363,39.940155;116.450378,39.939892;116.450394,39.939823;116.450417,39.939243;116.450401,39.938435;116.450409,39.937840;116.450409,39.937050;116.450394,39.936646;116.450394,39.936588;116.450378,39.936207;116.450378,39.935547;116.450363,39.934643;116.450317,39.933769;116.450310,39.933613;116.450310,39.933025;116.450294,39.932671;116.450294,39.931282;116.450294,39.930984;116.450294,39.930698;116.450294,39.929718;116.450294,39.927937;116.450294,39.927547;116.450294,39.927544;116.450287,39.926975;116.450287,39.924904;116.450287,39.924351;116.450287,39.924202;116.450287,39.923122;116.450287,39.922943;116.450279,39.922825;116.450279,39.921940;116.450279,39.920994;116.450294,39.920437;116.450294,39.918690;116.450294,39.918415;116.450294,39.918411;116.450294,39.917961;116.450287,39.917740;116.450287,39.916817;116.450287,39.916740;116.450287,39.916435;116.450287,39.916050;116.450287,39.915661;116.450279,39.915215;116.450287,39.914852;116.450279,39.914471;116.450279,39.914150;116.450279,39.913399;116.450272,39.912483;116.450264,39.912354;116.450264,39.911530;116.450264,39.911026;116.450264,39.910484;116.450264,39.910309;116.450264,39.910294;116.450264,39.909588;116.450119,39.909588;116.450104,39.909401;116.450119,39.908886;116.450241,39.908669;116.450241,39.908539;116.449585,39.908546;116.447639,39.908546;116.447571,39.908546;116.446960,39.908554;116.445969,39.908550;116.444725,39.908562;116.444534,39.908569;116.443886,39.908581;116.443802,39.908581;116.442879,39.908581;116.441017,39.908588;116.440971,39.908588;116.439529,39.908604;116.438576,39.908611;116.436699,39.908607;116.436073,39.908611;116.435730,39.908619;116.435402,39.908630;116.435341,39.908665;116.435310,39.908695;116.435272,39.908714;116.435219,39.908768;116.435173,39.908825;116.435158,39.908924;116.435158,39.909172;116.435143,39.909443;116.435143,39.909710;116.435150,39.909798;116.435165,39.909870;116.435211,39.909935;116.435280,39.909966;116.435349,39.909977;116.435432,39.909969;116.435532,39.909916;116.435646,39.909752;116.435730,39.907696;116.435745,39.907406;116.435799,39.906498;116.435837,39.906208;116.435837,39.906105;116.435844,39.905937;116.435867,39.905743;116.435867,39.905689;116.435905,39.905548;116.435867,39.905437;116.435844,39.905376;116.435799,39.905327;116.435745,39.905285;116.435692,39.905251;116.435608,39.905220;116.435486,39.905197;116.435394,39.905182;116.434982,39.905178",
"start_time": "0505",
"end_time": "2305",
"via_num": "17",
"via_stops": [
{
"name": "京顺路丽都饭店",
"id": "110100013750006",
"location": "116.476250,39.978569"
},
{
"name": "四元桥东",
"id": "110100013750007",
"location": "116.473488,39.976070"
},
{
"name": "四元桥西",
"id": "110100013750008",
"location": "116.463608,39.967155"
},
{
"name": "三元桥东站",
"id": "110100013750009",
"location": "116.460396,39.964237"
},
{
"name": "三元桥",
"id": "110100013750010",
"location": "116.457916,39.955193"
},
{
"name": "三元东桥西",
"id": "110100013750011",
"location": "116.458076,39.953144"
},
{
"name": "华都饭店",
"id": "110100013750024",
"location": "116.455437,39.949440"
},
{
"name": "新源南路西口",
"id": "110100013750025",
"location": "116.451874,39.947895"
},
{
"name": "塔园村",
"id": "110100013750026",
"location": "116.450363,39.944096"
},
{
"name": "幸福三村",
"id": "110100013750015",
"location": "116.450363,39.940159"
},
{
"name": "工人体育场",
"id": "110100013750016",
"location": "116.450310,39.933025"
},
{
"name": "朝阳医院",
"id": "110100013750017",
"location": "116.450294,39.927547"
},
{
"name": "东大桥路口北",
"id": "110100013750018",
"location": "116.450287,39.924351"
},
{
"name": "芳草地",
"id": "110100013750023",
"location": "116.450294,39.918415"
},
{
"name": "芳草地南",
"id": "110100013750019",
"location": "116.450279,39.914150"
},
{
"name": "永安里路口北",
"id": "110100013750020",
"location": "116.450264,39.910309"
},
{
"name": "日坛路",
"id": "110100013750021",
"location": "116.444725,39.908562"
}
]
}
]
},
"entrance": [],
"exit": [],
"railway": {
"spaces": []
}
},
{
"taxi": [],
"walking": {
"origin": "116.434975,39.905178",
"destination": "116.434448,39.908073",
"distance": "429",
"duration": "367",
"steps": [
{
"instruction": "沿北京站东街步行62米左转",
"road": "北京站东街",
"distance": "62",
"duration": [],
"polyline": "116.434975,39.905178;116.435478,39.905197;116.435608,39.905220;116.435699,39.905254",
"action": "左转",
"assistant_action": []
},
{
"instruction": "沿建国门南大街步行319米左转",
"road": "建国门南大街",
"distance": "319",
"duration": [],
"polyline": "116.435699,39.905254;116.435623,39.905735;116.435539,39.906200;116.435463,39.906509;116.435364,39.906723;116.435211,39.906971;116.435112,39.907215;116.435051,39.907452;116.435036,39.907829;116.435013,39.908073",
"action": "左转",
"assistant_action": []
},
{
"instruction": "步行48米",
"road": [],
"distance": "48",
"duration": [],
"polyline": "116.435005,39.908073;116.434448,39.908073",
"action": [],
"assistant_action": []
}
]
},
"bus": {
"buslines": []
},
"entrance": [],
"exit": [],
"railway": {
"spaces": []
}
}
]
}
]
}
}
}在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{
"mcpServers": {
"showapi-mcp-2127": {
"url": "http://www.showapi.com.cn/mcp/2127/{your_appKey}"
}
}
}
7*24小时服务
保证您的售后无忧

1v1专属服务
保证服务质量

担保交易
全程担保交易保证资金安全

服务全程监管
全周期保证商品服务质量
© 2015-2026 WWW.SHOWAPI.COM ALL RIGHTS RESERVED.昆明秀派科技有限公司
本网站所列接口及文档全部由SHOWAPI网站提供,并对其拥有最终解释权 POWERED BY SHOWAPI
