Commodity historical prices
Metals, energy and softs at one minute, as SWFX CFD bid quotes that track the underlying market, not exchange prices. Volume is quoted size. A second feed adds Brent and WTI at one second from 2010, with no volume.
17symbols
1sfinest bar, stored as 1s, 1m, 1h
2003-05-05first bar
2026-11-24newest bar
185Mbars served
Any coarser bar size that divides one stored (1s, 1m, 1h) is built on read: ask for 5m, 1d or 1w and the API resamples. Formats: jsonl, json, csv, parquet, arrow andmbt1. Bars cost the same in every format, from $5 per million bars, and bought bars never expire (pricing).
Get it
The newest 100 daily bars, free, no key:
curl "https://getmarkethistory.com/api/v1/bars/commodities/global/BCOUSD/1d"
The full range, with a key from the dashboard:
curl -sD - "https://getmarkethistory.com/query/v1/bars/commodities/global/BCOUSD/1m" \ -H "Authorization: Bearer $MARKET_HISTORY_KEY"
Chart it in the explorerQuickstartNotes on this dataset
Symbols
| Symbol | First bar | Newest bar |
|---|---|---|
| BCOUSD | 2010-11-15 | 2026-09-30 |
| BRENT.CMD | 2010-12-02 | 2026-11-24 |
| COCOA.CMD | 2017-10-20 | 2026-11-24 |
| COFFEE.CMD | 2017-12-04 | 2026-11-24 |
| COPPER.CMD | 2012-03-04 | 2026-11-24 |
| COTTON.CMD | 2017-10-20 | 2026-11-24 |
| DIESEL.CMD | 2017-10-20 | 2026-11-24 |
| GAS.CMD | 2012-09-02 | 2026-11-24 |
| LIGHT.CMD | 2011-09-23 | 2026-11-24 |
| OJUICE.CMD | 2017-10-20 | 2026-11-24 |
| SOYBEAN.CMD | 2017-12-01 | 2026-11-24 |
| SUGAR.CMD | 2017-10-02 | 2026-11-24 |
| WTIUSD | 2010-11-15 | 2026-09-30 |
| XAGUSD | 2003-08-08 | 2026-11-24 |
| XAUUSD | 2003-05-05 | 2026-11-24 |
| XPD.CMD | 2021-07-04 | 2026-11-24 |
| XPT.CMD | 2021-11-01 | 2026-11-24 |