Commodities

5 endpoints match this tag.

All Commodities

GET
/commodities

Get the latest spot prices for 7 major commodities: gold, silver, platinum, palladium, crude oil, natural gas, and copper. Prices are in USD by default but can be converted to any of the 30 supported currencies. Useful for commodity trading dashboards, investment portfolio trackers, and economic analysis tools that need to monitor raw material prices alongside currencies.

Finance & Currency

Commodity History

GET
/commodities/:commodity/history

Retrieve historical daily prices for any commodity over a custom date range. Returns an array of date-price pairs in USD. Useful for charting commodity price trends, performing technical analysis on gold or oil, backtesting commodity trading strategies, and building historical comparison tools that show how commodity prices moved during specific economic events.

Finance & Currency

Commodity Price

GET
/commodities/:commodity

Get the current price for a specific commodity (gold, silver, platinum, palladium, oil, natural_gas, or copper) in any of the 30 supported currencies. Returns both the USD base price and the converted price. Useful when you need just one commodity's price rather than the full list, such as displaying the gold price in NOK on a Nordic investment page.

Finance & Currency

Historical Metal Price

GET
/metals/historical/:metal/:date

Look up the price of a specific precious metal (gold, silver, platinum, or palladium) on any past date. Provide the metal name and date in the URL path. Returns the USD price for that date. Useful for historical portfolio valuation, insurance appraisals, academic research on metal price trends, and comparing metal performance against other assets over time.

Finance & Currency

Precious Metals Prices

GET
/metals/prices

Get current spot prices for gold, silver, platinum, and palladium in any of the 30 supported currencies. Returns per-troy-ounce prices for each metal. Ideal for investment tracking apps, jewelry pricing calculators, and financial dashboards that need precious metals alongside currency data. Prices are updated daily and can be displayed in local currencies like NOK or SEK for Nordic users.

Finance & Currency