API简介:步行路径规划 接口问题联系相关负责人沟通修复:查看该接口开发者 接口地址:https://tools.mgtv100.com/external/v1/amap/walking?origin=116.481028,39.989643&destination=116.465063,39.999538 返回格式:JSON 请求方式:GET 请求参数:https://tools.mgtv100.com/external/v1/amap/walking?origin=116.481028,39.989643&destination=116.465063,39.999538 极速测试(自动) 历史统计 历史列表 注:单纯检测接口是否可调通,返回的数据请自行检查 再次检测 检测接口中...(检测服务是否可用) 状态码 累计次数 最后检测时间 正常 127 2024-07-24 17:21:14 故障 15 2024-11-20 00:16:36 注意事项 Bug修复 专属线路 您好!我们的平台聚合了 上千位开发者提供的免费接口 ,尽管我们已经付出了很大的努力来确保接口的稳定性。 1. 然而,由于我们 无法控制 其他【开发者】的 接口,不稳定或者他可能跑路了,因为不赚钱。。。我替他向您道歉!!!!! 2. 但请放心,我们正在竭尽所能来改进这个情况。 3. 为了方便您使用,我们还推出了智能生成对接代码和在线极速测试接口是否可用的功能。 4. 我们真诚希望您 理解并谅解 这一挑战,同时我们将继续 努力提供更多可靠的接口 ,以满足您的需求。 5. 最后,如果您需要与我取得联系,我的微信:13132131321,再次感谢您对我们的支持与信任!!! 接口注意:接口故障请立即 点我反馈,修复进度会通过短信通知! 非官方接口,请联系开发者获取技术支持 新 Bug修复:非官方接口,Bug反馈请联系开发者 新 会员线路:因调用量剧增,定制独享优质线路请 参考定制方案 专属线路 成本透明 0服务费 请求参数 接口名称 是否必填 接口类型 接口说明 返回示例 { "status": "success", "code": 200, "data": { "status": "1", "info": "ok", "infocode": "10000", "count": "1", "route": { "origin": "116.481028,39.989643", "destination": "116.465063,39.999538", "paths": [ { "distance": "2677", "duration": "2142", "steps": [ { "instruction": "向南步行16米右转", "orientation": "南", "road": [], "distance": "16", "duration": "13", "polyline": "116.480885,39.989371;116.480907,39.989353;116.48089,39.989227", "action": "右转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向西北步行672米左转", "orientation": "西北", "road": [], "distance": "672", "duration": "538", "polyline": "116.480885,39.989223;116.480464,39.989505;116.480464,39.989505;116.480234,39.989653;116.480234,39.989653;116.480022,39.989792;116.4799,39.989865;116.4799,39.989865;116.47977,39.989957;116.47977,39.989957;116.478685,39.99069;116.478685,39.99069;116.477878,39.99122;116.477656,39.991359;116.477656,39.991359;116.477556,39.991419;116.477556,39.991419;116.477322,39.991584;116.477196,39.991675;116.475686,39.992661;116.47549,39.992795;116.47549,39.992795;116.475091,39.993034;116.474818,39.993125", "action": "左转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向西南步行269米右转", "orientation": "西南", "road": [], "distance": "269", "duration": "215", "polyline": "116.474813,39.993125;116.474748,39.993064;116.474748,39.993064;116.474115,39.992483;116.47375,39.992157;116.47375,39.992157;116.47332,39.991771;116.47332,39.991771;116.473003,39.991467;116.473003,39.991467;116.472977,39.99145;116.472721,39.991315", "action": "右转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向北步行1291米左转", "orientation": "北", "road": [], "distance": "1291", "duration": "1033", "polyline": "116.472717,39.991311;116.472622,39.991376;116.472622,39.991376;116.471866,39.991879;116.471866,39.991879;116.47171,39.991979;116.47171,39.991979;116.471476,39.992144;116.471476,39.992144;116.471155,39.992344;116.471155,39.992344;116.470933,39.992491;116.47046,39.992769;116.47046,39.992769;116.470356,39.99283;116.470356,39.99283;116.469796,39.993229;116.469796,39.993229;116.469323,39.993572;116.469193,39.993676;116.469193,39.993676;116.469002,39.993859;116.468867,39.994006;116.468668,39.994249;116.468668,39.994249;116.468568,39.994418;116.468437,39.994727;116.468407,39.994844;116.468385,39.994987;116.468342,39.995421;116.468342,39.995421;116.468316,39.995747;116.468316,39.995747;116.468264,39.996415;116.468268,39.99661;116.468264,39.996688;116.468264,39.996688;116.468264,39.996949;116.468255,39.997096;116.468255,39.997096;116.468247,39.997201;116.468247,39.997201;116.468242,39.997274;116.468242,39.997274;116.468225,39.997543;116.468225,39.997543;116.468225,39.997769;116.468186,39.998641;116.468186,39.998641;116.468181,39.998811;116.468181,39.998811;116.468103,40.000308;116.468103,40.000308;116.468082,40.00079;116.468082,40.00079;116.468064,40.001272;116.468064,40.001272;116.468043,40.001636", "action": "左转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向西步行250米左转", "orientation": "西", "road": [], "distance": "250", "duration": "200", "polyline": "116.468038,40.001636;116.467951,40.001632;116.467951,40.001632;116.467713,40.001615;116.467713,40.001615;116.467561,40.001597;116.467561,40.001597;116.46724,40.001515;116.466814,40.001463;116.466814,40.001463;116.465347,40.001319;116.465122,40.001332", "action": "左转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向南步行179米到达目的地", "orientation": "南", "road": [], "distance": "179", "duration": "143", "polyline": "116.465117,40.001332;116.465148,40.00128;116.465148,40.00128;116.465187,40.001172;116.465187,40.001172;116.465208,40.001128;116.465208,40.001128;116.465239,40.001029;116.465239,40.001029;116.465234,40.000712;116.465234,40.000712;116.465234,40.000365;116.465234,40.000365;116.465239,39.999983;116.465239,39.999983;116.465239,39.999744;116.465239,39.999744;116.465239,39.999688", "action": [], "assistant_action": "到达目的地", "walk_type": "0" } ] } ] } } } 返回参数 接口名称 接口类型 接口说明 output string JSON destination string 116.465063,39.999538 origin string 116.481028,39.989643 支持多层级可视化显示返回json示例,直观展示接口对应的键值对的代表含义! { "origin": "116.481028,39.989643", "destination": "116.465063,39.999538", "output": "JSON" } 小白教程 本教程帮助用户快速对接步行路径规划接口,现已支持智能生成代码 为照顾小白,特意编写此对接文档教程,若有不懂请及时联系接口维护者。 步行路径规划 小白快速对接「步行路径规划」简易教程 生成代码 支持生成对接步行路径规划接口代码,多语言选择,助力学生对接! 介绍 Python Java PHP NodeJS C语言 注意,AI·BOT自动生成对接「步行路径规划」简易代码,方便您调试对接,实时生成! 立即生成 点击生成代码,自动生成对接代码,您可以自行测试,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成JAVA对接「步行路径规划」代码,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成PHP对接「步行路径规划」代码,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成NodeJS对接「步行路径规划」代码,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成C语言对接「步行路径规划」代码,如有疑问请联系夏柔QQ:1501904! 实时调试 部分视频、图片或其他接口报错、空值并不代表无法对接,请在本地尝试请求参数接口 调试工具支持的请求类型有: GETPOSTPUTHEADTRACEDELETECONNECTOPTIONS GET 请求 POST 请求 GET 请求 POST 请求 PUT 请求 HEAD 请求 TRACE 请求 DELETE 请求 CONNECT 请求 OPTIONS 请求 在线调试 温馨提示:请修改请求参数,未修改可能返回报错; 参数名称 参数值(修改后测试) 添加参数 参数支持JSON格式,以及GET参数请求方式 返回键值对添加请求参数 { "status": "success", "code": 200, "data": { "status": "1", "info": "ok", "infocode": "10000", "count": "1", "route": { "origin": "116.481028,39.989643", "destination": "116.465063,39.999538", "paths": [ { "distance": "2677", "duration": "2142", "steps": [ { "instruction": "向南步行16米右转", "orientation": "南", "road": [], "distance": "16", "duration": "13", "polyline": "116.480885,39.989371;116.480907,39.989353;116.48089,39.989227", "action": "右转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向西北步行672米左转", "orientation": "西北", "road": [], "distance": "672", "duration": "538", "polyline": "116.480885,39.989223;116.480464,39.989505;116.480464,39.989505;116.480234,39.989653;116.480234,39.989653;116.480022,39.989792;116.4799,39.989865;116.4799,39.989865;116.47977,39.989957;116.47977,39.989957;116.478685,39.99069;116.478685,39.99069;116.477878,39.99122;116.477656,39.991359;116.477656,39.991359;116.477556,39.991419;116.477556,39.991419;116.477322,39.991584;116.477196,39.991675;116.475686,39.992661;116.47549,39.992795;116.47549,39.992795;116.475091,39.993034;116.474818,39.993125", "action": "左转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向西南步行269米右转", "orientation": "西南", "road": [], "distance": "269", "duration": "215", "polyline": "116.474813,39.993125;116.474748,39.993064;116.474748,39.993064;116.474115,39.992483;116.47375,39.992157;116.47375,39.992157;116.47332,39.991771;116.47332,39.991771;116.473003,39.991467;116.473003,39.991467;116.472977,39.99145;116.472721,39.991315", "action": "右转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向北步行1291米左转", "orientation": "北", "road": [], "distance": "1291", "duration": "1033", "polyline": "116.472717,39.991311;116.472622,39.991376;116.472622,39.991376;116.471866,39.991879;116.471866,39.991879;116.47171,39.991979;116.47171,39.991979;116.471476,39.992144;116.471476,39.992144;116.471155,39.992344;116.471155,39.992344;116.470933,39.992491;116.47046,39.992769;116.47046,39.992769;116.470356,39.99283;116.470356,39.99283;116.469796,39.993229;116.469796,39.993229;116.469323,39.993572;116.469193,39.993676;116.469193,39.993676;116.469002,39.993859;116.468867,39.994006;116.468668,39.994249;116.468668,39.994249;116.468568,39.994418;116.468437,39.994727;116.468407,39.994844;116.468385,39.994987;116.468342,39.995421;116.468342,39.995421;116.468316,39.995747;116.468316,39.995747;116.468264,39.996415;116.468268,39.99661;116.468264,39.996688;116.468264,39.996688;116.468264,39.996949;116.468255,39.997096;116.468255,39.997096;116.468247,39.997201;116.468247,39.997201;116.468242,39.997274;116.468242,39.997274;116.468225,39.997543;116.468225,39.997543;116.468225,39.997769;116.468186,39.998641;116.468186,39.998641;116.468181,39.998811;116.468181,39.998811;116.468103,40.000308;116.468103,40.000308;116.468082,40.00079;116.468082,40.00079;116.468064,40.001272;116.468064,40.001272;116.468043,40.001636", "action": "左转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向西步行250米左转", "orientation": "西", "road": [], "distance": "250", "duration": "200", "polyline": "116.468038,40.001636;116.467951,40.001632;116.467951,40.001632;116.467713,40.001615;116.467713,40.001615;116.467561,40.001597;116.467561,40.001597;116.46724,40.001515;116.466814,40.001463;116.466814,40.001463;116.465347,40.001319;116.465122,40.001332", "action": "左转", "assistant_action": [], "walk_type": "0" }, { "instruction": "向南步行179米到达目的地", "orientation": "南", "road": [], "distance": "179", "duration": "143", "polyline": "116.465117,40.001332;116.465148,40.00128;116.465148,40.00128;116.465187,40.001172;116.465187,40.001172;116.465208,40.001128;116.465208,40.001128;116.465239,40.001029;116.465239,40.001029;116.465234,40.000712;116.465234,40.000712;116.465234,40.000365;116.465234,40.000365;116.465239,39.999983;116.465239,39.999983;116.465239,39.999744;116.465239,39.999744;116.465239,39.999688", "action": [], "assistant_action": "到达目的地", "walk_type": "0" } ] } ] } } }