Historical Commodities Rates API

Historical Commodities Rates API

Historical Commodities Rates API provides access to historical data on commodity prices and exchange rates. It can be used to track changes in prices of resources and currencies over time, and to build applications that provide financial insights and forecasts.

API description

About the API:

The Historical Commodities Rates API is a powerful tool that provides access to a wealth of historical data on commodity prices and exchange rates. This data can be used to track changes in prices of resources and currencies over time, and to build applications that provide financial insights and forecasts. With this API, you can gain insights into how commodity prices and exchange rates have fluctuated over time, and use this information to inform investment decisions or business strategies.

The data provided by the Historical Commodities Rates API can be used for a variety of purposes, such as for financial analysis, investment research, and commodity trading. For example, financial analysts can use the data to identify trends and patterns in commodity prices and exchange rates and use this information to make predictions about future market conditions. Additionally, businesses that rely on commodities as a major part of their operations can use the data to track the prices of the resources they need and make informed decisions about buying and selling.

The API is easy to use and accessible to developers of all skill levels, allowing them to easily integrate the historical commodity data into their applications and systems. The API supports multiple programming languages, such as Java, Python, and C#, and is designed to be highly scalable, enabling it to handle large amounts of data and high levels of traffic.

In summary, the Historical Commodities Rates API is a valuable tool for anyone looking to gain insights into historical commodity prices and exchange rates. It provides access to a wealth of historical data, which can be used to track changes in prices of resources and currencies over time, inform investment decisions and business strategies, and support financial analysis and commodity trading.

 

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

Declare the date and the symbol from where you want to get the rates. 

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
 

 

What are the most common uses cases of this API?

  1. Investment research and analysis: Analyze historical data to identify trends and patterns in commodity prices and exchange rates and inform investment decisions.
  2. Commodity trading: Use historical data to track changes in prices of specific commodities and make informed buy/sell decisions.
  3. Financial forecasting: Use historical data to make predictions about future market conditions and inform financial planning and strategy.
  4. Business planning and strategy: Use historical data to track prices of resources that are critical to a business's operations and make informed decisions about procurement and inventory management.
  5. Risk management: Analyze historical data to identify potential risks and opportunities in commodity markets, and develop strategies to mitigate or capitalize on them.
  6. Academic research: Use historical data to study long-term trends in commodity markets and exchange rates, and to develop new theories and models in economics and finance.

 

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/1021/historical+commodities+rates+api/908/supported+symbols
                                                                            
                                                                        
Supported Symbols - Endpoint Features
Object Description

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/1021/historical+commodities+rates+api/910/historical+rates
                                                                            
                                                                        
Historical Rates - Endpoint Features
Object Description
base [Required]
symbols [Required]
date [Required]

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/1021/historical+commodities+rates+api/911/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

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 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
Custom quote

Need more? We offer unlimited API calls, Request Quote


Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. 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 with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

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.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

Service Level
75%
Response Time
382ms

API Provider: MV

Useful links:


Category:


Tags:


Related APIs