World Indices Rates API

The World Indices Rates API provides real-time price and historical data for multiple currencies, with conversion, daily fluctuation and time series analysis functions.

About the API: 

The World Indices Rates API is a robust solution that provides access to exchange rate data for real-time index prices, powered by more than 10 trusted data sources. This API includes a number of endpoints designed to meet a variety of needs, from retrieving the latest exchange rates for all available currencies to converting amounts between different currencies. With the ability to retrieve historical data since August 2021 and perform advanced queries such as time series and daily fluctuations, the API facilitates in-depth analysis of market trends. Users can leverage this API to convert amounts between currencies, extract historical prices and analyze how indices fluctuate over time. Advanced features allow you to query opening, high, low and closing (OHLC) prices for specific currencies. Depending on the subscription plan, exchange rate updates can be as frequent as every 60 seconds. With this API, market professionals and financial analysts alike can access a comprehensive tool to optimize their trading and investment strategies, facilitating accurate monitoring of index fluctuations in real time or historically.

Documentación de la API

Endpoints


Make a GET request to the endpoint to get a complete list of all currencies and symbols supported by the API.



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6697/supported+symbols+endpoint
                                                                            
                                                                        

Supported Symbols Endpoint - Características del Endpoint

Objeto Descripción
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"000001":"SSE Composite","ABAQ":"ABA Community Bank NASDAQ","ABQI":"NASDAQ OMX Aba Community Bank","AEX":"Amsterdam AEX","AORD":"ALL ORDINARIES","AXJO":"S&P\/ASX 200","BANK":"Nasdaq Bank","BFX":"BEL 20","BKX":"KBW Nasdaq Bank","BSESN":"S&P BSE SENSEX","BUK100P":"Cboe UK 100","BVLG":"PSI All-Share","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","IBEX":"IBEX 35","INDS":"NASDAQ Industrial","INSR":"NASDAQ Insurance","IPSA":"S&P IPSA","ISEQ":"Irish Stock Exchange Overall","IXIC":"NASDAQ Composite","IXTC":"NASDAQ Telecommunications","JKSE":"IDX COMPOSITE","JN0U":"Top 40 USD Net TRI","KLSE":"FTSE Bursa Malaysia KLCI","KRW":"South Korean Won","KRX":"KBW Nasdaq Regional Banking Ind","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","OMX":"OMX Stockholm 30","OMXC20":"OMX Copenhagen 20","PSEI":"Philippine Stock Exchange PSEi","QABA":"First Trust NASDAQ ABA Community Bank","RUB":"Russian Ruble","RUT":"Russell 2000","SA40":"FTSE\/JSE Top 40","SNSX50":"S&P BSE SENSEX","STI":"STI","STOXX50E":"EURO STOXX 50","TA-35":"Tel Aviv TA-35","TA125":"TA-125","TASI":"Tadawul All Shares","TSX-V":"S&P\/TSX Venture Composite","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"}
                                                                                                                                                                                                                    
                                                                                                    

Supported Symbols Endpoint - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6697/supported+symbols+endpoint' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Make a request to the endpoint to get the latest real-time exchange rates for all currencies.

 



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6698/latest+rates
                                                                            
                                                                        

Latest Rates - Características del Endpoint

Objeto Descripción
base Opcional Enter the three-letter currency code or commodity code of your preferred base currency. Default USD.
symbols [Requerido] 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).
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"timestamp":1734181200,"date":"2024-12-14","base":"USD","rates":{"NYA":5.0685855655807e-5,"USD":1,"USDNYA":19729.369999999824}}}
                                                                                                                                                                                                                    
                                                                                                    

Latest Rates - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6698/latest+rates?symbols=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Convert an amount from one currency to another using real-time exchange rates. Provide the parameters of the base currency, the target currency and the amount to convert.

 

For example: /convert?from=USD&to=EUR&amount=100



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6701/currency+conversion+tool
                                                                            
                                                                        

Currency Conversion Tool - Características del Endpoint

Objeto Descripción
from [Requerido] The three-letter currency code or metal code of the symbol you would like to convert from.
to [Requerido] The three-letter currency code or metal code or metal code of the currency you would like to convert to.
amount [Requerido] The amount to be converted.
date Opcional Specify a date (format YYYY-MM-DD) to use historical rates for this conversion.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"query":{"from":"GBP","to":"EUR","amount":"100"},"info":{"timestamp":1734181200,"rate":1.201653656461184},"historical":false,"date":"2024-12-14","result":120.16536564611839,"unit":"per barrel for Oil, per ounce for Metals. Per 10 metric tons for Crude Palm Oil, Per MMBtu for Natural gas, Per Gallon for Ethanol. Per metric ton, per lb or per bushel for Agriculture"}}
                                                                                                                                                                                                                    
                                                                                                    

Currency Conversion Tool - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6701/currency+conversion+tool?from=Required&to=Required&amount=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

World Indices Rates API timeseries 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.



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6702/time+series+endpoint
                                                                            
                                                                        

Time Series Endpoint - Características del Endpoint

Objeto Descripción
start_date [Requerido] The start date of your preferred timeframe. (The date limits per API request depends on the acquired plan)
end_date [Requerido] The end date of your preferred timeframe. (The date limits per API request depends on the acquired plan)
symbols [Requerido] Enter one currency or indices codes to limit the output.
base Opcional Enter the three-letter currency code or commodity code of your preferred base currency. Default USD.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"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":{}}}
                                                                                                                                                                                                                    
                                                                                                    

Time Series Endpoint - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6702/time+series+endpoint?start_date=Required&end_date=Required&symbols=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Using the World Indices Rates API fluctuation endpoint you will be able to retrieve information about how currencies fluctuate on a day-to-day basis (The date limits per API request depends on the acquired plan). To use this feature, simply append a start_date and end_date and choose the symbol you would like to query the API for.



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6703/fluctuation
                                                                            
                                                                        

Fluctuation - Características del Endpoint

Objeto Descripción
start_date [Requerido] The start date of your preferred timeframe. (The date limits per API request depends on the acquired plan).
end_date [Requerido] The end date of your preferred timeframe. (The date limits per API request depends on the acquired plan).
symbols [Requerido] Enter a list of comma-separated currency codes or indices codes to limit output symbols. (1 symbol per API request).
base Opcional Enter the three-letter currency code or commodity code of your preferred base currency. Default USD.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"fluctuation":true,"start_date":"2024-10-04","end_date":"2024-10-09","base":"USD","rates":{"NYA":{"start_rate":5.1579147169749e-5,"end_rate":5.115851003909e-5,"change":4.2063713065900143e-7,"change_pct":0.8155178085334915},"USD":{"start_rate":1,"end_rate":1,"change":0,"change_pct":0}},"unit":{}}}
                                                                                                                                                                                                                    
                                                                                                    

Fluctuation - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6703/fluctuation?start_date=Required&end_date=Required&symbols=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Requests the opening, high, low and closing (OHLC) prices for a specific currency on a specific day.

Example: GET /ohlc?symbol=USD&date=2023-09-01



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6708/open+-+high+-+low+-+close
                                                                            
                                                                        

Open - High - Low - Close - Características del Endpoint

Objeto Descripción
symbols [Requerido] Enter one symbol metal or currency to limit the output.
base [Requerido] Enter a metal symbol or currency.
date [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timestamp":1734181259,"date":"2024-10-04","base":"USD","symbol":"NYA","rates":{"open":5.1579147169749e-5,"high":5.1579147169749e-5,"low":5.1174375148086e-5,"close":5.1180530107459e-5}}
                                                                                                                                                                                                                    
                                                                                                    

Open - High - Low - Close - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6708/open+-+high+-+low+-+close?symbols=NYA&base=USD&date=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.



                                                                            
GET https://zylalabs.com/api/5230/world+indices+rates+api/6711/historical+rates
                                                                            
                                                                        

Historical Rates - Características del Endpoint

Objeto Descripción
base [Requerido] Enter the three-letter currency code or commodity code of your preferred base currency. Default USD.
symbols [Requerido] 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 [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"historical":true,"date":"2024-10-04","base":"usd","rates":{"NYA":5.1180530107459e-5,"USD":1},"unit":{}}}
                                                                                                                                                                                                                    
                                                                                                    

Historical Rates - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5230/world+indices+rates+api/6711/historical+rates?base=usd&symbols=NYA&date=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el World Indices Rates API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

World Indices Rates API FAQs

Provide a request URL with parameters such as currency or date range to receive exchange rate or time series data.

The World Indices Rates it is an API designed to provide real-time exchange rate data, daily fluctuations, time series and currency conversions.

It receives parameters such as currency, dates or quantities, and provides current, historical, currency conversion and fluctuation data in JSON format.

Real-time exchange rate monitoring for trading platforms. Analysis of daily fluctuations for financial market research. Conversion of amounts between currencies for international transactions.

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.

Each endpoint returns specific data types: the Supported Symbols endpoint lists available currencies and indices; the Latest Rates endpoint provides real-time exchange rates; the Currency Conversion Tool returns converted amounts; the Time Series and Fluctuation endpoints deliver historical rates and daily changes; the OHLC endpoint gives opening, high, low, and closing prices; and the Historical Rates endpoint retrieves past exchange rates for specified dates.

Key fields include "success" (indicating request success), "timestamp" (request time), "base" (base currency), "rates" (exchange rates for currencies), "start_rate" and "end_rate" (for fluctuations), and "open," "high," "low," "close" (for OHLC data). Each endpoint's response structure may vary, but these fields are commonly present.

Parameters vary by endpoint: the Currency Conversion Tool requires "from," "to," and "amount"; the Time Series and Fluctuation endpoints need "start_date," "end_date," and "symbol"; the OHLC endpoint requires "symbol" and "date." Users can customize requests by adjusting these parameters to retrieve specific data.

Response data is structured in JSON format, typically containing a "data" object with relevant fields. For example, the Latest Rates endpoint includes a "rates" object with currency values, while the Time Series endpoint organizes historical rates by date. This structure allows easy parsing and utilization of the data.

The World Indices Rates API aggregates data from over 10 trusted sources, ensuring a comprehensive and reliable dataset. These sources include financial institutions and market exchanges, which help maintain data accuracy and integrity for real-time and historical rates.

Each endpoint provides distinct information: Supported Symbols lists currencies and indices; Latest Rates offers current exchange rates; Currency Conversion Tool gives converted amounts; Time Series and Fluctuation endpoints provide historical data and daily changes; OHLC returns specific price metrics; and Historical Rates retrieves past exchange rates for given dates.

Users can analyze the returned data for various applications, such as tracking market trends, performing currency conversions, and conducting financial analysis. For instance, using the Time Series data, users can visualize historical trends, while the OHLC data can assist in technical analysis for trading strategies.

Typical use cases include real-time monitoring of currency exchange rates for trading, analyzing historical trends for investment decisions, converting currencies for international transactions, and assessing daily fluctuations for market research. Each use case leverages specific endpoints to gather relevant data.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.


APIs Relacionadas


También te puede interesar