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/5246/historical+rates+indices+api/6727/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/5246/historical+rates+indices+api/6730/time+series?start_date=Required&end_date=Required&symbols=Required' --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-09","base":"usd","rates":{"NYA":5.115851003909e-5,"USD":1},"unit":{}}}
curl --location --request GET 'https://zylalabs.com/api/5246/historical+rates+indices+api/6733/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.
Historical Rates Indices 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 "Supported Symbols" endpoint returns a list of currency symbols and their corresponding names. The "Time Series" endpoint provides daily historical rates between two specified dates, while the "Historical Rates" endpoint retrieves exchange rates for a specific currency on a given date.
Key fields include "success" (indicating request success), "base" (the currency base), "rates" (historical rates for specified dates), and "timeseries" (indicating if time series data is available).
The response data is structured in JSON format, with a top-level "data" object containing success status, requested dates, base currency, and a nested "rates" object for historical values, organized by date.
The "Time Series" endpoint accepts parameters like "start_date" and "end_date" to define the date range, while the "Historical Rates" endpoint requires a "date" parameter in YYYY-MM-DD format and a currency symbol.
The "Supported Symbols" endpoint provides a comprehensive list of currency symbols. The "Time Series" endpoint offers daily exchange rates over a specified period, and the "Historical Rates" endpoint gives rates for a specific date.
Users can customize requests by specifying different date ranges for the "Time Series" endpoint and selecting specific currency symbols for the "Historical Rates" endpoint, allowing tailored data retrieval.
The API aggregates historical currency data from various financial markets and institutions, ensuring a broad and reliable dataset for users to analyze currency trends and fluctuations.
Typical use cases include conducting trend analysis for investment strategies, performing historical comparisons for financial reporting, and analyzing currency fluctuations for trading decisions.
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:
967ms
Service Level:
100%
Response Time:
373ms
Service Level:
100%
Response Time:
449ms
Service Level:
100%
Response Time:
326ms
Service Level:
100%
Response Time:
4,783ms
Service Level:
100%
Response Time:
183ms
Service Level:
100%
Response Time:
8,207ms
Service Level:
100%
Response Time:
225ms
Service Level:
100%
Response Time:
170ms
Service Level:
100%
Response Time:
498ms
Service Level:
100%
Response Time:
44ms
Service Level:
100%
Response Time:
137ms
Service Level:
100%
Response Time:
68ms
Service Level:
100%
Response Time:
101ms
Service Level:
99%
Response Time:
11,410ms
Service Level:
100%
Response Time:
5,255ms
Service Level:
100%
Response Time:
1,064ms
Service Level:
100%
Response Time:
1,774ms
Service Level:
100%
Response Time:
198ms
Service Level:
100%
Response Time:
10,989ms