✓ Verified 💻 Development ✓ Enhanced Data

Currency Exchange

Currency exchange rate conversion using exchangerate-api.com.

Rating
4.2 (47 reviews)
Downloads
45,090 downloads
Version
1.0.0

Overview

Currency exchange rate conversion using exchangerate-api.com.

Complete Documentation

View Source →

Exchange Rate Tool

Convert currencies and view exchange rates using free API from exchangerate-api.com. No API key required.

When to Use

  • Convert between any currencies
  • Check current exchange rates
  • View rate tables for multiple currencies
  • Calculate cross-currency conversions

Quick Start

Convert Currency

bash
python3 scripts/exchange-rate.py convert 100 USD CNY
# Output: $100.0000 = ¥692.0000

View Exchange Rates

bash
python3 scripts/exchange-rate.py rate USD
# Shows rates for major currencies against USD

List Supported Currencies

bash
python3 scripts/exchange-rate.py list

Commands

convert

Convert an amount from one currency to another.

Examples:

bash
# USD to CNY
python3 scripts/exchange-rate.py convert 100 USD CNY

# EUR to USD
python3 scripts/exchange-rate.py convert 50 EUR USD

# JPY to CNY
python3 scripts/exchange-rate.py convert 10000 JPY CNY

rate

View exchange rates for major currencies against a base currency.

Examples:

bash
# Rates against USD (default)
python3 scripts/exchange-rate.py rate USD

# Rates against CNY
python3 scripts/exchange-rate.py rate CNY

# Rates against EUR
python3 scripts/exchange-rate.py rate EUR

list

List all supported currency codes (150+ currencies).

bash
python3 scripts/exchange-rate.py list

Common Currency Codes

CodeCurrencyCodeCurrency
USDUS DollarCNYChinese Yuan
EUREuroJPYJapanese Yen
GBPBritish PoundKRWSouth Korean Won
AUDAustralian DollarHKDHong Kong Dollar
CADCanadian DollarTWDNew Taiwan Dollar
CHFSwiss FrancSGDSingapore Dollar
INRIndian RupeeRUBRussian Ruble
BRLBrazilian RealMXNMexican Peso

Notes

  • Rates are updated daily (typically around 00:00 UTC)
  • API is free and requires no authentication
  • Results include the date of the rate data
  • Supports 150+ world currencies

Data Source

This skill uses the free tier of exchangerate-api.com, which provides:

  • Daily updated rates
  • 150+ supported currencies
  • No API key required
  • Rate limits apply (be reasonable with usage)

Example Output

text
💱 汇率转换
$100.0000 = ¥692.0000
汇率: 1 USD = 6.920000 CNY
日期: 2026-02-24

Installation

Terminal bash

openclaw install currency-exchange
    
Copied!

💻Code Examples

### Convert Currency

-convert-currency.sh
python3 scripts/exchange-rate.py convert 100 USD CNY
# Output: $100.0000 = ¥692.0000

### View Exchange Rates

-view-exchange-rates.sh
python3 scripts/exchange-rate.py rate USD
# Shows rates for major currencies against USD

**Examples:**

examples.sh
# USD to CNY
python3 scripts/exchange-rate.py convert 100 USD CNY

# EUR to USD
python3 scripts/exchange-rate.py convert 50 EUR USD

# JPY to CNY
python3 scripts/exchange-rate.py convert 10000 JPY CNY

**Examples:**

examples.sh
# Rates against USD (default)
python3 scripts/exchange-rate.py rate USD

# Rates against CNY
python3 scripts/exchange-rate.py rate CNY

# Rates against EUR
python3 scripts/exchange-rate.py rate EUR

python3 scripts/exchange-rate.py list

python3-scriptsexchange-ratepy-list.txt
## Common Currency Codes

| Code | Currency | Code | Currency |
|------|----------|------|----------|
| USD | US Dollar | CNY | Chinese Yuan |
| EUR | Euro | JPY | Japanese Yen |
| GBP | British Pound | KRW | South Korean Won |
| AUD | Australian Dollar | HKD | Hong Kong Dollar |
| CAD | Canadian Dollar | TWD | New Taiwan Dollar |
| CHF | Swiss Franc | SGD | Singapore Dollar |
| INR | Indian Rupee | RUB | Russian Ruble |
| BRL | Brazilian Real | MXN | Mexican Peso |

## Notes

- Rates are updated daily (typically around 00:00 UTC)
- API is free and requires no authentication
- Results include the date of the rate data
- Supports 150+ world currencies

## Data Source

This skill uses the free tier of exchangerate-api.com, which provides:
- Daily updated rates
- 150+ supported currencies
- No API key required
- Rate limits apply (be reasonable with usage)

## Example Output
example.txt
💱 汇率转换
$100.0000 = ¥692.0000
汇率: 1 USD = 6.920000 CNY
日期: 2026-02-24

Tags

#git_and-github #api

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author ouyangabel
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install currency-exchange