Exchangerate.host API
Overview
Exchangerate.host provides free foreign exchange and cryptocurrency rates via a simple REST API, covering 170+ currencies and major crypto assets. No API key is required for basic usage, making it easy to fetch the latest rates or historical data with a single GET request. It is a good starting point for currency conversion features in web and mobile apps.
Beginner Tip
No sign-up is required. Start with GET https://api.exchangerate.host/latest?base=USD to get all rates relative to USD. The response is straightforward JSON with a rates object.
Available Data
Example Response
{
"base": "USD",
"date": "2025-01-15",
"rates": {
"EUR": 0.92,
"GBP": 0.79,
"JPY": 149.5,
"CAD": 1.35
}
} Field Reference
base The base currency for the exchange rates in this response (e.g. USD). date The date for which the rates are reported. rates Key-value pairs where each key is a currency code (e.g. EUR) and the value is its exchange rate relative to the base currency. success True if the request was processed successfully. Implementation Example
const url = "https://exchangerate.host/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Alternatives to Exchangerate.host
Technical alternatives for different use cases.
Open-source currency API with daily updates
Open-source projects needing free currency data
Real-time rate updates for trading platforms
170+ currencies with reliable enterprise-grade infrastructure
Production apps needing guaranteed uptime and SLA
Budget projects (paid plans only for full features)
Free alternative with similar ECB-backed data
Guaranteed data freshness and update frequency
Free currency data without API key requirements
Free, open-source API backed by ECB data
European currency conversions with no API key
Exotic currency pairs and cryptocurrency rates
Recipes Using Exchangerate.host
Build something with this API. Each recipe includes step-by-step instructions and code outlines.
Similar APIs
View All →Bank of Russia
The Bank of Russia XML API provides official daily exchange rates for foreign currencies against the Russian Ruble, published by the Central Bank of the Russian Federation.
Currency-api
⭐ Beginner's PickCurrency-api is a free, open-source currency exchange rates API hosted on GitHub with no rate limits, no authentication, and support for 150+ currencies.
Czech National Bank
The Czech National Bank (CNB) publishes official daily exchange rates for 30+ currencies against the Czech Koruna (CZK) as a plain XML file.
Economia.Awesome
⭐ Beginner's PickEconomia.Awesome is a free Brazilian API that provides real-time and historical currency exchange rates for dozens of currency pairs, including BRL (Brazilian Real) against USD, EUR, BTC, and more.
Frankfurter
⭐ Beginner's PickFrankfurter is an open-source currency data API backed by the European Central Bank (ECB) exchange rate dataset, providing rates for 33 major currencies updated every weekday.