Currencies Rates API

API ID 3982

Returns the exchange rate, current rate, date, converted amount, and transaction details for currency conversions with high precision and reliability.

100% uptime 15,384 ms avg response

API Documentation

Endpoints

Request

To use this endpoint, you must specify two currencies and an amount.

Endpoint ID: 4743
GET https://zylalabs.com/api/3982/currencies+rates+api/4743/convert
INPUT PARAMETERS

Convert — Endpoint Features

Object Description
from Required Select a base currency
to Required Select a currency to convert
amount Required Enter an amount.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

from
to
amount
API EXAMPLE RESPONSE
JSON
[{"source":"TheGlobalEconomy","title":"Afghanistan Exchange Rates","country":"Afghanistan","USD_exchange_rates":"72.3617","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Afghanistan/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Albania Exchange Rates","country":"Albania","USD_exchange_rates":"95.1749","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Albania/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Algeria Exchange Rates","country":"Algeria","USD_exchange_rates":"134.5140","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Algeria/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Andorra Exchange Rates","country":"Andorra","USD_exchange_rates":"0.9199","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Andorra/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Angola Exchange Rates","country":"Angola","USD_exchange_rates":"834.5993","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Angola/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Antigua and Barbuda Exchange Rates","country":"Antigua and Barbuda","USD_exchange_rates":"2.7026","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Antigua-and-Barbuda/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Argentina Exchange Rates","country":"Argentina","USD_exchange_rates":"849.3204","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Argentina/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Armenia Exchange Rates","country":"Armenia","USD_exchange_rates":"398.9932","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Armenia/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Aruba Exchange Rates","country":"Aruba","USD_exchange_rates":"1.8014","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Aruba/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Australia Exchange Rates","country":"Australia","USD_exchange_rates":"1.5252","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Australia/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Austria Exchange Rates","country":"Austria","USD_exchange_rates":"0.9199","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Austria/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Azerbaijan Exchange Rates","country":"Azerbaijan","USD_exchange_rates":"1.7000","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Azerbaijan/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bahamas Exchange Rates","country":"Bahamas","USD_exchange_rates":"0.9993","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bahamas/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bahrain Exchange Rates","country":"Bahrain","USD_exchange_rates":"0.3765","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bahrain/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bangladesh Exchange Rates","country":"Bangladesh","USD_exchange_rates":"109.6545","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bangladesh/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Barbados Exchange Rates","country":"Barbados","USD_exchange_rates":"2.0167","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Barbados/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Belarus Exchange Rates","country":"Belarus","USD_exchange_rates":"3.2702","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Belarus/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Belgium Exchange Rates","country":"Belgium","USD_exchange_rates":"0.9199","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Belgium/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Belize Exchange Rates","country":"Belize","USD_exchange_rates":"2.0133","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Belize/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Benin Exchange Rates","country":"Benin","USD_exchange_rates":"602.8838","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Benin/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bermuda Exchange Rates","country":"Bermuda","USD_exchange_rates":"1.0000","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bermuda/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bhutan Exchange Rates","country":"Bhutan","USD_exchange_rates":"83.0771","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bhutan/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bolivia Exchange Rates","country":"Bolivia","USD_exchange_rates":"6.9045","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bolivia/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bosnia and Herzegovina Exchange Rates","country":"Bosnia and Herzegovina","USD_exchange_rates":"1.7994","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bosnia-and-Herzegovina/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Botswana Exchange Rates","country":"Botswana","USD_exchange_rates":"13.6613","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Botswana/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Brazil Exchange Rates","country":"Brazil","USD_exchange_rates":"4.9827","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Brazil/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Brunei Exchange Rates","country":"Brunei","USD_exchange_rates":"1.3401","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Brunei/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Bulgaria Exchange Rates","country":"Bulgaria","USD_exchange_rates":"1.7992","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Bulgaria/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Burkina Faso Exchange Rates","country":"Burkina Faso","USD_exchange_rates":"602.8838","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Burkina-Faso/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Burma (Myanmar) Exchange Rates","country":"Burma (Myanmar)","USD_exchange_rates":"2098.3763","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Burma-Myanmar/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Burundi Exchange Rates","country":"Burundi","USD_exchange_rates":"2861.7014","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Burundi/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Cambodia Exchange Rates","country":"Cambodia","USD_exchange_rates":"4050.0918","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Cambodia/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Cameroon Exchange Rates","country":"Cameroon","USD_exchange_rates":"603.3937","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Cameroon/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Canada Exchange Rates","country":"Canada","USD_exchange_rates":"1.3538","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Canada/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Cape Verde Exchange Rates","country":"Cape Verde","USD_exchange_rates":"101.6779","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Cape-Verde/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Central African Republic Exchange Rates","country":"Central African Republic","USD_exchange_rates":"603.3937","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Central-African-Republic/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Chad Exchange Rates","country":"Chad","USD_exchange_rates":"603.3937","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Chad/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Chile Exchange Rates","country":"Chile","USD_exchange_rates":"967.1040","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Chile/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"China Exchange Rates","country":"China","USD_exchange_rates":"7.1725","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/China/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Colombia Exchange Rates","country":"Colombia","USD_exchange_rates":"3897.9025","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Colombia/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Comoros Exchange Rates","country":"Comoros","USD_exchange_rates":"453.3084","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Comoros/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Costa Rica Exchange Rates","country":"Costa Rica","USD_exchange_rates":"507.9031","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Costa-Rica/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Croatia Exchange Rates","country":"Croatia","USD_exchange_rates":"0.9199","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Croatia/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Cuba Exchange Rates","country":"Cuba","USD_exchange_rates":"79.0509","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Cuba/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Cyprus Exchange Rates","country":"Cyprus","USD_exchange_rates":"0.9199","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Cyprus/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Czechia Exchange Rates","country":"Czechia","USD_exchange_rates":"23.2746","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Czech-Republic/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Democratic Republic of the Congo Exchange Rates","country":"Democratic Republic of the Congo","USD_exchange_rates":"2775.5746","date":"Mar / 2024","url":"https://www.theglobaleconomy.com/Democratic-Republic-of-the-Congo/Dollar_exchange_rate/"},{"source":"TheGlobalEconomy","title":"Denmark Exchange Rates","country":"Denmark"},{"_note":"Response truncated for documentation purposes"}]
Convert — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3982/currencies+rates+api/4743/convert?from=USD&to=EUR&amount=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Currencies Rates API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

This Currencies Rates API provides accurate and reliable results for converting amounts between different currencies, whether in real time or using up-to-date data. It allows users to easily convert values from one currency to another, returning structured data that facilitates integration into financial, commercial, or technology applications.

The response includes a success indicator, which confirms whether the operation was performed correctly, thereby guaranteeing the validity of the data obtained. The query object clearly specifies the input parameters used in the request, such as the source currency, the target currency, and the amount to be converted. This is essential for ensuring the traceability of the process and verifying that the request was interpreted correctly.

Additionally, the info section provides key metadata about the conversion. This includes the timestamp, which indicates the exact moment the exchange rate was obtained, and the rate, which represents the value applied to perform the currency conversion. It also includes the date, which allows identifying the day corresponding to the rate used—an important aspect in contexts where market fluctuations can significantly affect results.

The result field displays the final converted value, offering a level of precision suitable for applications that require accuracy in calculations, such as accounting systems, e-commerce platforms, or financial analysis tools.

Overall, this API stands out for its clear structure, the richness of its data, and the ease with which it can be implemented, making it an efficient and versatile solution for managing currency conversions across various digital environments.

Currencies Rates API FAQs

To use this API just run your single endpoint and you will get all available exchange rates.

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.

An Currencies Rates API is invaluable for users involved in international trade, travel, investment or financial planning. It provides up-to-date exchange rate data, enabling accurate currency conversion calculations.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

The Currencies Rates API is a powerful tool that provides real-time and accurate foreign exchange rate information, specifically focusing on international currency rates.

The "GET All Currencies" endpoint returns real-time exchange rate data for various currencies against the U.S. dollar. The response includes details such as the country, exchange rate, source, and the date of the data.

The key fields in the response data include "source" (data provider), "title" (currency title), "country" (associated country), "USD_exchange_rates" (current exchange rate), "date" (data retrieval date), and "url" (link for more information).

The response data is organized in a JSON array format, where each object represents a currency's exchange rate information. Each object contains multiple fields that provide comprehensive details about the currency and its exchange rate.

The endpoint provides information on exchange rates for multiple currencies, including the current rate against the U.S. dollar, the source of the data, and the date of the exchange rate information.

The data is sourced from reputable financial institutions and organizations, ensuring high accuracy and reliability. Each response includes the "source" field to identify the data provider.

Users can customize their requests by specifying the target currency alongside the U.S. dollar in their API call. This allows retrieval of the specific exchange rate needed for their application.

Typical use cases include e-commerce platforms displaying real-time currency conversions, financial applications tracking exchange rates for investments, and travel websites offering budgeting tools for international trips.

Users can parse the JSON response to extract relevant fields, such as the exchange rate and country information, for integration into applications, enabling real-time currency conversion and financial analysis.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs


You might also like