{"skill":{"slug":"cmb-fx","displayName":"CMB HKD-CNY Exchange caculator in REALTIME","summary":"查询招商银行外汇牌价（中间价）","description":"---\nname: cmb-fx\ndescription: \"查询招商银行外汇牌价（中间价）\"\nemoji: \"💱\"\nmetadata:\n  clawdhub:\n    requires:\n      bins: [\"curl\"]\n---\n\n# CMB FX Skill\n\n查询招商银行外汇牌价（中间价）。\n\n## API\n\n**必须使用官方 API：**\n```\nhttps://fx.cmbchina.com/api/v1/fx/rate\n```\n\n## 查询示例\n\n```bash\ncurl -s \"https://fx.cmbchina.com/api/v1/fx/rate\" | jq '.body[] | select(.ccyNbrEng | contains(\"HKD\"))'\n```\n\n## 响应字段说明\n\n| 字段 | 含义 |\n|------|------|\n| rthBid | 现汇买入价 (每 100 外币) |\n| rthOfr | 现汇卖出价 (每 100 外币) |\n| rtcBid | 现钞买入价 (每 100 外币) |\n| rtcOfr | 现钞卖出价 (每 100 外币) |\n| ratTim | 更新时间 |\n\n## 中间价计算\n\n现汇中间价 = (rthBid + rthOfr) / 2 / 100\n\n注意：API 返回的是 **每 100 外币** 的价格\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":615,"installsAllTime":1,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1772020656233,"updatedAt":1778491636632},"latestVersion":{"version":"1.0.0","createdAt":1772020656233,"changelog":"- Initial release of the cmb-fx skill.\n- Enables querying China Merchants Bank (CMB) foreign exchange (mid-rate) data.\n- Utilizes the official CMB FX API (https://fx.cmbchina.com/api/v1/fx/rate).\n- Requires curl to fetch exchange rates.\n- Includes guidance on interpreting API response fields and calculating mid-rates.","license":null},"metadata":null,"owner":{"handle":"horsley","userId":"s1738tgt8ar3ewgp96v33qkwk183gacz","displayName":"Horsley Lee","image":"https://avatars.githubusercontent.com/u/1982676?v=4"},"moderation":null}