← 返回
效率工具 中文

Currconv

Convert currencies using frankfurter.app free API. Use when converting amounts, checking exchange rates, or viewing rate history. Requires curl.
使用 frankfurter.app 免费 API 转换货币。适用于转换金额、查询汇率或查看历史汇率。需要 curl。
bytesagain1
效率工具 clawhub v3.0.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 609
下载
💾 8
安装
2
版本
#latest

概述

CurrConv

A real currency converter using live exchange rates from the European Central Bank via the free frankfurter.app API. Convert currencies, check rates, list available currencies, and look up historical exchange rates. No API key required.

Commands

CommandDescription
----------------------
currconv convert Convert an amount from one currency to another using live rates
currconv rates Show all exchange rates for a base currency (default: EUR)
currconv listList all available currencies with full names
currconv history Get a historical exchange rate with comparison to today
currconv versionShow version
currconv helpShow available commands and usage

Requirements

  • Bash 4+ (set -euo pipefail)
  • curl — for API requests
  • python3 — for JSON parsing and number formatting
  • Internet connection (calls frankfurter.app API)
  • No API key required (free, public API)

When to Use

  1. Quick currency conversioncurrconv convert 100 USD EUR for instant conversion
  2. Checking exchange ratescurrconv rates USD shows all rates against the dollar
  3. Available currenciescurrconv list shows all 30+ supported currencies
  4. Historical ratescurrconv history USD EUR 2024-01-15 with comparison to today's rate
  5. Travel planning — Convert amounts between currencies before a trip

Examples

# Convert 100 USD to EUR
currconv convert 100 USD EUR

# Convert 5000 JPY to GBP
currconv convert 5000 JPY GBP

# Convert 1000 CNY to USD
currconv convert 1000 CNY USD

# Show all rates for USD
currconv rates USD

# Show all rates for EUR (default)
currconv rates

# List all available currencies
currconv list

# Get historical rate for a specific date
currconv history USD EUR 2024-01-15

# Historical GBP to JPY rate
currconv history GBP JPY 2023-06-01

Example Output

$ currconv convert 100 USD CNY
┌───────────────────────────────────────────────────┐
│  Currency Conversion                              │
├───────────────────────────────────────────────────┤
│  100.00         USD                                │
│  =                                                 │
│  688.82         CNY                                │
├───────────────────────────────────────────────────┤
│  Rate:  1 USD  = 6.888200   CNY                    │
│  Date:  2026-03-18                                 │
│  Source: European Central Bank                     │
└───────────────────────────────────────────────────┘

$ currconv history USD EUR 2024-01-15
┌───────────────────────────────────────────────────┐
│  Historical Exchange Rate                         │
├───────────────────────────────────────────────────┤
│  Pair:       USD → EUR                             │
│  Date:       2024-01-15                            │
│  Rate:       1 USD  = 0.91234 EUR                  │
├───────────────────────────────────────────────────┤
│  Today:      1 USD  = 0.92150 EUR                  │
│  Change:     +0.009160 (+1.00%)                    │
│  Today date: 2026-03-18                            │
├───────────────────────────────────────────────────┤
│  Source: European Central Bank                     │
└───────────────────────────────────────────────────┘

Supported Currencies

Run currconv list for the full list. Common currencies include:

  • USD — US Dollar
  • EUR — Euro
  • GBP — British Pound
  • JPY — Japanese Yen
  • CNY — Chinese Yuan
  • AUD — Australian Dollar
  • CAD — Canadian Dollar
  • CHF — Swiss Franc
  • KRW — South Korean Won
  • SGD — Singapore Dollar

30+ currencies supported in total, all sourced from the European Central Bank.

Data Source

All exchange rates come from the European Central Bank via the free frankfurter.app API. Rates are typically updated once per business day. No API key or registration required.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Data Storage

Rate cache stored in ~/.local/share/currconv/.

版本历史

共 2 个版本

  • v3.0.1 当前
    2026-03-29 17:25 安全 安全
  • v1.0.5
    2026-03-19 07:01

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,783

Cad

bytesagain1
CAD参考工具
★ 0 📥 2,733
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,335