Skip to content

Finnworlds-Financial-data-API/Historical-Commodity-Prices-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Historical Commodity Prices API - Finnworlds

The Historical Commodity Prices API is a structured JSON data source for historical price data on most-traded commodities worldwide. It provides pricing data for commodities in metal, alloys, industrial, energy, livestock and agricultural commodities in daily and monthly intervals going back decades. With a single API call, you can get end-of-day or end-of-month commodity price data for specific time periods with unit.

The REST structure of the Historical Commodity Prices API simplifies integration and reduces resources spent on the data engineering part. The commodity price data is ideal for trading platforms, research tools, analytics dashboards, and portfolio monitoring systems.

The API is suitable for fintech developers, analysts, and enterprise applications that need access to reliable historical commodity data for analysis, backtesting, and reporting.

Common Use Cases

– Track historical prices and build commodity price charts
– Analyze trends and seasonal patterns in commodity markets
– Backtest trading and investment strategies
– Integrate historical pricing data into financial dashboards
– Compare commodity prices across timeframes and categories

API Features

  • Commodity Coverage – All commonly traded commodities worldwide
  • Price History – Daily, weekly, or monthly historical prices with intervals
  • Unit Information – Provides commodity units, e.g., USD/t.oz
  • Date Range Selection – Query specific periods for historical analysis and get extensive historical coverage (e.g., 1 year) in a single API call
  • REST API – Standard JSON responses for easy integration

Access today by getting your API key on the Finnworlds website.
Looking for academic or non-profit use? Send us an email to start the conversation.

How to access the data

  • JSON rest API
  • Excel CSV download
  • PDF reports
  • Email link

Documentation

Our historical commodity API documentation includes input parameters, output objects with descriptions. We also have SDKs for Javascript, JQuery, VueJS, Angular, JAVA, PHP, NodeJS, Python, Go, Ruby, C#, R, Strest, Rust, Swift and Scala.

Examples

https://api.finnworlds.com/api/v1/commoditieshistory?key=APIKEY&commodity_name=gold&frequency=day&date_from=2010-01-27&date_to=2010-02-02

{
    "status": {
        "code": 200,
        "message": "OK",
        "details": ""
    },
    "result": {
        "basics": {
            "frequency": "1day"
        },
        "output": [
            {
                "category": "metals",
                "commodity_name": "gold",
                "commodity_unit": "USD/t.oz",
                "commodity_prices": [
                    {
                        "commodity_price": "1114.8",
                        "date": "2010-02-02"
                    },
                    {
                        "commodity_price": "1106.95",
                        "date": "2010-02-01"
                    },
                    {
                        "commodity_price": "1081.05",
                        "date": "2010-01-29"
                    },
                    {
                        "commodity_price": "1085.9",
                        "date": "2010-01-28"
                    },
                    {
                        "commodity_price": "1086.35",
                        "date": "2010-01-27"
                    }
                ]
            }
        ]
    }
}

Customer Support

Need help, have questions? Get in touch with Support.

Legal

Use of the Finnworlds website, services like API and database are subject to the Finnworlds Terms & Conditions.

Releases

No releases published

Packages

No packages published