Access our powerful API to build applications with real-time exchange rate data.
Get Your API KEY
// Fetch exchange rates
fetch('https://fetan-currency.vercel.app/api/exchange-rates')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Response format:
// {
// "base": "USD",
// "date": "2023-06-01",
// "rates": {
// "ETB": 54.5,
// "EUR": 0.93,
// "GBP": 0.80,
// // ... other currencies
// }
// }