Live and Historical Commodities Rates API

The Live and Historical Commodities Rates API provides real-time and historical data for global commodity prices. The API covers a wide range of commodities, including precious metals, energy, agricultural products, and more. It's easy to use and integrate with any application.

About the API:

Our Live and Historical Commodities Rates API provides real-time and historical data for global commodity prices. The API covers a wide range of commodities, including precious metals, energy, agricultural products, and more. This makes it a valuable tool for businesses and individuals in the commodity trading and investing space.

The API is designed to be easy to use, making it accessible to developers of all skill levels. It can be easily integrated with any application, such as a website, mobile app, or server-side application, via a simple API call. The API also supports multiple programming languages, allowing you to choose the one that best suits your needs.

The API provides real-time data on commodity prices, which is essential for businesses and investors that need to make quick decisions based on market conditions. The API also provides historical data, which can be used for analysis, research, and backtesting of trading strategies.

This API is perfect for businesses that operate in the commodity trading and investing space, such as commodity traders, investment firms, financial institutions, and research organizations. It can be used for a variety of purposes, such as risk management, price forecasting, and market analysis.

Overall, our Live and Historical Commodities Rates API is a powerful tool for businesses and individuals in the commodity trading and investing space. With real-time and historical data on a wide range of commodities, this API makes it easy to stay informed and make informed decisions based on market conditions.



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

This API will allow you to query for live and historical prices based on the commodity of your choice. Check our supported symbols and start making your queries. 

 

What are the most common uses cases of this API?

  1. Commodity trading: Use the API to access real-time and historical data on commodity prices to inform trading decisions and execute trades.

  2. Risk management: Use the API to access historical data on commodity prices to analyze market trends and identify potential risks, allowing for proactive risk management.

  3. Price forecasting: Use the API to access historical data on commodity prices to create models for forecasting future prices, which can be used for financial planning and investment decisions.

  4. Market analysis: Use the API to access real-time and historical data on commodity prices to analyze market conditions and identify opportunities for investment.

  5. Supply chain management: Use the API to access real-time and historical data on commodity prices to inform purchasing decisions and manage inventory.

  6. Research: Use the API to access historical data on commodity prices for academic research or business intelligence purpose.

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation

Endpoints


Check all the available symbols for your queries. This endpoint retrieves all the supported commodities and currencies as well. 



                                                                            
GET https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/30/supported+symbols
                                                                            
                                                                        

Supported Symbols - Endpoint Features

Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"ADA":"Cardano","AED":"United Arab Emirates Dirham","AFN":"Afghan Afghani","ALL":"Albanian Lek","ALU":"Aluminum","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","BCH":"Bitcoin Cash","BDT":"Bangladeshi Taka","BEEF":"Beef","BGN":"Bulgarian Lev","BHD":"Bahraini Dinar","BIF":"Burundian Franc","BL2c1":"Milling Wheat N2 Futures","BLKF":"Block Cheese Sep 23","BLKM23":"Block Cheese Jun 23","BLKN23":"Block Cheese Jul 23","BLKQ23":"Block Cheese Aug 23","BLKV23":"Block Cheese Oct 23","BLKZ23":"Block Cheese Dec 23","BMD":"Bermudian Dollar","BND":"Brunei Dollar","BO00":"Soybean Oil Continuous Contract","BOB":"Bolivian Boliviano","BOF24":"Soybean Oil Jan 2024","BOH24":"Soybean Oil Mar 2024","BOK24":"Soybean Oil May 2024","BON23":"Soybean Oil Jul 2023","BON24":"Soybean Oil Jul 2024","BOQ23":"Soybean Oil Aug 2023","BOQ24":"Soybean Oil Aug 2024","BOU23":"Soybean Oil Sep 2023","BOV23":"Soybean Oil Oct 2023","BOZ23":"Soybean Oil Dec 2023","BRENTOIL":"Brent Crude Oil","BRL":"Brazilian Real","BRN00":"Brent Crude Oil Continuous Contract","BSD":"Bahamian Dollar","BTC":"Bitcoin","BTN":"Bhutanese Ngultrum","BUTTER":"Butter","BWP":"Botswana Pula","BYN":"Belarusian Ruble","BYR":"Belarusian Ruble","BZD":"Belize Dollar","C1":"Corn Front Month","CAD":"Canadian Dollar","CANO":"Canola","CARDAMOM":"Cardamom","CDF":"Congolese Franc","CH24":"Corn Mar 2024","CH25":"Corn Mar 2025","CHF":"Swiss Franc","CK23":"Corn May 2023","CK24":"Corn May 2024","CK25":"Corn May 2025","CL1":"Crude Oil WTI (NYM $\/bbl) Front Month","CLF":"Unidad de Fomento","CLI00":"Cocoa Continuous Contract","CLIH24":"Cocoa Mar 2024","CLIH25":"Cocoa Mar 2025","CLIK24":"Cocoa May 2024","CLIK25":"Cocoa May 2025","CLIN24":"Cocoa Jul 2024","CLIN25":"Cocoa Jul 2025","CLIU23":"Cocoa Sep 2023","CLIU24":"Cocoa Sep 2024","CLIZ23":"Cocoa Dec 2023","CLIZ24":"Cocoa Dec 2024","CLP":"Chilean Peso","CN23":"Corn Jul 23","CN24":"Corn Jul 2024","CNH":"Chinese Renminbi Yuan Offshore","CNY":"Chinese Renminbi Yuan","COAL":"Coal","COAL-NCF":"Newcastle Coal Futures","COCOA":"Cocoa","COFFEE":"Arabica Coffee","COP":"Colombian Peso","CORN":"Corn","COTTON":"Cotton","CPO":"Crude Palm Oil","CRC":"Costa Rican Col\u00f3n","CSCF23":"Cheese Jan 23","CSCG23":"Cheese Feb 23","CSCU22":"Cheese","CSCV22":"Cheese Oct 22","CSCX22":"Cheese Nov 22","CSCZ22":"Cheese Dec 22","CU23":"Corn Sep 23","CU24":"Corn Sep 2024","CUC":"Cuban Convertible Peso","CVE":"Cape Verdean Escudo","CZ23":"Corn Dec 23","CZ24":"Corn Dec 2024","CZK":"Czech Koruna","D00":"Robusta Coffee Continuous Contract","DAF24":"Milk Jan 2024","DAG24":"Milk Feb 2024","DAH24":"Milk Mar 2024","DAJ24":"Milk Apr 2024","DAK24":"Milk May 2024","DAM24":"Milk Jun 2024","DAN24":"Milk (Class III) Jul 2024","DAQ24":"Milk (Class III) Aug 2024","DAV23":"Milk Oct 2023","DAX23":"Milk Nov 2023","DAZ23":"Milk Dec 2023","DE-EL":"Electricity Germany","DI_AMMON":"Di-ammonium Phosphate","DJF":"Djiboutian Franc","DK24":"Robusta Coffee May 2024","DKK":"Danish Krone","DLJ23":"Milk Apr '23","DLK23":"Milk May '23","DLM23":"Milk Jun '23","DLN23":"Milk Jul '23","DLQ23":"Milk Aug '23","DLU23":"Milk Sep '23","DLV22":"Milk Oct 22","DLX22":"Milk Nov 22","DN24":"Robusta Coffee Jul 2024","DOP":"Dominican Peso","DU24":"Robusta Coffee Sep 2024","DX24":"Robusta Coffee Nov 2024","DZD":"Algerian Dinar","EEK":"Estonian Kroon","EGGS-CH":"Eggs CH","EGGS-US":"Eggs US","EGP":"Egyptian Pound","ERN":"Eritrean Nakfa","ES-EL":"Electricity Spain","ETB":"Ethiopian Birr","ETH":"Ethereum","ETHANOL":"Ethanol","EU-NG":"Natural Gas Futures Europe","EUR":"Euro","FC00":"Feeder Cattle Continuous Contract","FCc1":"Feeder Cattle Futures - Aug 23","FCc2":"Feeder Cattle Futures - Sep 23","FCc3":"Feeder Cattle Futures - Oct 23","FCF24":"Feeder Cattle Jan 2024","FCH24":"Feeder Cattle Mar 2024","FCJ24":"Feeder Cattle Apr 2024","FCK24":"Feeder Cattle May 2024","FCM23":"Feeder Cattle May 23","FCQ24":"Feeder Cattle Aug 2024","FCU24":"Feeder Cattle Sep 2024","FCV23":"Feeder Cattle Oct 2023","FCX23":"Feeder Cattle Nov 2023","FJD":"Fijian Dollar","FKP":"Falkland Pound","FR-EL":"Electricity France","GBP":"British Pound","GDP":"German DIesel","GEL":"Georgian Lari","GF":"Feeder Cattle","GFU22":"Feeder Cattle","GGP":"Guernsey Pound","GHS":"Ghanaian Cedi","GIP":"Gibraltar Pound","GMD":"Gambian Dalasi","GNF":"Guinean Franc","GTQ":"Guatemalan Quetzal","GUARGUM":"Guar Gum","GUARSEED":"Guar Seed","GYD":"Guyanese Dollar","HKD":"Hong Kong Dollar","HNL":"Honduran Lempira","HOU22":"Heating Oil","HRK":"Croatian Kuna","HRN00":"HRC Steel Futures Continuous Contract","HTG":"Haitian Gourde","HUF":"Hungarian Forint","IDR":"Indonesian Rupiah","ILS":"Israeli New Sheqel","IMP":"Isle of Man Pound","INR":"Indian Rupee","IQD":"Iraqi Dinar","IRD":"Iridium (Troy Ounce)","ISK":"Icelandic Kr\u00f3na","IT-EL":"Electricity Italy","JEERA":"Jeera","JEP":"Jersey Pound","JMD":"Jamaican Dollar","JOD":"Jordanian Dinar","JPY":"Japanese Yen","KC00":"Arabica Coffee Continuous Contract","KCH23":"Arabica Coffee Mar 23","KCH24":"Arabica Coffee Mar 24","KCH25":"Arabica Coffee Mar 2025","KCK23":"Arabica Coffee May 23","KCK24":"Arabica Coffee May 24","KCK25":"Arabica Coffee May 2025","KCN22":"Arabica Coffee Jul 22","KCN23":"Arabica Coffee Jul 23","KCN24":"Arabica Coffee Jul 24","KCN25":"Arabica Coffee Jul 2025","KCU22":"Arabica Coffee Sep 22","KCU23":"Arabica Coffee Sep 23","KCU24":"Arabica Coffee Sep 2024","KCU25":"Arabica Coffee Sep 2025","KCZ22":"Arabica Coffee Dec 22","KCZ23":"Arabica Coffee Dec 23","KCZ24":"Arabica Coffee Dec 2024","KES":"Kenyan Shilling","KGS":"Kyrgyzstani Som","KHR":"Cambodian Riel","KMF":"Comorian Franc","KRAFT-PU":"Kraft Pulp","KRW":"South Korean Won","KWD":"Kuwaiti Dinar","KYD":"Cayman Islands Dollar","KZT":"Kazakhstani Tenge","LAK":"Lao Kip","LBP":"Lebanese Pound","LC00":"Live Cattle Continuous Contract","LCAT":"Live Cattle","LCc1":"Live Cattle Futures - Jun 23","LCc2":"Live Cattle Futures - Aug 23","LCc3":"Live Cattle Futures - Oct 23","LCG24":"Live Cattle Feb 2024","LCG25":"Live Cattle Feb 2025","LCJ24":"Live Cattle Apr 2024","LCJ25":"Live Cattle Apr 2025","LCM23":"Live Cattle Jun 2023","LCM24":"Live Cattle Jun 2024","LCO":"Cobalt (Troy Ounce)","LCQ23":"Live Cattle Aug 2023","LCQ24":"Live Cattle Aug 2024","LCV23":"Live Cattle Oct 2023","LCV24":"Live Cattle Oct 2024","LCZ23":"Live Cattle Dec 2023","LCZ24":"Live Cattle Dec 2024","LGOU22":"London Gas Oil","LHOG":"Lean Hog","LKR":"Sri Lankan Rupee","LRD":"Liberian Dollar","LSL":"Lesotho Loti","LTC":"Litecoin","LTL":"Lithuanian Litas","LUMBER":"Lumber","LVL":"Latvian Lats","LYD":"Libyan Dinar","MAD":"Moroccan Dirham","MAIZE":"Maize","MDL":"Moldovan Leu","MENTHA":"Mentha Oil","METHANOL":"Methanol","MGA":"Malagasy Ariary","MILK":"Milk","MKD":"Macedonian Denar","MMK":"Myanmar Kyat","MNT":"Mongolian T\u00f6gr\u00f6g","MOP":"Macanese Pataca","MRO":"Mauritanian Ouguiya","MTL":"Maltese Lira","MUR":"Mauritian Rupee","MVR":"Maldivian Rufiyaa","MWK":"Malawian Kwacha","MXN":"Mexican Peso","MYR":"Malaysian Ringgit","MZN":"Mozambican Metical","NAD":"Namibian Dollar","NAPHTHA":"Naphtha","NG":"Natural Gas","NG00":"Natural Gas Continuous Contract","NGN":"Nigerian Naira","NI":"Nickel","NIO":"Nicaraguan C\u00f3rdoba","NOK":"Norwegian Krone","NPR":"Nepalese Rupee","NZD":"New Zealand Dollar","OAT":"Oat","OATS":"Oats","OJU22":"Orange Juice","OMR":"Omani Rial","PAB":"Panamanian Balboa","PE":"Polyethylene","PEN":"Peruvian Sol","PGK":"Papua New Guinean Kina","PHP":"Philippine Peso","PKR":"Pakistani Rupee","PLN":"Polish Z\u0142oty","POTATOES":"Potatoes","POULTRY":"Poultry","PP":"POLYPROPYLENE","PRKK23":"Pork Cutout May 23","PRKM23":"Pork Cutout Jun 23","PRKQ23":"Pork Cutout Aug 23","PRKZ23":"Pork Cutout Dec 23","PROPANE":"Propane","PVC":"POLYVINYL","PYG":"Paraguayan Guaran\u00ed","QAR":"Qatari Riyal","RB00":"RBOB Gasoline Continuous Contract","RBF24":"RBOB Gasoline Jan 2024","RBG24":"RBOB Gasoline Feb 2024","RBH24":"RBOB Gasoline Mar 2024","RBJ24":"RBOB Gasoline Apr 2024","RBU22":"RBOB Gasoline","RBX23":"RBOB Gasoline Nov 2023","RBZ23":"RBOB Gasoline Dec 2023","RICE":"Rice","RMF23":"Robusta Coffee Jan 23","RMF24":"Robusta Coffee Jan 24","RMH23":"Robusta Coffee Mar 23","RMH24":"Robusta Coffee Mar 24","RMK23":"Robusta Coffee May 23","RMK24":"Robusta Coffee May 2024","RMN22":"Robusta Coffee Jul 22","RMN23":"Robusta Coffee Jul 23","RMN24":"Robusta Coffee Jul 2024","RMU22":"Robusta Coffee Sep 22","RMU23":"Robusta Coffee Sep 23","RMU24":"Robusta Coffee Sep 2024","RMX22":"Robusta Coffee Nov 22","RMX23":"Robusta Coffee Nov 23","RMX24":"Robusta Coffee Nov 2024","ROBUSTA":"Robusta Coffee","RON":"Romanian Leu","RRK23":"Rough Rice Sep 23","RSD":"Serbian Dinar","RUB":"Russian Ruble","RUBBER":"Rubber","RUTH":"Ruthenium","RWF":"Rwandan Franc","S1":"Soybeans Front Month","SALMON":"Salmon","SAR":"Saudi Riyal","SB1":"Sugar #11 (IFUS $\/lbs) Front Month","SBD":"Solomon Islands Dollar","SBH23":"Sugar Mar 23","SBH24":"Sugar No. 11 World Mar 2024","SBH25":"Sugar No. 11 World Mar 2025","SBK23":"Sugar May 23","SBK24":"Sugar No. 11 World May 2024","SBK25":"Sugar No. 11 World May 2025","SBN22":"Sugar Jul 22","SBN23":"Sugar No. 11 World Jul 23","SBN24":"Sugar No. 11 World Jul 2024","SBN25":"Sugar No. 11 World Jul 2025","SBV22":"Sugar Oct 22","SBV23":"Sugar No. 11 World Oct 23","SBV24":"Sugar No. 11 World Oct 2024","SBV25":"Sugar No. 11 World Oct 2025","SCR":"Seychellois Rupee","SEK":"Swedish Krona","SF24":"Soybeans Jan 2024","SGD":"Singapore Dollar","SH24":"Soybeans Mar 2024","SHP":"Saint Helenian Pound","SK24":"Soybeans May 2024","SLL":"Sierra Leonean Leone","SM00":"Soybean Meal Continuous Contract","SMF24":"Soybean Meal Jan 2024","SMH24":"Soybean Meal Mar 2024","SMK24":"Soybean Meal May 2024","SMN23":"Soybean Meal Jul 2023","SMN24":"Soybean Meal Jul 2024","SMQ23":"Soybean Meal Aug 2023","SMQ24":"Soybean Meal Aug 2024","SMU23":"Soybean Meal Sep 2023...
                                                                                                                                                                                                                    
                                                                                                    

Supported Symbols - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/30/supported+symbols' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Check the real-time exchange rate data updated every 60 seconds with this endpoint. 

 

Note: All the commodities rates you get need using ANY currency as a base currency (base parameter) need to be divided by 1
We return the values based on the base currency. For example, for 1 USD the return is a number like 0.00055307742 for Gold (XAU).
To get the gold rate per troy ounce in USD: 1/0.00055307742 = 1808.06 USD



                                                                            
GET https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/31/latest+rates
                                                                            
                                                                        

Latest Rates - Endpoint Features

Object Description
base [Required] Enter the three-letter currency code or commodity code of your preferred base currency. Check Symbols endpoint
symbols [Required] Enter a list of comma-separated currency codes or commodity codes to limit output codes. Check Symbols endpoint
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"timestamp":1721683320,"date":"2024-07-22","base":"USD","rates":{"PKO":0.00086540375412149,"RMU24":0.00020721094073767,"S1":0.00089425441538118,"SB1":0.054585152838428,"USD":1,"XRH":0.00021505376344086,"USDPKO":1155.5299999999938,"USDRMU24":4826.000000000023,"USDS1":1118.249999999995,"USDSB1":18.319999999999983,"USDXRH":4650.000000000005},"unit":{"XRH":"per ounce","PKO":"Per metric ton"}}}
                                                                                                                                                                                                                    
                                                                                                    

Latest Rates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/31/latest+rates?base=USD&symbols=COTTON' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Historical rates are available for most symbols all the way back to the year 2021. You can query the API for historical rates by appending a date (format YYYY-MM-DD) to the base URL.

Note: All the commodities rates you get need using ANY currency as a base currency (base parameter) need to be divided by 1
We return the values based on the base currency. For example, for 1 USD the return is a number like 0.00055307742 for Gold (XAU).
To get the gold rate per troy ounce in USD: 1/0.00055307742 = 1808.06 USD



                                                                            
GET https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/32/historical+rates
                                                                            
                                                                        

Historical Rates - Endpoint Features

Object Description
base [Required]
symbols [Required]
date [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"historical":true,"date":"2022-07-22","base":"USD","rates":{"COTTON":1.010101010101,"USD":1},"unit":{"COTTON":"per lb"}}}
                                                                                                                                                                                                                    
                                                                                                    

Historical Rates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/32/historical+rates?base=USD&symbols=COTTON&date=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

With this endpoint, you will be provided with daily historical rates between two dates of your choice. 

Note: This endpoint has a limitation of 365 days per range, and only can provide one symbol information per request.

All the commodities rates you get need using ANY currency as a base currency (base parameter) need to be divided by 1
We return the values based on the base currency. For example, for 1 USD the return is a number like 0.00055307742 for Gold (XAU).
To get the gold rate per troy ounce in USD: 1/0.00055307742 = 1808.06 USD



                                                                            
GET https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/33/time-series
                                                                            
                                                                        

Time-Series - Endpoint Features

Object Description
start_date [Optional] The start date of your preferred timeframe.
end_date [Optional] The end date of your preferred timeframe.
base [Optional] Enter the three-letter currency code or commodity code of your preferred base currency
symbols [Optional] Enter the three-letter currency code or commodity code of your preferred base currency
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":false,"error":{"code":501,"type":"invalid_timeframe","info":"No or an invalid timeframe has been specified."}}}
                                                                                                                                                                                                                    
                                                                                                    

Time-Series - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/33/time-series' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Using the fluctuation API endpoint, you will be able to retrieve information about how prices fluctuate from day to day.
This endpoint has a limitation of 365 days and only one symbol per request



                                                                            
GET https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/34/fluctuation
                                                                            
                                                                        

Fluctuation - Endpoint Features

Object Description
start_date [Optional] The start date of your preferred timeframe.
end_date [Optional] The end date of your preferred timeframe.
base [Optional] Enter the three-letter currency code or commodity code of your preferred base currency
symbols [Optional] Enter the three-letter currency code or commodity code of your preferred base currency
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":false,"error":{"code":501,"type":"invalid_timeframe","info":"You can't query fluctuation for more than one symbol, please use 'symbols' parameter and define one."}}}
                                                                                                                                                                                                                    
                                                                                                    

Fluctuation - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/34/fluctuation' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Allows you to query the API to get the open, high, low, and close price.
This endpoint has a limitation of one symbol per request.



                                                                            
GET https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/35/open+high+low+close+price
                                                                            
                                                                        

Open High Low Close Price - Endpoint Features

Object Description
base [Optional] Enter the three-letter currency code or commodity code of your preferred base currency
symbols [Optional] Enter the three-letter currency code or commodity code of your preferred base currency
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":false,"error":{"code":601,"type":"invalid_symbols_lowest_highest","info":"You can't query lowest\/highest for more than one symbol, please use 'symbols' parameter and define one."}}}
                                                                                                                                                                                                                    
                                                                                                    

Open High Low Close Price - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/7/live+and+historical+commodities+rates+api/35/open+high+low+close+price' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Live and Historical Commodities Rates API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The API covers a wide range of commodities, including precious metals, energy resources, agricultural products, and more. This comprehensive coverage allows businesses and individuals in the commodity trading and investing space to access real-time and historical data for various commodities.

The API is designed to be easy to use and can be integrated into applications, such as websites, mobile apps, or server-side applications, through a simple API call. It supports multiple programming languages, providing flexibility for developers.

Yes, the API provides real-time data on commodity prices. This real-time information is crucial for businesses and investors who need up-to-date data to make informed decisions based on market conditions.

Yes, the API provides historical data for commodities from the day is was added to the API. This historical data can be utilized for analysis, research, and backtesting of trading strategies. It enables businesses and individuals to gain insights into past market trends and make informed decisions.

The API is beneficial for businesses and individuals operating in the commodity trading and investing space, including commodity traders, investment firms, financial institutions, and research organizations. It can be used for purposes such as risk management, price forecasting, and market analysis, aiding in informed decision-making.

Yes, the API provides rates for future contracts. Check the available ones on the "Supported Symbols" endpoint.

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, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

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 3600, it means 3600 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 let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
298ms

Category:


Related APIs