Tasas de Índices Mundiales. API

La API de tasas de Índices Mundiales proporciona datos en tiempo real de precios y datos históricos para múltiples divisas, con funciones de conversión, fluctuación diaria y análisis de series temporales.

Acerca de la API: 

La API de Tasas de Índices Mundiales es una solución robusta que proporciona acceso a datos de tasas de cambio para precios de índices en tiempo real, impulsada por más de 10 fuentes de datos confiables. Esta API incluye una serie de puntos finales diseñados para satisfacer una variedad de necesidades, desde recuperar las últimas tasas de cambio para todas las monedas disponibles hasta convertir montos entre diferentes divisas. Con la capacidad de recuperar datos históricos desde agosto de 2021 y realizar consultas avanzadas, como series temporales y fluctuaciones diarias, la API facilita un análisis en profundidad de las tendencias del mercado. Los usuarios pueden aprovechar esta API para convertir montos entre monedas, extraer precios históricos y analizar cómo fluctúan los índices a lo largo del tiempo. Las características avanzadas permiten consultar precios de apertura, máximo, mínimo y cierre (OHLC) para monedas específicas. Dependiendo del plan de suscripción, las actualizaciones de tasas de cambio pueden ser tan frecuentes como cada 60 segundos. Con esta API, tanto los profesionales del mercado como los analistas financieros pueden acceder a una herramienta integral para optimizar sus estrategias de trading e inversión, facilitando el monitoreo preciso de las fluctuaciones de índices en tiempo real o históricamente.

Documentación de la API

Endpoints


Realiza una solicitud GET al endpoint para obtener una lista completa de todas las monedas y símbolos admitidos por la API.



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

Endpoint de Símbolos Soportados. - 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' 


    

Haga una solicitud al endpoint para obtener las últimas tasas de cambio en tiempo real para todas las monedas.

 



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

Últimas tarifas. - 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' 


    

Convierte una cantidad de una moneda a otra utilizando tasas de cambio en tiempo real. Proporciona los parámetros de la moneda base, la moneda objetivo y la cantidad a convertir.

 

Por ejemplo: /convert?from=USD&to=EUR&amount=100



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

Herramienta de Conversión de Monedas - 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' 


    

API de tasas de índices mundiales timeseries te permite consultar la API para tarifas históricas diarias entre dos fechas de tu elección. (Los límites de fecha por solicitud de API dependen del plan adquirido).

No puedes usar la fecha actual en el parámetro "end_date". Recomendamos usar un día anterior a la fecha actual para obtener una respuesta exitosa. Para obtener el último precio, tendrás que usar el último endpoint.



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

Endpoint de Series de Tiempo - 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' 


    

Utilizando el punto final de fluctuación de la API de Tasas de Índices Mundiales, podrás recuperar información sobre cómo fluctúan las monedas de un día para otro (Los límites de fecha por solicitud de API dependen del plan adquirido). Para usar esta función, simplemente añade una start_date y end_date y elige el símbolo que deseas consultar en la API.



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

Fluctuación - 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' 


    

Solicita los precios de apertura, máximo, mínimo y cierre (OHLC) para una moneda específica en un día específico.

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



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

Abierto - Alto - Bajo - Cerrar - 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' 


    

Recupera los tipos de cambio históricos para una moneda específica proporcionando una fecha en el formato AAAA-MM-DD.



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

Tarifas Históricas - 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 Tasas de Índices Mundiales. 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

Tasas de Índices Mundiales. API FAQs

Proporcione una URL de solicitud con parámetros como moneda o rango de fechas para recibir datos de tasa de cambio o series temporales.

Las Tarifas de Índices Mundiales es una API diseñada para proporcionar datos de tasas de cambio en tiempo real, fluctuaciones diarias, series temporales y conversiones de divisas.

Recibe parámetros como moneda, fechas o cantidades, y proporciona datos actuales, históricos, de conversión de moneda y fluctaciones en formato JSON.

Monitoreo del tipo de cambio en tiempo real para plataformas de trading. Análisis de las fluctuaciones diarias para la investigación del mercado financiero. Conversión de montos entre divisas para transacciones internacionales.

Además del número de llamadas a la API permitidas por mes, no hay otras limitaciones.

Hay diferentes planes que se adaptan a todos, incluido un período de prueba gratuito para una pequeña cantidad de solicitudes, pero su tarifa está limitada para evitar el abuso del servicio.

La API utiliza claves de API para la autenticación. Para acceder a la API, incluya su clave de API en el encabezado de la solicitud. La clave de API se proporciona al registrarse y debe mantenerse segura.

La API devuelve información detallada sobre la edad y el historial de un dominio, incluyendo años, meses y días desde su creación, así como las fechas de expiración y actualización.

Cada punto final devuelve tipos de datos específicos: el punto final de Símbolos Soportados enumera las monedas e índices disponibles; el punto final de Tarifas Más Recientes proporciona tasas de cambio en tiempo real; la Herramienta de Conversión de Moneda devuelve montos convertidos; los puntos finales de Series Temporales y Fluctuación entregan tasas históricas y cambios diarios; el punto final OHLC ofrece precios de apertura, máximo, mínimo y cierre; y el punto final de Tarifas Históricas recupera tasas de cambio pasadas para fechas específicas.

Los campos clave incluyen "success" (indicando el éxito de la solicitud), "timestamp" (tiempo de la solicitud), "base" (moneda base), "rates" (tasas de cambio para las monedas), "start_rate" y "end_rate" (para fluctuaciones), y "open," "high," "low," "close" (para datos OHLC). La estructura de respuesta de cada endpoint puede variar, pero estos campos suelen estar presentes.

Los parámetros varían según el punto final: la herramienta de conversión de divisas requiere "de", "a" y "cantidad"; los puntos finales de series temporales y fluctuaciones necesitan "fecha_inicio", "fecha_fin" y "símbolo"; el punto final OHLC requiere "símbolo" y "fecha". Los usuarios pueden personalizar las solicitudes ajustando estos parámetros para recuperar datos específicos.

Los datos de respuesta están estructurados en formato JSON, que suele contener un objeto "data" con campos relevantes. Por ejemplo, el punto final de Tarifas Más Recientes incluye un objeto "rates" con valores de moneda, mientras que el punto final de Series de Tiempo organiza las tarifas históricas por fecha. Esta estructura permite un fácil análisis y utilización de los datos.

La API de tasas de índices mundiales agrega datos de más de 10 fuentes confiables, lo que garantiza un conjunto de datos integral y confiable. Estas fuentes incluyen instituciones financieras y bolsas de valores, que ayudan a mantener la precisión e integridad de los datos para tasas en tiempo real y históricas.

Cada endpoint proporciona información distinta: Supported Symbols lista divisas e índices; Latest Rates ofrece las tasas de cambio actuales; Currency Conversion Tool proporciona montos convertidos; los endpoints de Time Series y Fluctuation ofrecen datos históricos y cambios diarios; OHLC devuelve métricas de precios específicas; y Historical Rates recupera tasas de cambio pasadas para fechas determinadas.

Los usuarios pueden analizar los datos devueltos para diversas aplicaciones, como seguir las tendencias del mercado, realizar conversiones de divisas y llevar a cabo análisis financieros. Por ejemplo, utilizando los datos de Series Temporales, los usuarios pueden visualizar tendencias históricas, mientras que los datos OHLC pueden ayudar en el análisis técnico para estrategias de trading.

Los casos de uso típicos incluyen el monitoreo en tiempo real de las tasas de cambio de divisas para el comercio, el análisis de tendencias históricas para decisiones de inversión, la conversión de divisas para transacciones internacionales y la evaluación de fluctuaciones diarias para la investigación de mercado. Cada caso de uso aprovecha puntos finales específicos para recopilar datos relevantes.

General FAQs

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.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1.000 requests per month, this header will display 1.000.

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 plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

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]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

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.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar