Currency Data API
Reliable Exchange Rates & Currency Conversion for your Business.
More Details
About this Cloud Hub Solution:
Currency Data API offers a straightforward REST API that provides real-time and historical exchange rates for 168 world currencies. The API delivers currency pairs in a universally usable JSON format, making it compatible with any application.
The API retrieves spot exchange rate data from several major forex data providers in real-time, validates, processes, and delivers it at various intervals, including:
- Hourly
- Every 10 minutes
- Within the 60-second market window
The Currency Data API provides the most representative forex market value available, known as the "midpoint" value, for every API request. This makes it an ideal solution for powering:
- Currency converters
- Mobile applications
- Financial software components
- Back-office systems
By leveraging the Currency Data API, businesses and developers can access accurate and reliable exchange rate data, enabling them to build robust and efficient financial systems.
Available Endpoints
/list Returns all available currencies
/live Get the most recent exchange rate data.
/convert Convert one currency to another.
/historical Get historical rates for a specific day.
/timeframe Request exchange rates for a specific period of time.
/change Request any currency's change parameters (margin, percentage).
Supported Symbols
The Currency Data API comes with a constantly updated endpoint returning all available currencies. To access this list, make a request to the API's list endpoint.
{
"success": true,
"symbols": {
"AED": "United Arab Emirates Dirham",
"AFN": "Afghan Afghani",
"ALL": "Albanian Lek",
"AMD": "Armenian Dram"
}
}
Tips
To minimize bandwidth usage, you can limit the number of output currencies to a specific set of your choice on most API endpoints.
To achieve this, simply append the API's symbols parameter to your API request and set it to one or more comma-separated currency codes.
curl --request GET 'https://api.apilayer.com/currency_data/live?base=USD&symbols=EUR,GBP' \--header 'apikey: YOUR API KEY'
In addition to converting currencies using current exchange rates, it is also possible to perform conversions using historical exchange rate data.
To do this, simply include the API's date parameter in your request and set it to your preferred date.
(format YYYY-MM-DD)curl --request GET 'https://api.apilayer.com/currency_data/convert?base=USD&symbols=EUR,GBP,JPY&amount=5&date=2018-01-01' \--header 'apikey: YOUR API KEY'
{
"quotes": {
"USDAUD": 1.278342,
"USDEUR": 1.278342,
"USDGBP": 0.908019,
"USDPLN": 3.731504
},
"source": "USD",
"success": true,
"timestamp": 1432400348
}
Take a look at the diverse range of application types and industries that can leverage this solution. Understanding these potential uses can help identify how this can integrate into different business models and digital solutions across various sectors.
We've outlined the compatible tech stacks for this solution, encompassing various development areas like frontend, backend, and database, alongside specific stack environments. This provides you with the crucial information needed for seamless integration into your preferred frameworks and programming environments.
Pricing Tiers
Related Cloud Hub Solutions
Explore Related Blogs to Enhance Your Knowledge
Explore Scrums.com Products
Scrums.com Dedicated
Build a custom team that works exclusively on your project, fully integrated into your processes. You control the team composition, while we handle the logistics and infrastructure.
Scrums.com Product Development as a Service
Turnkey agile teams delivering production-ready features. Ideal for building new products with no tech stack preference. Cost-efficient, scalable, and results-driven.
Scrums.com On-Demand
Solve tech challenges fast with services like prototyping or code audits. Flexible, low-risk, and tailored to deliver results in weeks not months.
Scrums.com Augmented
Scale quickly with pre-vetted talent integrated into your team. Perfect for filling roles or building offshore development centers efficiently.
Scrums.com Developer Analytics
Track DevOps performance with real-time insights. Boost deployment speed, reduce downtime, and improve efficiency through actionable data and metrics.
Scrums.com Managed Services
Optimize platform performance with SLA-based support for Platform Maintenance, QA, cloud management, and more. Reliable, scalable, and designed to streamline your operations.