需两次购买:①订购原厂商接口 ②免费接口,注册后直接调用;高德Web服务API向开发者提供HTTP接口,开发者可通过这些接口使用各类型的地理数据服务,返回结果支持JSON和XML格式
权益档次可使用平台积分兑换更高调用档位,多种积分获取方式请查看积分与档位详情。
驾车路径规划 API 可以规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。高德原接口订购地址:https://developer.amap.com/api/webservice/guide/create-project/get-key
showapi_res_body
curl -X POST "https://connector.showapi.com/2127-15?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "origin=116.434446%2C39.90816&destination=116.481028%2C39.989643&originid=&destinationid=&origintype=&destinationtype=&strategy=&waypoints=&avoidpolygons=&avoidroad=&province=&number=&cartype=&ferry=&roadaggregation=&nosteps=&extensions=base&ds_id="
{ "showapi_res_error": "", "showapi_res_id": "7f071715bac74df19e4c908f865cc3de", "showapi_res_code": 0, "showapi_res_body": { "status": "1", "info": "OK", "infocode": "10000", "count": "1", "route": { "origin": "116.434446,39.90816", "destination": "116.481028,39.989643", "taxi_cost": "33", "paths": [ { "distance": "11948", "duration": "1765", "strategy": "速度最快", "tolls": "0", "toll_distance": "0", "steps": [ { "instruction": "沿建国门内大街向东行驶193米左转", "orientation": "东", "road": "建国门内大街", "distance": "193", "tolls": "0", "toll_distance": "0", "toll_road": [], "duration": "109", "polyline": "116.434433,39.908394;116.434586,39.908401;116.434708,39.908375;116.434883,39.908302;116.43499,39.908279;116.43528,39.908268;116.435745,39.90826;116.436264,39.90826;116.436508,39.90826;116.436661,39.908287", "action": "左转", "assistant_action": [], "tmcs": [ { "lcode": [], "distance": "40", "status": "畅通", "polyline": "116.434433,39.908394;116.434586,39.908401;116.434708,39.908375;116.434883,39.908302" } ], "cities": [ { "name": "北京城区", "citycode": "010", "adcode": "110100", "districts": [ { "name": "东城区", "adcode": "110101" } ] } ] } ], "restriction": "0", "traffic_lights": "7" } ] } } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-2127": { "url": "http://www.showapi.com.cn/mcp/2127/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033