Fiat Currencies
Fiat currency exchange rates with USD as base currency, cached and served through Bitcompare's API.
Exchange rates are sourced from ExchangeRate API, with ECB/Frankfurter data as fallback. Rates are synced hourly and cached for 15 minutes.
List all currencies
Get all supported fiat currencies with their exchange rates relative to USD.
Request
curl https://api.bitcompare.net/api/v1/fiat
Response
{
"data": {
"currencies": [
{
"id": "eur",
"symbol": "EUR",
"name": "Euro",
"coinType": "fiat",
"exchangeRate": 0.92,
"lastFiatSync": "2025-10-29T14:00:00Z",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-10-29T14:00:00Z"
},
{
"id": "gbp",
"symbol": "GBP",
"name": "British Pound",
"coinType": "fiat",
"exchangeRate": 0.79,
"lastFiatSync": "2025-10-29T14:00:00Z",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-10-29T14:00:00Z"
}
],
"count": 2,
"baseCurrency": "USD"
}
}
Get currency by symbol
Get a specific fiat currency by its 3-letter ISO symbol.
Path parameters
- Name
symbol- Type
- string
- Description
ISO 4217 currency code — exactly 3 letters (e.g.,
"EUR","GBP","JPY"). Case-insensitive.
Request
curl https://api.bitcompare.net/api/v1/fiat/EUR
Response
{
"data": {
"id": "eur",
"symbol": "EUR",
"name": "Euro",
"coinType": "fiat",
"exchangeRate": 0.92,
"lastFiatSync": "2025-10-29T14:00:00Z",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-10-29T14:00:00Z"
}
}
USD exchange rates
Get all exchange rates as a simple key-value map optimized for quick lookups. Returns currency symbol to rate pairs.
Request
curl https://api.bitcompare.net/api/v1/fiat/rates/usd
Response
{
"data": {
"baseCurrency": "USD",
"rates": {
"EUR": 0.92,
"GBP": 0.79,
"JPY": 149.50,
"AUD": 1.53
},
"count": 4,
"timestamp": "2025-10-29T14:00:00Z"
}
}
Fiat stats
Get statistics about the fiat currency data including total tracked currencies and sync freshness.
Request
curl https://api.bitcompare.net/api/v1/fiat/stats
Response
{
"data": {
"totalCurrencies": 160,
"lastUpdate": "2025-10-29T14:00:00Z",
"staleCurrencies": 0
}
}
Sync status
Get the current fiat sync job status including whether a sync is running and when the next one is scheduled.
Request
curl https://api.bitcompare.net/api/v1/fiat/status
Response
{
"data": {
"isRunning": false,
"lastSync": "2025-10-29T14:00:00Z",
"nextSync": "2025-10-29T14:15:00Z",
"statistics": {
"totalCurrencies": 160,
"lastUpdate": "2025-10-29T14:00:00Z",
"staleCurrencies": 0
}
}
}