Currencylayer
APIReal-time exchange rates & currency conversion API
Overview
Currencylayer is a RESTful API offering real-time exchange rates, currency conversion, historical rates, and time-series data for 168+ currencies. Key endpoints include /live (real-time rates), /convert (instant conversion), /historical (past rates), and /time-series (date range data). Responses are in JSON format. Ideal use cases: dynamic e-commerce pricing, financial tracking apps, travel budget calculators, and multi-currency accounting tools. It uses bank-grade data sources, with freemium and paid tiers for varying request limits and features like non-USD base currencies.
Example Integration (JavaScript)
fetch('https://currencylayer.com/documentation')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful API
- JSON response format
- Real-time exchange rates
- Historical rate data
- Currency conversion endpoint
- Supports 168+ currencies
- Time-series data
Frequently Asked Questions
? Is Currencylayer free to use?
Yes, it offers a free tier with 1000 requests/month, access to basic endpoints (live, convert), and USD as the base currency. Paid tiers unlock higher limits and advanced features like non-USD base currencies.
? Does it require an API Key?
Yes, all requests need an API key, which you can obtain by signing up for an account on Currencylayer.
? What is the response format?
All responses from Currencylayer are in JSON format, which is widely supported and easy to parse in most programming languages.
Top Alternatives
People Also Ask about Currencylayer
Tool Info
Pros
- ⊕ Easy to integrate
- ⊕ Bank-grade data accuracy
- ⊕ Multiple endpoints for diverse needs
- ⊕ Freemium pricing available
Cons
- ⊖ Free tier limits to 1000 requests/month
- ⊖ Free tier restricted to USD as base currency
- ⊖ No SLA for free tier users