← 返回
AI智能 中文

Exchange Rates

Fetch live exchange rates between any currency pairs from XE.com. Use when: user asks about currency conversion, exchange rates, forex rates, or converting a...
从 XE.com 获取任意货币对的实时汇率。适用于用户查询货币兑换、汇率、外汇行情或货币转换等需求。
mrinvincible29
AI智能 clawhub v1.0.1 1 版本 99931.5 Key: 无需
★ 0
Stars
📥 4,377
下载
💾 11
安装
1
版本
#latest

概述

Exchange Rates (XE.com)

Fetch live mid-market exchange rates from XE.com via headless browser.

Usage

node ~/clawd/skills/exchange-rates/scripts/xe-rate.mjs <FROM> <TO> [AMOUNT]

Examples:

node ~/clawd/skills/exchange-rates/scripts/xe-rate.mjs USD INR        # 1 USD → INR
node ~/clawd/skills/exchange-rates/scripts/xe-rate.mjs EUR USD 500    # 500 EUR → USD
node ~/clawd/skills/exchange-rates/scripts/xe-rate.mjs THB INR 1000   # 1000 THB → INR

Output: JSON with amount, from, to, rate, converted, source, timestamp

Response Format

Present results cleanly:

  • Show the converted amount prominently
  • Include the unit rate (1 FROM = X TO)
  • Mention source is XE.com mid-market rate
  • For amounts > 1, show both unit rate and total conversion

Notes

  • Uses Playwright + Browserless (CDP) to scrape XE.com
  • Falls back to exchangerate-api.com if XE fails
  • Currency codes: standard 3-letter ISO 4217 (USD, INR, EUR, GBP, THB, JPY, etc.)
  • Rates are mid-market (not buy/sell spreads)
  • Script takes ~4-5 seconds per lookup (browser overhead)

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 11:03 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,075
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,921
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 838 📥 213,399