Retrieves historical price data for a commodity by year range. Data is monthly (bi-weekly for recent Coal entries). Maximum range: 3 years.
API key passed directly in the Authorization header (without Bearer prefix).
The commodity name (e.g., Gold, Coal). Get valid names from the List Commodities endpoint.
Start year (e.g., 2022). Defaults to current year − 2.
End year inclusive (e.g., 2024). Defaults to current year. Maximum 3-year range from start_year.
List of monthly price records ordered by date ascending.