CMB HKD-CNY Exchange caculator in REALTIME OpenClaw Skill
查询招商银行外汇牌价(中间价)
Installation
clawhub install cmb-fx
Requires npm i -g clawhub
375
Downloads
0
Stars
0
current installs
1 all-time
1
Versions
Power your OpenClaw skills with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
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 外币 的价格
Statistics
Author
Horsley Lee
@horsley
Latest Changes
v1.0.0 · Feb 25, 2026
- Initial release of the cmb-fx skill. - Enables querying China Merchants Bank (CMB) foreign exchange (mid-rate) data. - Utilizes the official CMB FX API (https://fx.cmbchina.com/api/v1/fx/rate). - Requires curl to fetch exchange rates. - Includes guidance on interpreting API response fields and calculating mid-rates.
Quick Install
clawhub install cmb-fx Related Skills
Other popular skills you might find useful.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.