需两次购买:①订购原厂商接口 ②免费接口,注册后直接调用;高德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-25?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "origin=116.41348%20%2C%2039.91083&destination=116.47004%20%2C%2039.85918&strategy=2&province=%E4%BA%AC&number=&cartype=&firsttime=&interval=&count=&ds_id="
{ "showapi_res_id": "", "showapi_res_error": "", "showapi_res_code": 0, "showapi_res_body": { "errcode": "", "errmsg": "", "errdetail": "", "data": [ { "paths": [ { "distance": "", "traffic_lights": "", "steps": [ { "adcode": "", "road": "", "distance": "", "toll": "", "polyline": "" } ] } ], "time_infos": [ { "starttime": "", "elements": [ { "pathindex": "", "duration": "", "tolls": "", "restriction": "", "tmcs": [ { "status": "", "polyline": "" } ] } ] } ] } ] } }
在 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