{"message":"'pairs' parameter is required","supportedPairs":["AUDUSD","EURGBP","EURUSD","GBPUSD","NZDUSD","USDAED","USDAFN","USDALL","USDAMD","USDANG","USDAOA","USDARS","USDATS","USDAUD","USDAWG","USDAZM","USDAZN","USDBAM","USDBBD","USDBDT","USDBEF","USDBGN","USDBHD","USDBIF","USDBMD","USDBND","USDBOB","USDBRL","USDBSD","USDBTN","USDBWP","USDBYN","USDBYR","USDBZD","USDCAD","USDCDF","USDCHF","USDCLP","USDCNH","USDCNY","USDCOP","USDCRC","USDCUC","USDCUP","USDCVE","USDCYP","USDCZK","USDDEM","USDDJF","USDDKK","USDDOP","USDDZD","USDEEK","USDEGP","USDERN","USDESP","USDETB","USDEUR","USDFIM","USDFJD","USDFKP","USDFRF","USDGBP","USDGEL","USDGGP","USDGHC","USDGHS","USDGIP","USDGMD","USDGNF","USDGRD","USDGTQ","USDGYD","USDHKD","USDHNL","USDHRK","USDHTG","USDHUF","USDIDR","USDIEP","USDILS","USDIMP","USDINR","USDIQD","USDIRR","USDISK","USDITL","USDJEP","USDJMD","USDJOD","USDJPY","USDKES","USDKGS","USDKHR","USDKMF","USDKPW","USDKRW","USDKWD","USDKYD","USDKZT","USDLAK","USDLBP","USDLKR","USDLRD","USDLSL","USDLTL","USDLUF","USDLVL","USDLYD","USDMAD","USDMDL","USDMGA","USDMGF","USDMKD","USDMMK","USDMNT","USDMOP","USDMRO","USDMRU","USDMTL","USDMUR","USDMVR","USDMWK","USDMXN","USDMYR","USDMZM","USDMZN","USDNAD","USDNGN","USDNIO","USDNLG","USDNOK","USDNPR","USDNZD","USDOMR","USDPAB","USDPEN","USDPGK","USDPHP","USDPKR","USDPLN","USDPTE","USDPYG","USDQAR","USDROL","USDRON","USDRSD","USDRUB","USDRWF","USDSAR","USDSBD","USDSCR","USDSDD","USDSDG","USDSEK","USDSGD","USDSHP","USDSIT","USDSKK","USDSLL","USDSOS","USDSPL","USDSRD","USDSRG","USDSTD","USDSTN","USDSVC","USDSYP","USDSZL","USDTHB","USDTJS","USDTMM","USDTMT","USDTND","USDTOP","USDTRL","USDTRY","USDTTD","USDTVD","USDTWD","USDTZS","USDUAH","USDUGX","USDUSD","USDUYU","USDUZS","USDVAL","USDVEB","USDVEF","USDVES","USDVND","USDVUV","USDWST","USDXAF","USDXAG","USDXAU","USDXBT","USDXCD","USDXDR","USDXOF","USDXPD","USDXPF","USDXPT","USDYER","USDZAR","USDZMK","USDZMW","USDZWD"],"code":1001}
curl --location --request GET 'https://zylalabs.com/api/2452/fx+markets+api/2413/usable+currency+types' --header 'Authorization: Bearer YOUR_API_KEY'
{"rates":{"EURGBP":{"rate":0.855403,"timestamp":1692197404}},"code":200}
curl --location --request GET 'https://zylalabs.com/api/2452/fx+markets+api/2414/get+conversion?pairs=EURGBP' --header 'Authorization: Bearer YOUR_API_KEY'
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 FX Markets API simply include your bearer token in the Authorization header.
| 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 🎉)
Trusted by leading companies
The FX Markets API is an advanced application programming interface designed to provide a comprehensive view of the FX markets. With the API's real-time data capabilities, users gain access to live exchange rates. This instantaneous flow of information eliminates the need for manual monitoring and improves the speed of decision making, allowing traders to take advantage of opportunities as they arise.
One of the most attractive features of the FX Markets API is its ability to provide data on the most sought-after currencies in the market. By accessing this information, traders can develop data-driven strategies and algorithms based on market behavior. This context is invaluable for identifying potential trends, optimizing trading strategies and making informed decisions based on a deep understanding of market dynamics.
In addition, the FX Markets API allows traders to analyze and interpret market sentiment. It provides information on aggregate market data, revealing factors such as order flow, volume and price movements in different currency pairs. This information helps traders gauge market sentiment, identify potential pullbacks and make decisions based on an overall view of market conditions.
Risk management is a fundamental aspect of forex trading, and the FX Markets API helps with this task. By providing real-time data on volatility, price spreads and market liquidity, the API provides traders with the information they need to effectively manage risk. In addition, the API can be used to create alerts and triggers that notify traders of specific market conditions, allowing them to react quickly to mitigate potential losses.
For financial institutions, the FX API is of immense value in providing clients with accurate and up-to-date FX market information. Banks, investment firms and asset managers can integrate the API into their systems to provide clients with a complete view of the foreign exchange markets, enhancing their investment and advisory services.
In conclusion, the FX Markets API is a revolutionary tool in the forex trading arena. By providing real-time market data it enables traders and financial institutions to navigate the complexity of the FX markets with confidence. By fusing technology with financial acumen, the API is reshaping the FX trading landscape, enabling participants to uncover insights, seize opportunities and make decisions based on data-driven accuracy. As global financial markets continue to evolve, the FX Markets API is set to play a critical role in shaping the future of FX trading.
It will receive parameters and provide you with a JSON.
International e-commerce platforms: Online retailers can use the API to dynamically display product prices in each customer's local currency, improving the user experience and boosting sales by reducing exchange rate uncertainty.
Financial applications: Personal finance and budgeting apps can integrate the API to provide users with accurate and up-to-date currency conversion information, helping them manage spending and investments in different currencies.
Travel and booking services: Travel booking platforms can incorporate the API to provide travelers with real-time exchange rates, helping them make informed decisions about accommodations, flights and activities in their destination country.
Currency trading platforms: FX traders can use the API to access real-time exchange rates, helping to make informed trading decisions and manage risk.
Remittance services: International money transfer companies can leverage the API to ensure that recipients receive accurate amounts in their local currencies, improving transparency and reducing the possibility of errors.
Besides the number of API calls, there is no other limitation.
To use this API the user must indicate 2 currencies to obtain the rate.
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.
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 FX Markets API is a tool that provides users with real-time access to the foreign exchange market.
The "GET Usable currency types" endpoint returns a list of supported currency pairs, while the "GET Get Conversion" endpoint provides the exchange rate between two specified currencies along with a timestamp.
Key fields include "supportedPairs" in the currency types response, which lists available currency pairs, and "rates" in the conversion response, which contains the exchange rate and a "timestamp" indicating when the rate was retrieved.
The response data is structured in JSON format. For currency types, it includes a message and an array of supported pairs. For conversion, it includes a "rates" object with currency pairs and their corresponding rates.
The "GET Usable currency types" endpoint requires no parameters. The "GET Get Conversion" endpoint requires a "pairs" parameter, which should be a string of two currency codes concatenated without spaces (e.g., "EURGBP").
The "GET Usable currency types" endpoint provides a list of all available currency pairs, while the "GET Get Conversion" endpoint offers real-time exchange rates between specified currencies.
Users can customize requests by specifying different currency pairs in the "GET Get Conversion" endpoint. By changing the input currency codes, users can retrieve rates for any supported pair.
The FX Markets API sources its data from reputable financial institutions and market feeds, ensuring that the exchange rates reflect current market conditions.
Typical use cases include real-time currency conversion for e-commerce, financial applications for budgeting, travel services for booking, and trading platforms for forex trading decisions.
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.
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.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund