Make a GET request to the endpoint to get a complete list of all currencies and symbols supported by the API.
Supported Symbols - Endpoint Features
| Object | Description |
|---|
{"000001":"SSE Composite","AORD":"ALL ORDINARIES","AXJO":"S&P\/ASX 200","BFX":"BEL 20","BSESN":"S&P BSE SENSEX","BUK100P":"Cboe UK 100","BVSP":"IBOVESPA","CAD":"Canadian Dollar","CLP":"Chilean Peso","CNY":"Chinese Renminbi Yuan","DJI":"Dow Jones Industrial Average","DX-Y":"US Dollar","EGP":"Egyptian Pound","EGX-30":"EGX 30","EUR":"Euro","FCHI":"CAC 40","FTSE":"FTSE 100","GBP":"British Pound","GDAXI":"DAX Performance","GSPC":"S&P 500","GSPTSE":"S&P\/TSX Composite","HSI":"HANG SENG","IPSA":"S&P IPSA","IXIC":"NASDAQ Composite","JKSE":"IDX COMPOSITE","JN0U":"Top 40 USD Net TRI","KLSE":"FTSE Bursa Malaysia KLCI","KRW":"South Korean Won","KS11":"KOSPI Composite","MERV":"MERVAL","MOEX-ME":"Public Joint-Stock Company Moscow Exchange MICEX-RTS","MSCI-EU":"MSCI EUROPE","MXN":"Mexican Peso","MXX":"IPC Mexico","N100":"Euronext 100","N225":"Nikkei 225","NYA":" NYSE Composite","NZ50":"S&P\/NZX 50","RUB":"Russian Ruble","RUT":"Russell 2000","STI":"STI","STOXX50E":"EURO STOXX 50","TA125":"TA-125","TWII":"TSEC Weighted","USD":"United States Dollar","VIX":"CBOE Volatility","XAX":"NYSE AMEX Composite","XDA":"Australian Dollar Currency","XDB":"British Pound Currency","XDE":"Euro Currency","XDN":"Japanese Yen Currency"}
curl --location --request GET 'https://zylalabs.com/api/5262/global+historical+exchange+rates+api/6779/supported+symbols' --header 'Authorization: Bearer YOUR_API_KEY'
Time Series endpoint lets you query the API for daily historical rates between two dates of your choice. (The date limits per API request depends on the acquired plan).
You can not use the current date on the parameter "end_date". We recommend using a day prior to the current date in order to get a successful response. To get the last price you will have to use the latest endpoint.
Time Series - Endpoint Features
| Object | Description |
|---|---|
start_date |
[Required] The start date of your preferred timeframe. (The date limits per API request depends on the acquired plan) |
end_date |
[Required] The end date of your preferred timeframe. (The date limits per API request depends on the acquired plan) |
symbols |
[Required] Enter one currency or indices codes to limit the output. |
base |
Optional Enter the three-letter currency code or commodity code of your preferred base currency. Default USD. |
{"data":{"success":true,"timeseries":true,"start_date":"2024-10-04","end_date":"2024-10-09","base":"USD","rates":{"2024-10-04":{"NYA":5.1579147169749e-5,"USD":1},"2024-10-05":{"NYA":5.1180530107459e-5,"USD":1},"2024-10-06":{"NYA":5.1180530107459e-5,"USD":1},"2024-10-07":{"NYA":5.1180530107459e-5,"USD":1},"2024-10-08":{"NYA":5.146071231918e-5,"USD":1},"2024-10-09":{"NYA":5.1453483735297e-5,"USD":1}},"unit":{}}}
curl --location --request GET 'https://zylalabs.com/api/5262/global+historical+exchange+rates+api/6780/time+series?start_date=2024-10-04&end_date=2024-10-09&symbols=NYA' --header 'Authorization: Bearer YOUR_API_KEY'
Retrieves historical exchange rates for a specific currency by providing a date in the format YYYYY-MM-DD.
Historical Rates - Endpoint Features
| Object | Description |
|---|---|
base |
[Required] Enter the three-letter currency code or commodity code of your preferred base currency. Default USD. |
symbols |
[Required] Enter a list of comma-separated currency codes or indices codes to limit output codes. (The number of symbols per API request depends on the acquired plan). |
date |
[Required] |
{"data":{"success":true,"historical":true,"date":"2024-10-04","base":"usd","rates":{"NYA":5.1180530107459e-5,"USD":1},"unit":{}}}
curl --location --request GET 'https://zylalabs.com/api/5262/global+historical+exchange+rates+api/6781/historical+rates?base=usd&symbols=NYA&date=Required' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
Perform GET requests with date and symbol parameters to receive historical rates, available symbols or time series.
Global Historical Exchange Rates is an API designed to query historical currency data, including time series and symbols available for detailed financial analysis.
It receives dates and currency symbols as input parameters, and returns historical rates, available symbols and time series data in JSON format.
Analysis of historical currency trends for trading platforms. Time series study to identify currency fluctuations. Historical data retrieval for financial reporting and investment strategies.
Beside the number of API calls per month allowed, there are no other limitations.
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.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.
The Time Series endpoint returns daily historical exchange rates between two specified dates. The response includes the base currency, date range, and a nested structure of rates for each date, allowing users to analyze trends over time.
The Historical Rates response includes fields such as "success" (indicating the request status), "date" (the queried date), "base" (the base currency), and "rates" (an object containing exchange rates for various currencies).
Users can customize requests by specifying the "start_date" and "end_date" parameters to define the date range for historical rates. Additionally, they can choose the base currency to retrieve rates against it.
The Supported Symbols endpoint provides a comprehensive list of all currencies and their corresponding symbols supported by the API, enabling users to identify available currencies for their queries.
The response data is organized in a JSON format, with a "data" object containing "success," "timeseries," "start_date," "end_date," "base," and a "rates" object that lists exchange rates by date.
The API sources its exchange rate data from reliable financial institutions and market feeds, ensuring that users receive accurate and up-to-date historical exchange rates for their analysis.
Users can analyze the time series data to identify trends, fluctuations, and patterns in currency exchange rates over the specified period, aiding in investment decisions and financial reporting.
Typical use cases include verifying available currencies for transactions, integrating currency symbols into financial applications, and conducting comparative analyses of different currencies in market research.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
46ms
Service Level:
100%
Response Time:
431ms
Service Level:
100%
Response Time:
784ms
Service Level:
100%
Response Time:
743ms
Service Level:
100%
Response Time:
19,371ms
Service Level:
100%
Response Time:
363ms
Service Level:
100%
Response Time:
240ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
396ms
Service Level:
100%
Response Time:
148ms
Service Level:
100%
Response Time:
1,341ms
Service Level:
100%
Response Time:
2,355ms
Service Level:
100%
Response Time:
68ms
Service Level:
100%
Response Time:
652ms
Service Level:
100%
Response Time:
5,089ms
Service Level:
100%
Response Time:
1,582ms
Service Level:
100%
Response Time:
3,877ms
Service Level:
100%
Response Time:
870ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
3,408ms