Commodity Price API for Developers in Finance
Tags: commodity, commoditypricedata, api, financialdata
Published: 2022-11-27 12:21:33

With comprehensive coverage of all internationally traded commodities, including **metals, energy, livestock, and agriculture**, Finnworld's Commodity [Price API](https://finnworlds.com/commodity-prices-api/) is now available. You may now use the Commodity Price API to show your clients **historical and real-time commodity pricing data** with powerful finance projects you build.

--------

### What's Included in the Commodity Prices API?

**Metal Price API:** With commodities like gold, silver, copper, platinum, steel, palladium, iron, and others being among the most widely traded commodities worldwide, metal price data is pretty much always in the spotlight. The Metal Prices API is a useful tool for following **metal price changes and developing metal price predictions powered by data** with historical data on metal prices for the previous 13 years.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kvp0lypdd2sddq56zzov.jpg)

**Industrial Prices API:** This API offers **industrial commodity price data for 24 main materials** including cobalt, polyethylene, tellurium, gallium, soda ash, and zinc, aluminum, tin, lead, nickel, and palladium. For the industrial price data, the historical availability is up to 15 years.

**Energy Prices API:** Given the continual price swings in the energy sector, **real-time and historical energy commodity price data** is crucial for developers creating solutions for the financial sector. All significant energy commodities, including coal, crude oil, natural gas, brent, uranium, and many more are covered by Finnworld's Energy Price API.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5df54uevoxmluiwlvnuw.jpg)

**Agricultural Prices API:** For forecasting purposes and more, you can use the agricultural commodity price API to display **basic agricultural commodity prices on your applications**. The data also allows tracking the price changes over time. Build large platforms on agricultural price data by displaying correct pricing information on cocoa, tea, coffee, milk, palm oil, wool, lumber, rubber, and many other commodities.

**Livestock Prices API:** Livestock Prices API by Finnworlds provides up-to-date and historical livestock price data for **all eight major livestock products**, including beef, salmon, lean pigs, chicken, feeder cattle, eggs from the US, Canada, and CH, and live cattle. Up to 20 years of historical livestock price data are covered by the API. The API is a useful tool for creating projects that let your clients follow changes in livestock market prices.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/233cnozvfcz3i7a0jutl.jpg)

-------

### Developer Highlights for the Commodity Price Data

Check out an example output from the Commodity Prices API tto visualize the data better:

```
https://api.finnworlds.com/api/v1/commodities
    ?key=API-key
        &category=energy
{
    "status": {
        "code": 200,
        "message": "OK",
        "details": ""
    },
    "result": {
        "output": [
            {
                "category": "energy",
                "commodity_name": "brent",
                "commodity_unit": "usd/bbl",
                "commodity_price": "90.398",
                "price_change_day": "1.222",
                "percentage_day": "-1.33%",
                "percentage_week": "-4.13%",
                "percentage_month": "-0.29%",
                "percentage_year": "6.25%",
                "quarter4_22": "104.512",
                "quarter1_23": "105.802",
                "quarter2_23": "95.713",
                "quarter3_23": "99.325",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "coal",
                "commodity_unit": "usd/t",
                "commodity_price": "392.15",
                "price_change_day": "0.35",
                "percentage_day": "-0.09%",
                "percentage_week": "1.46%",
                "percentage_month": "-10.68%",
                "percentage_year": "63.84%",
                "quarter4_22": "462.47",
                "quarter1_23": "500.994",
                "quarter2_23": "419.46",
                "quarter3_23": "446.338",
                "date": "2022:10:17"
            },
            {
                "category": "energy",
                "commodity_name": "crude oil",
                "commodity_unit": "usd/bbl",
                "commodity_price": "83.585",
                "price_change_day": "1.876",
                "percentage_day": "-2.19%",
                "percentage_week": "-6.45%",
                "percentage_month": "-2.08%",
                "percentage_year": "2.56%",
                "quarter4_22": "98.313",
                "quarter1_23": "98.617",
                "quarter2_23": "90.471",
                "quarter3_23": "93.342",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "ethanol",
                "commodity_unit": "usd/gal",
                "commodity_price": "2.415",
                "price_change_day": "0.0100",
                "percentage_day": "-0.41%",
                "percentage_week": "-0.82%",
                "percentage_month": "-1.83%",
                "percentage_year": "-2.42%",
                "quarter4_22": "2.743",
                "quarter1_23": "2.764",
                "quarter2_23": "2.553",
                "quarter3_23": "2.608",
                "date": "2022:10:17"
            },
            {
                "category": "energy",
                "commodity_name": "gasoline",
                "commodity_unit": "usd/gal",
                "commodity_price": "2.558",
                "price_change_day": "0.0351",
                "percentage_day": "-1.35%",
                "percentage_week": "-2.64%",
                "percentage_month": "5.92%",
                "percentage_year": "3.33%",
                "quarter4_22": "2.956",
                "quarter1_23": "3.102",
                "quarter2_23": "2.696",
                "quarter3_23": "2.815",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "heating oil",
                "commodity_unit": "usd/gal",
                "commodity_price": "4.018",
                "price_change_day": "0.0672",
                "percentage_day": "-1.64%",
                "percentage_week": "2.22%",
                "percentage_month": "23.30%",
                "percentage_year": "57.46%",
                "quarter4_22": "4.558",
                "quarter1_23": "4.7",
                "quarter2_23": "4.228",
                "quarter3_23": "4.33",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "methanol",
                "commodity_unit": "cny/t",
                "commodity_price": "2778",
                "price_change_day": "17.00",
                "percentage_day": "-0.61%",
                "percentage_week": "-1.80%",
                "percentage_month": "1.02%",
                "percentage_year": "-26.06%",
                "quarter4_22": "3045.201",
                "quarter1_23": "3070.945",
                "quarter2_23": "2949.509",
                "quarter3_23": "2968.053",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "natural gas",
                "commodity_unit": "usd/mmbtu",
                "commodity_price": "5.7304",
                "price_change_day": "0.2686",
                "percentage_day": "-4.48%",
                "percentage_week": "-13.12%",
                "percentage_month": "-26.57%",
                "percentage_year": "12.63%",
                "quarter4_22": "7.829",
                "quarter1_23": "8.125",
                "quarter2_23": "6.77",
                "quarter3_23": "7.369",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "propane",
                "commodity_unit": "usd/gal",
                "commodity_price": "0.83",
                "price_change_day": "0.00",
                "percentage_day": "-0.14%",
                "percentage_week": "-5.82%",
                "percentage_month": "-19.86%",
                "percentage_year": "-43.75%",
                "quarter4_22": "0.904",
                "quarter1_23": "0.929",
                "quarter2_23": "0.851",
                "quarter3_23": "0.889",
                "date": "2022:10:17"
            },
            {
                "category": "energy",
                "commodity_name": "uk gas",
                "commodity_unit": "gbp/thm",
                "commodity_price": "191",
                "price_change_day": "41.2500",
                "percentage_day": "-17.76%",
                "percentage_week": "-33.26%",
                "percentage_month": "-32.37%",
                "percentage_year": "-15.45%",
                "quarter4_22": "396.232",
                "quarter1_23": "460.053",
                "quarter2_23": "293.985",
                "quarter3_23": "341.386",
                "date": "2022:10:18"
            },
            {
                "category": "energy",
                "commodity_name": "uranium",
                "commodity_unit": "usd/lbs",
                "commodity_price": "51",
                "price_change_day": "0.4000",
                "percentage_day": "0.79%",
                "percentage_week": "4.51%",
                "percentage_month": "4.62%",
                "percentage_year": "6.03%",
                "quarter4_22": "54.748",
                "quarter1_23": "55.786",
                "quarter2_23": "52.207",
                "quarter3_23": "52.508",
                "date": "2022:10:17"
            }
        ]
    }
}
```
For the full documentation, make sure to visit our website:
{% embed https://finnworlds.com/documentation/ %}

Use any popular programming language you prefer, including Javascript, C#, Python, Go, Ruby R, Strest, Rust, PHP, NodeJS, JQuery, Angular, Java, VueJS, Swift, and Scala, to integrate the Commodity Price API into any project. The API allows you to request commodity price data in **JSON, CSV, or XML** formats. PDF and e-mail links are also available.

------

### Get Started With the Commodity Price API Today

You can get an [API key](https://finnworlds.com/pricing/) to access our website's data on commodity prices very easily. Your fully active key will be delivered to your email right away. You will also get access to a variety of **other financial data**, such as analyst rankings, analyst consensus, bond rates, stock index, and more, in addition to the data on commodity prices. Just something to think about if you work as a developer in the financial sector :)

Have any inquiries? Please **contact us** using the form below, and we will respond. We look forward to hearing from you!

{% embed https://finnworlds.com/contact/ %}