List All Currencies
Fetch a complete list of all available currencies supported by the OpenFXRates API.
Endpoint
GET /currencies
Parameters
No parameters required.
Request Example
curl -X GET "https://api.openfxrates.com/currencies" \
-H "X-API-Key: your-api-key-here"
Response Schema
{
"currencies": [
{
"code": "USD",
"name": "United States Dollar",
"symbol": "$"
},
{
"code": "EUR",
"name": "Euro",
"symbol": "€"
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
currencies | array | List of all available currencies |
code | string | ISO 4217 currency code |
name | string | Full currency name |
symbol | string | Currency symbol (optional) |
Status Codes
| Status | Description |
|---|---|
| 200 | Success - Currency list returned |
| 401 | Unauthorized - Invalid or missing API key |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Internal error |
Example Response
{
"currencies": [
{
"code": "AED",
"name": "United Arab Emirates Dirham",
"symbol": "د.إ"
},
{
"code": "AUD",
"name": "Australian Dollar",
"symbol": "$"
},
{
"code": "CAD",
"name": "Canadian Dollar",
"symbol": "C$"
},
{
"code": "CHF",
"name": "Swiss Franc",
"symbol": "CHF"
},
{
"code": "EUR",
"name": "Euro",
"symbol": "€"
},
{
"code": "GBP",
"name": "British Pound",
"symbol": "£"
},
{
"code": "JPY",
"name": "Japanese Yen",
"symbol": "¥"
},
{
"code": "USD",
"name": "United States Dollar",
"symbol": "$"
}
]
}
Total Currencies
OpenFXRates supports 160+ currencies including:
- Major currencies (USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD)
- Asian currencies (CNY, INR, KRW, SGD, HKD, THB, IDR, MYR, PHP)
- European currencies (SEK, NOK, DKK, CZK, HUF, PLN, RON, HRK)
- Middle Eastern currencies (AED, SAR, QAR, KWD, BHD, OMR, JOD)
- African currencies (ZAR, EGP, NGN, KES, MAD)
- Crypto-backed currencies
- And many more...
Use Cases
- 🔍 Validation - Check if a currency is supported before making requests
- 🎨 UI Building - Populate currency dropdowns and selectors
- 📱 App Configuration - Display currency options to users
- 🧪 Testing - Discover available currencies for testing
Caching Recommendation
This endpoint returns static data that rarely changes. Cache the results for:
- 24 hours for most applications
- 1 week for less frequently updated apps
Performance
- Response Size: ~50-80 KB depending on symbol inclusion
- Caching: Strongly recommended to minimize API calls
- Freshness: Updates when new currencies are added (rare)
Common Currency Codes
| Code | Currency | Symbol |
|---|---|---|
| USD | US Dollar | $ |
| EUR | Euro | € |
| GBP | British Pound | £ |
| JPY | Japanese Yen | ¥ |
| CHF | Swiss Franc | CHF |
| CAD | Canadian Dollar | C$ |
| AUD | Australian Dollar | A$ |
| NZD | New Zealand Dollar | NZ$ |
| CNY | Chinese Yuan | ¥ |
| INR | Indian Rupee | ₹ |
See Also
- Latest Rates API - Get current rates
- Historical Rates API - Historical rates
- Currency Conversion API - Convert amounts