Exchange API
Unified currency exchange rates from multiple providers with intelligent fallback, smart number formatting, and rich currency metadata including flags.
Smart Number Formatting
The API returns both raw numbers and pre-formatted display strings. Each currency follows its canonical formatting rules — no more "1.0934€".
Standard (2 decimals)
Zero-decimal (JPY, KRW)
Three-decimal (KWD, BHD)
Step-rounded (SYP, LBP)
Rate: Large (≥1000)
Rate: Normal (≥1)
Rate: Small (<0.01)
Flags & Currency Metadata
Each currency comes with rich metadata from the /currencies endpoint.
Flag emoji: Mapped for 170+ currencies. Falls back to ISO 3166 derivation.
Flag image: High-resolution PNG from FlagCDN, perfect for UI rendering.
Health Check
Simple health probe. Returns 200 when the server is up.
Try it
List Currencies
Returns all supported currencies with names, emoji flags, country metadata, and flag image URLs.
Try it
Exchange Rates
Get live exchange rates for a base currency. Optionally filter to specific symbols. Falls back across providers automatically.
| Parameter | Type | Description |
|---|---|---|
| base* | string | Base currency code (e.g. "USD", "EUR") |
| symbolsoptional | string | Comma-separated target currencies (e.g. "EUR,GBP,JPY") |
Try it
Convert Amount
Convert an amount between two currencies. Returns both raw numbers and smart-formatted display strings.
| Parameter | Type | Description |
|---|---|---|
| from* | string | Source currency code |
| to* | string | Target currency code |
| amount* | number | Positive amount to convert |
Try it
Historical Timeseries
Get historical exchange rates for a date range. Useful for charts and trend analysis.
| Parameter | Type | Description |
|---|---|---|
| base* | string | Base currency code |
| symbols* | string | Comma-separated target currencies |
| start* | string | Start date (YYYY-MM-DD) |
| end* | string | End date (YYYY-MM-DD) |
Try it
Provider Status
Shows real-time availability and health of all exchange rate data providers.