银行汇率查询

银行汇率查询

免费服务

提供主流银行外汇牌价汇率查询,支持外汇币种列表、历史汇率查询及币种间汇率转换。数据为延迟数据,仅供参考,实际交易汇率以当地银行为准。

免费接口,注册即用,无需单独购买。
查询历史汇率
接入点说明
历史外币汇率(100外币兑人民币)可查询自2009年1月起的记录,涵盖英镑、美元、欧元等20多种常见货币。
接口地址
https://route.showapi.com/105-34?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST/GET
更新频率每天1点更新昨天历史外汇牌价汇率
请求参数
Header 参数
Post 表单
返回参数
该接口返回经 showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见
返回体
cURL
curl -X POST "https://route.showapi.com/105-34?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "code=USD&name=&month=201901&startDate=&endDate="
返回示例
JSON
{
  "showapi_res_error": "",
  "showapi_res_id": "a84e401babf640f282545cce77ab4334",
  "showapi_res_code": 0,
  "showapi_res_body": {
    "startDate": "20190101",
    "ret_code": 0,
    "currency_name": "",
    "remark": "查询成功!",
    "showapi_fee_code": 0,
    "month": "201901",
    "list": [
      {
        "middle_rate": "686.32",
        "publish_time": "2019-01-01",
        "cash_selling_rate": "688.98",
        "buying_rate": "686.07",
        "cash_buying_rate": "680.49",
        "selling_rate": "688.98"
      },
      {
        "middle_rate": "684.82",
        "publish_time": "2019-01-02",
        "cash_selling_rate": "687.91",
        "buying_rate": "685.01",
        "cash_buying_rate": "679.44",
        "selling_rate": "687.91"
      },
      {
        "middle_rate": "686.31",
        "publish_time": "2019-01-03",
        "cash_selling_rate": "688.81",
        "buying_rate": "685.91",
        "cash_buying_rate": "680.33",
        "selling_rate": "688.81"
      },
      {
        "middle_rate": "685.86",
        "publish_time": "2019-01-04",
        "cash_selling_rate": "688.61",
        "buying_rate": "685.71",
        "cash_buying_rate": "680.13",
        "selling_rate": "688.61"
      },
      {
        "middle_rate": "685.86",
        "publish_time": "2019-01-05",
        "cash_selling_rate": "688.61",
        "buying_rate": "685.71",
        "cash_buying_rate": "680.13",
        "selling_rate": "688.61"
      },
      {
        "middle_rate": "685.86",
        "publish_time": "2019-01-06",
        "cash_selling_rate": "688.61",
        "buying_rate": "685.71",
        "cash_buying_rate": "680.13",
        "selling_rate": "688.61"
      },
      {
        "middle_rate": "685.17",
        "publish_time": "2019-01-07",
        "cash_selling_rate": "686.71",
        "buying_rate": "683.81",
        "cash_buying_rate": "678.25",
        "selling_rate": "686.71"
      },
      {
        "middle_rate": "684.02",
        "publish_time": "2019-01-08",
        "cash_selling_rate": "686.96",
        "buying_rate": "684.06",
        "cash_buying_rate": "678.5",
        "selling_rate": "686.96"
      }
    ],
    "endDate": "20190131",
    "currency_code": "USD"
  }
}
MCP 服务集成接口级

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

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

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