ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

cmb-fx

查询招商银行外汇牌价(中间价)

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/horsley/cmb-fx
Or

CMB FX Skill

查询招商银行外汇牌价(中间价)。

API

必须使用官方 API:

https://fx.cmbchina.com/api/v1/fx/rate

查询示例

curl -s "https://fx.cmbchina.com/api/v1/fx/rate" | jq '.body[] | select(.ccyNbrEng | contains("HKD"))'

响应字段说明

字段含义
rthBid现汇买入价 (每 100 外币)
rthOfr现汇卖出价 (每 100 外币)
rtcBid现钞买入价 (每 100 外币)
rtcOfr现钞卖出价 (每 100 外币)
ratTim更新时间

中间价计算

现汇中间价 = (rthBid + rthOfr) / 2 / 100

注意:API 返回的是 每 100 外币 的价格

Metadata

Author@horsley
Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-horsley-cmb-fx": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.