高德接口
连接器

高德接口

连接器

需两次购买:①订购原厂商接口 ②免费接口,注册后直接调用;高德Web服务API向开发者提供HTTP接口,开发者可通过这些接口使用各类型的地理数据服务,返回结果支持JSON和XML格式

免费接口,注册即用,无需单独购买。
驾车路径规划
接入点说明
驾车路径规划 API 可以规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。高德原接口订购地址:https://developer.amap.com/api/webservice/guide/create-project/get-key
接口地址
https://connector.showapi.com/2127-15?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST/GET
案例截图
案例
请求参数
Header 参数
Post 表单
返回参数
该接口返回经 showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见
返回体
cURL
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="
返回示例
JSON
{
  "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"
        }
      ]
    }
  }
}
MCP 服务集成接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。

MCP JSON
{
  "mcpServers": {
    "showapi-mcp-2127": {
      "url": "http://www.showapi.com.cn/mcp/2127/{your_appKey}"
    }
  }
}
OpenAPI 文档接口级

标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。