Forex API

Access real-time exchange rates for 190+ currencies. Instant updates, minimal latency, and cost-effective solution for accurate currency conversions.

About the API:  

The Forex API bridges the gap between applications and the intricate world of global currencies. From bustling trading floors to digital payment gateways, this API serves as a centralized hub for retrieving real-time exchange rate data. By simply entering currency pairs and base currencies, users can access vital information such as exchange rates, conversion factors and historical data. This comprehensive data repository enables applications to seamlessly perform currency conversions, international transactions and cross-border financial operations.

One of the most outstanding features of the Forex API is its simple integration process. Users can effortlessly integrate exchange rate functionality into their applications, whether they are financial applications, e-commerce platforms, travel booking websites or budgeting tools. Intuitive API endpoints and structured response formats allow developers to quickly integrate exchange rate data, thus enhancing the user experience by providing accurate and transparent currency conversion services.

Accuracy is the foundation of financial services, and the API ensures accuracy by obtaining data from reliable financial markets and authoritative sources. With updates every 10 minutes, the API provides real-time exchange rate information that reflects the latest market fluctuations. This accuracy is critical for companies and institutions involved in international transactions, overseas investments and currency hedging, where even small discrepancies can have significant financial implications.

The API's unmatched low latency ensures fast data retrieval, even during periods of peak usage. With minimal latency, applications can provide users with instant exchange rate information, enabling timely decisions and smooth transactions. This low latency ensures that businesses and individuals can access up-to-the-minute data without any noticeable delay, contributing to a frictionless user experience.

Security is paramount when dealing with financial data, and the API prioritizes data protection. By employing robust encryption and security protocols, the API ensures that data transmissions between applications and the API are secure. This commitment to security is essential when handling sensitive financial information, preserving the integrity and confidentiality of user data.

The API's support for a wide range of programming languages and frameworks further extends its versatility. Users can seamlessly integrate the API into their existing technology stacks, regardless of their preferred programming language. In addition, the API's comprehensive documentation guides developers through endpoints, request formats and response structures, streamlining the integration process and reducing development time.

In conclusion, the Forex API stands as an essential solution for users, businesses and developers looking for accurate and timely exchange rate information. Its real-time updates, low latency, affordability and security features make it an indispensable tool for applications across the financial landscape. By providing real-time exchange rates for more than 190 currencies, the API enables companies to streamline transactions, optimize currency conversions and make informed financial decisions. As the global economy continues to evolve, the Forex API stands as a testament to technology's role in enabling smooth and efficient foreign exchange transactions.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. E-commerce platforms: E-commerce websites can integrate the API to provide real-time currency conversion for international customers, allowing them to view prices in their local currencies and make informed purchasing decisions.

  2. Financial applications: Personal finance and budgeting applications can use the API to calculate accurate currency conversions for expenses and income, providing users with a clear view of their financial situation.

  3. Travel booking websites: Travel platforms can display prices in users' preferred currencies using the API, simplifying the booking process and helping travelers plan their trips more efficiently.

  4. International payment gateways: Payment processors can integrate the API to show users the equivalent amount in their local currency during the payment process, reducing conversion confusion and improving transparency.

  5. Foreign exchange services: Foreign exchange platforms can use the API to provide customers with accurate real-time exchange rates for multiple currencies, facilitating seamless conversions.
     

Are there any limitations to your plans?

Besides the number of API calls per month, there are no other limitations. 

Documentación de la API

Endpoints


To use this endpoint all you have to do is run it and you will get the available currencies.



                                                                            
GET https://zylalabs.com/api/2446/forex+api/2401/currencies+available
                                                                            
                                                                        

Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"AED":"United Arab Emirates Dirham","AFN":"Afghan Afghani","ALL":"Albanian Lek","AMD":"Armenian Dram","ANG":"Netherlands Antillean Gulden","AOA":"Angolan Kwanza","ARS":"Argentine Peso","AUD":"Australian Dollar","AWG":"Aruban Florin","AZN":"Azerbaijani Manat","BAM":"Bosnia and Herzegovina Convertible Mark","BBD":"Barbadian Dollar","BDT":"Bangladeshi Taka","BGN":"Bulgarian Lev","BHD":"Bahraini Dinar","BIF":"Burundian Franc","BMD":"Bermudian Dollar","BND":"Brunei Dollar","BOB":"Bolivian Boliviano","BRL":"Brazilian Real","BSD":"Bahamian Dollar","BTN":"Bhutanese Ngultrum","BWP":"Botswana Pula","BYN":"Belarusian Ruble","BYR":"Belarusian Ruble","BZD":"Belize Dollar","CAD":"Canadian Dollar","CDF":"Congolese Franc","CHF":"Swiss Franc","CLF":"Unidad de Fomento","CLP":"Chilean Peso","CNH":"Chinese Renminbi Yuan Offshore","CNY":"Chinese Renminbi Yuan","COP":"Colombian Peso","CRC":"Costa Rican Colón","CUC":"Cuban Convertible Peso","CVE":"Cape Verdean Escudo","CZK":"Czech Koruna","DJF":"Djiboutian Franc","DKK":"Danish Krone","DOP":"Dominican Peso","DZD":"Algerian Dinar","EEK":"Estonian Kroon","EGP":"Egyptian Pound","ETB":"Ethiopian Birr","EUR":"Euro","FJD":"Fijian Dollar","FKP":"Falkland Pound","GBP":"British Pound","GEL":"Georgian Lari","GGP":"Guernsey Pound","GHS":"Ghanaian Cedi","GIP":"Gibraltar Pound","GMD":"Gambian Dalasi","GNF":"Guinean Franc","GTQ":"Guatemalan Quetzal","GYD":"Guyanese Dollar","HKD":"Hong Kong Dollar","HNL":"Honduran Lempira","HRK":"Croatian Kuna","HTG":"Haitian Gourde","HUF":"Hungarian Forint","IDR":"Indonesian Rupiah","ILS":"Israeli New Sheqel","IMP":"Isle of Man Pound","INR":"Indian Rupee","IQD":"Iraqi Dinar","ISK":"Icelandic Króna","JEP":"Jersey Pound","JMD":"Jamaican Dollar","JOD":"Jordanian Dinar","JPY":"Japanese Yen","KES":"Kenyan Shilling","KGS":"Kyrgyzstani Som","KHR":"Cambodian Riel","KMF":"Comorian Franc","KRW":"South Korean Won","KWD":"Kuwaiti Dinar","KYD":"Cayman Islands Dollar","KZT":"Kazakhstani Tenge","LAK":"Lao Kip","LBP":"Lebanese Pound","LKR":"Sri Lankan Rupee","LRD":"Liberian Dollar","LSL":"Lesotho Loti","LTL":"Lithuanian Litas","LVL":"Latvian Lats","LYD":"Libyan Dinar","MAD":"Moroccan Dirham","MDL":"Moldovan Leu","MGA":"Malagasy Ariary","MKD":"Macedonian Denar","MMK":"Myanmar Kyat","MNT":"Mongolian Tögrög","MOP":"Macanese Pataca","MRO":"Mauritanian Ouguiya","MUR":"Mauritian Rupee","MVR":"Maldivian Rufiyaa","MWK":"Malawian Kwacha","MXN":"Mexican Peso","MYR":"Malaysian Ringgit","MZN":"Mozambican Metical","NAD":"Namibian Dollar","NGN":"Nigerian Naira","NIO":"Nicaraguan Córdoba","NOK":"Norwegian Krone","NPR":"Nepalese Rupee","NZD":"New Zealand Dollar","OMR":"Omani Rial","PAB":"Panamanian Balboa","PEN":"Peruvian Sol","PGK":"Papua New Guinean Kina","PHP":"Philippine Peso","PKR":"Pakistani Rupee","PLN":"Polish Złoty","PYG":"Paraguayan Guaraní","QAR":"Qatari Riyal","RON":"Romanian Leu","RSD":"Serbian Dinar","RUB":"Russian Ruble","RWF":"Rwandan Franc","SAR":"Saudi Riyal","SBD":"Solomon Islands Dollar","SCR":"Seychellois Rupee","SDG":"Sudanese Pound","SEK":"Swedish Krona","SGD":"Singapore Dollar","SHP":"Saint Helenian Pound","SKK":"Slovak Koruna","SLL":"Sierra Leonean Leone","SOS":"Somali Shilling","SRD":"Surinamese Dollar","STD":"São Tomé and Príncipe Dobra","SVC":"Salvadoran Colón","SZL":"Swazi Lilangeni","THB":"Thai Baht","TJS":"Tajikistani Somoni","TMM":"Turkmenistani Manat","TMT":"Turkmenistani Manat","TND":"Tunisian Dinar","TOP":"Tongan Paʻanga","TRY":"Turkish Lira","TTD":"Trinidad and Tobago Dollar","TWD":"New Taiwan Dollar","TZS":"Tanzanian Shilling","UAH":"Ukrainian Hryvnia","UGX":"Ugandan Shilling","USD":"US Dollar","UYU":"Uruguayan Peso","UZS":"Uzbekistan Som","VEF":"Venezuelan Bolívar","VES":"Venezuelan Bolívar Soberano","VND":"Vietnamese Đồng","VUV":"Vanuatu Vatu","WST":"Samoan Tala","XAF":"Central African Cfa Franc","XAG":"Silver (Troy Ounce)","XAU":"Gold (Troy Ounce)","XCD":"East Caribbean Dollar","XOF":"West African Cfa Franc","XPD":"Palladium","XPF":"Cfp Franc","XPT":"Platinum","YER":"Yemeni Rial","ZAR":"South African Rand","ZMK":"Zambian Kwacha","ZMW":"Zambian Kwacha","ZWD":"Zimbabwean Dollar"}
                                                                                                                                                                                                                    
                                                                                                    

Currencies available - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/2446/forex+api/2401/currencies+available' --header 'Authorization: Bearer YOUR_API_KEY' 


    

To use this endpoint all you have to do is run the endpoint and you will get the USD based rates every 10 minutes.



                                                                            
GET https://zylalabs.com/api/2446/forex+api/2402/get+latest+rates
                                                                            
                                                                        

Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"bs":"USD","ts":1692112793,"rt":{"AED":3.673029999509945,"AFN":84.30969549999942,"ALL":95.67440390970364,"AMD":387.1775,"ANG":1.7961954819490071,"AOA":824.9990000000176,"ARS":350.0315216058202,"AWG":1.7999999999999998,"AZN":1.7,"BAM":1.7890169999999999,"BBD":2,"BDT":109.4613685,"BGN":1.789309995473115,"BHD":0.376868,"BIF":2836.021239499852,"BMD":1,"BND":1.3566394706626188,"BOB":6.922026333333333,"BRL":4.9776,"BSD":1,"BTN":83.310197,"BWP":13.620178999999997,"BYN":2.5243510000000002,"BYR":25243.500000003172,"BZD":2.016561798149524,"CAD":1.3480846348823752,"CDF":2465.5317923967455,"CHF":0.8769226666666667,"CLF":0.0311738,"CLP":861.6399999999812,"CNY":7.281384999007741,"COP":4085.0070058525243,"CRC":535.2535543333333,"CUC":1,"CVE":100.8612913632844,"CZK":22.04439679918709,"DJF":177.88872449999877,"DKK":6.815615462127442,"DOP":56.71551707211867,"DZD":135.8074325196597,"EGP":30.900249999999954,"ETB":55.17795,"EUR":0.9146957767426027,"FJD":2.25772,"FKP":0.7844559933265874,"GBP":0.7844559933265874,"GEL":2.613,"GHS":11.240204791078645,"GIP":0.7844559933265874,"GMD":60.63550000000006,"GNF":8598.362595501758,"GTQ":7.857764134270267,"GYD":210.34193550000055,"HKD":7.823227666666667,"HNL":24.659072864636872,"HRK":6.890127,"HTG":136.71751010496357,"HUF":353.8169249999971,"IDR":15317.462869909814,"ILS":3.738925,"INR":83.21931341785333,"IQD":1309.9200174999896,"ISK":131.79249615873363,"JMD":154.4763025710732,"JOD":0.7086,"JPY":145.33945833333334,"KES":143.90000000000012,"KGS":88.27,"KHR":4135.620496839363,"KMF":450.34258249999976,"KRW":1335.3862429999622,"KWD":0.3075466666666667,"KYD":0.8333674985717585,"KZT":452.103335,"LAK":19472.474945134974,"LBP":15005.852654,"LKR":321.1945180110905,"LRD":186.23599500000117,"LSL":19.17174782727688,"LYD":4.810083998084026,"MAD":9.891533,"MDL":17.52589743264452,"MGA":4519.704908665959,"MKD":56.37147449999986,"MMK":2100.890086572427,"MNT":3455.75,"MOP":8.058757383846084,"MRO":378.24799999999317,"MUR":45.34000000000005,"MVR":15.347,"MWK":1085.0100045,"MXN":17.11999152403187,"MYR":4.6358,"MZN":63.85250099999988,"NAD":19.4934,"NGN":760.5666666666667,"NIO":36.592501380985084,"NOK":10.491145000000001,"NPR":133.15578166666634,"NZD":1.6727823333333334,"OMR":0.3849864993759521,"PAB":1,"PEN":3.7067563333333333,"PGK":3.621943000000001,"PHP":56.70943158433902,"PKR":291.04616846467184,"PLN":4.095609046941842,"PYG":7260.0606379625615,"QAR":3.6463954999999997,"RON":4.517549707252826,"RSD":107.25066666666666,"RUB":97.913664,"RWF":1181.771347,"SAR":3.7506354975683447,"SBD":8.368074938907691,"SCR":13.374032489901593,"SDG":601.0000000000028,"SEK":10.829125642151041,"SHP":0.7844559933265874,"SKK":27.5598,"SLL":20341.488721620273,"SOS":569.5301649695298,"SRD":38.207,"STD":22348.200000003762,"SVC":8.750542966305062,"SZL":19.17686047120852,"THB":35.35899965355346,"TJS":10.9865679999068,"TMT":3.51,"TND":3.0893399973780804,"TOP":2.3813979812156596,"TRY":27.052933666666668,"TTD":6.778140499999999,"TWD":31.900200666666713,"TZS":2504.7614999375255,"UAH":36.93194502889865,"UGX":3728.3464812448265,"UYU":38.210172549411496,"UZS":12076.62301,"VES":30.529973333333373,"VND":23973.785722019908,"VUV":115.86380760969865,"WST":2.7381666867520478,"XAF":602.6868041358289,"XAG":0.0441969451439522,"XAU":0.0005240679911767,"XCD":2.70127439820085,"XOF":606.0330582180551,"XPD":0.0008024217536479,"XPF":109.144954,"XPT":0.001122695,"YER":250.29064879483252,"ZAR":19.150982426424612,"ZMK":5252.550000000104,"ZMW":19.39804660207686,"JEP":0.7844559933265874,"GGP":0.7844559933265874,"IMP":0.7844559933265874,"CNH":7.313219968495407,"EEK":14.313800000000008,"LTL":3.15868,"LVL":0.642937,"TMM":17549.99999998675,"ZWD":374.7999999999953,"VEF":3005210,"SGD":1.356389,"AUD":1.5424386666666667,"USD":1,"BTC":0.0000340712948659,"BCH":0.0042802722253135,"BSV":0.0280589330548149,"ETH":0.0005438255407665,"ETH2":0.0005438255407665,"ETC":0.0578536303153023,"LTC":0.0122782245687274,"ZRX":4.549538790505112,"USDC":1,"BAT":4.827303227052207,"LOOM":21.735690555136262,"MANA":2.77623542476402,"KNC":1.4814814814814814,"LINK":0.1373437714599643,"DNT":36.231884057971016,"MKR":0.0008124598847932,"CVC":11.7096018735363,"OMG":1.7808014009583426,"GNT":4.900223433846915,"DAI":1.000050002500125,"SNT":40.19292604501608,"ZEC":0.034106412005457,"XRP":1.596041816295587,"REP":0.706806681481744,"XLM":7.453647628808348,"EOS":1.4039028499227852,"XTZ":1.2845215157353886,"ALGO":8.853474988933156,"DASH":0.0318319274232055,"ATOM":0.1182941976696043,"OXT":15.174506828528072,"COMP":0.0183150183150183,"ENJ":3.4904013961605584,"REPV2":0.706806681481744,"BAND":0.8714596949891068,"NMR":0.0761324704986677,"CGLD":2.0429009193054135,"UMA":0.6234413965087282,"LRC":4.569339730408956,"YFI":0.0001628004278395,"UNI":0.1602692523439378,"BAL":0.2392344497607656,"REN":17.84121320249777,"WBTC":0.0000340011672601,"NU":13.608896897625842,"YFII":0.0016531511795735,"FIL":0.2487562189054726,"AAVE":0.0153574445212317,"BNT":2.154011847065159,"GRT":9.324009324009324,"SNX":0.4105933073290905,"STORJ":3.499562554680665,"SUSHI":1.2919896640826873,"MATIC":1.498576352465158,"SKL":36.69724770642202,"ADA":3.466204506065858,"ANKR":42.02563563773902,"CRV":1.7301038062283738,"ICP":0.2488490730372029,"NKN":9.950248756218906,"OGN":11.047892614483787,"1INCH":3.284072249589491,"USDT":1.0014771788387873,"FORTH":0.3430531732418525,"CTSI":6.527415143603133,"TRB":0.082135523613963,"POLY":7.410151908114116,"MIR":63.4436724293599,"RLC":0.8070373658300379,"DOT":0.2018978396931153,"SOL":0.0402657539762432,"DOGE":13.536379018612521,"MLN":0.0554785020804438,"GTC":0.8968609865470852,"AMP":421.05263157894734,"SHIB":96805.4211035818,"CHZ":13.422818791946309,"KEEP":8.730574471800244,"LPT":0.1446131597975416,"QNT":0.009897560251398,"BOND":0.3344481605351171,"RLY":120.17330363920149,"CLV":26.595744680851062,"FARM":0.040290088638195,"MASK":0.2902757619738752,"ANT":0.2361275088547816,"FET":4.710315591144607,"PAX":1.002104419280489,"ACH":58.83910446882999,"ASM":112.2334455667789,"PLA":5.23149359142035,"RAI":0.3669724770642202,"TRIBE":3.541515148423512,"ORN":1.4760147601476015,"IOTX":55.88153115395362,"UST":85.28784648187633,"QUICK":0.0200581686891987,"AXS":0.1728608470181504,"REQ":12.903225806451612,"WLUNA":13672.233543679968,"TRU":26.881720430107528,"RAD":0.6269592476489028,"COTI":21.141649048625794,"DDX":3.6609921288669227,"SUKU":22.49718785151856,"RGT":0.9459652829688963,"XYO":286.1230329041488,"ZEN":0.1196172248803828,"AST":9.930486593843098,"AUCTION":0.2076843198338525,"BUSD":1.0002230952872389,"JASMY":256.73940949935815,"WCFG":3.5650623885918002,"BTRST":3.552397868561279,"AGLD":1.6110842597067827,"AVAX":0.0815328169588259,"FX":6.891798759476223,"TRAC":4.399472063352397,"LCX":21.95389681668496,"ARPA":19.286403085824492,"BADGER":0.4106776180698152,"KRL":4.273504273504273,"PERP":1.9264110961279137,"RARI":0.9900990099009901,"DESO":0.110803324099723,"API3":0.8673026886383348,"NCT":101.16337885685383,"SHPING":406.00893219650834,"UPI":671.4925351312792,"CRO":17.71479185119575,"MTL":0.7680491551459293,"ABT":11.82033096926714,"CVX":0.3179144810046098,"AVT":1.075268817204301,"MDT":21.510002151000215,"VGX":6.418485237483954,"ALCX":0.0768344218209758,"COVAL":118.76484560570071,"FOX":46.2962962962963,"MUSD":1.0033702302166938,"CELR":71.27583749109051,"GALA":43.82960080709594,"POWR":6.297229219143577,"GYEN":145.03263234227703,"ALICE":1.0542962572482868,"INV":0.0284252416145537,"LQTY":1.0291771728503063,"PRO":3.0529690123645246,"SPELL":2142.2450728363324,"ENS":0.1124227093872962,"DIA":3.9744048328762767,"BLZ":11.641443538998836,"CTX":0.9478672985781991,"ERN":0.6269592476489028,"IDEX":18.85014137606032,"MCO2":0.9523809523809524,"POLS":3.2294526077829806,"SUPER":10.330578512396695,"UNFI":0.2272727272727273,"STX":1.7308524448290783,"KSM":0.0427807486631016,"GODS":5.032459362890645,"IMX":1.4023278642546626,"RBN":4.296732335059187,"BICO":3.9077764751856194,"GFI":2.596053997923157,"ATA":11.983223487118035,"GLM":4.90075961774075,"MPL":0.1949317738791423,"PLU":0.1367053998632946,"SWFTC":838.9261744966443,"SAND":2.576323586242432,"OCEAN":2.9295444558371173,"GNO":0.0091453655859893,"FIDA":4.776689754000477,"ORCA":1.0851283164234171,"CRPT":12.31527093596059,"QSP":96.57170449058425,"RNDR":0.5900053100477904,"NEST":108.99182561307902,"PRQ":11.82033096926714,"HOPR":21.85792349726776,"JUP":216.02937999567942,"MATH":12.970168612191959,"SYN":1.7953321364452424,"AIOZ":66.66666666666667,"WAMPL":0.326797385620915,"AERGO":9.182736455463727,"INDEX":0.8,"TONE":126.10340479192938,"HIGH":0.7674597083653109,"GUSD":1.0005002501250626,"FLOW":1.8348623853211008,"ROSE":21.01723413198823,"OP":0.6605019815059445,"APE":0.4940711462450593,"MINA":2.103049421661409,"MUSE":0.1959247648902821,"SYLO":748.502994011976,"CBETH":0.0005198464373624,"DREP":3.9331366764995086,"ELA":0.702000702000702,"FORT":7.855459544383346,"ALEPH":12.476606363069246,"DEXT":1.873711823121604,"FIS":3.451251078515962,"BIT":2.167786689789725,"GMT":4.948045522018803,"GST":81.70268393316721,"MEDIA":0.139178844815588,"C98":6.443298969072165,"ARB":0.8647526807333104,"T":43.271311120726956,"APT":0.1440922190201729,"AXL":2.59000259000259,"HBAR":13.84178835905599,"FLR":67.04659738518271,"SUI":1.7006802721088434,"PNG":41.849759363883656,"MULTI":0.6178560395427865,"OSMO":2.189141856392294,"WAXL":2.5869874531108525,"EUROC":0.9146620323790359,"DAR":9.66183574879227,"TIME":0.0607348921955664,"SPA":201.93861066235866,"MAGIC":1.3035260379326077,"AUDIO":5.313496280552604,"TVK":39.6589331746976,"XMON":0.0007472387885796,"INJ":0.1357404642323877,"GAL":0.8669267446900737,"LDO":0.550357732526142,"GHST":1.1068068622025458,"ILV":0.0197335964479526,"MXC":114.15525114155251,"LIT":1.4511681903932665,"PUNDIX":2.584981258885873,"PRIME":0.3183192742320548,"AURORA":14.705882352941176,"BOBA":7.555723460521345,"MONA":0.003019186932959,"POND":110.31439602868174,"NEAR":0.7530120481927711,"PYR":0.2891426919184618,"VOXEL":6.293266205160478,"RPL":0.0376151965394019,"ACS":375.4387940905934,"MSOL":0.035644270183568,"MNDE":20.77706212341575,"EGLD":0.03272...
                                                                                                                                                                                                                    
                                                                                                    

Get Latest Rates - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/2446/forex+api/2402/get+latest+rates' --header 'Authorization: Bearer YOUR_API_KEY' 


    

To use this endpoint you must indicate in the parameters 2 currencies to return the exchange rate updated every 10 minutes.



                                                                            
GET https://zylalabs.com/api/2446/forex+api/2403/get+latest+rate
                                                                            
                                                                        

Get Latest rate - Características del Endpoint

Objeto Descripción
from [Requerido]
to [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"ts":1692113393,"rt":1.092629}
                                                                                                                                                                                                                    
                                                                                                    

Get Latest rate - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/2446/forex+api/2403/get+latest+rate?from=EUR&to=USD' --header 'Authorization: Bearer YOUR_API_KEY' 


    

To use this endpoint you must indicate in the parameters 2 currencies together with an amount. Currencies are updated every 10 minutes.



                                                                            
GET https://zylalabs.com/api/2446/forex+api/2404/currency+conversion
                                                                            
                                                                        

Currency conversion - Características del Endpoint

Objeto Descripción
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"ts":1692113393,"vl":10.926292}
                                                                                                                                                                                                                    
                                                                                                    

Currency conversion - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/2446/forex+api/2404/currency+conversion' --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 Forex 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

Forex API FAQs

To use this API the user must indicate 2 currencies along with the amount to convert.

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 Forex API is a powerful tool that provides real-time exchange rate information for more than 190 currencies from around the world.

Each endpoint returns JSON data. The "Get Latest Rates" endpoint provides exchange rates for multiple currencies based on USD, while the "Get Latest Rate" and "Currency Conversion" endpoints return specific exchange rates or converted amounts based on user-defined parameters.

Key fields include "ts" (timestamp), "rt" (exchange rates), and "vl" (converted value). For example, in the "Get Latest Rates" response, "rt" contains currency codes as keys and their corresponding rates as values.

The response data is structured in a JSON format. Each response typically includes a timestamp and a nested object for exchange rates or conversion values, making it easy to parse and utilize in applications.

Parameters include currency codes for the "Get Latest Rate" and "Currency Conversion" endpoints, where users specify two currencies and an amount for conversion. Accepted values are standard ISO currency codes.

The "GET Currencies available" endpoint lists all supported currencies, while "Get Latest Rates" provides current exchange rates. "Get Latest Rate" returns the rate between two specified currencies, and "Currency Conversion" gives the converted amount based on user input.

Data accuracy is maintained by sourcing information from reliable financial markets and authoritative sources. Regular updates ensure that the exchange rates reflect the latest market conditions.

Typical use cases include e-commerce platforms displaying local prices, financial apps calculating expenses in different currencies, and travel sites showing costs in users' preferred currencies, enhancing user experience and decision-making.

Users can parse the JSON response to extract relevant information, such as current exchange rates or converted amounts. This data can be integrated into applications for real-time currency conversion, financial analysis, or transaction processing.

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