cURL
curl --request GET \ --url https://api.sectors.app/v2/commodities/{commodity_name}/price/ \ --header 'Authorization: <authorization>'
{ "commodity_name": "Coal", "price_history": [ { "2023-01-01": "305.21" }, { "2023-02-01": "277.05" } ] }
Retrieves historical price data for a commodity within a specified date range. The maximum allowed date range is 1 year (365 days).
Coal
YYYY-MM-DD
Show Commodity Price properties