Oil price per litre and gallon
Convert Brent or WTI from dollars per barrel to litres and gallons.
Read the use case →Get gold, silver, platinum and palladium spot prices, plus WTI, Brent and copper reference prices derived from futures markets, not physical spot cargo prices.
curl "https://api.dino.markets/v1/commodities/spot/XAG/USD/bars?interval=1d&start=2026-11-08T00:00:00Z&end=2026-11-11T00:00:00Z" \ -H "Authorization: Bearer $DINO_API_KEY"
{ "symbol": "XAG-USD", "commodity_key": "silver", "currency": "USD", "unit": "troy_ounce", "unit_key": "troy_ounce", "bars": [ { "timestamp": "2026-11-09T00:00:00Z", "open": "51.6316", "high": "53.7172", "low": "51.6262", "close": "53.3988" }, { "timestamp": "2026-11-10T00:00:00Z", "open": "53.4274", "high": "53.6308", "low": "51.1431", "close": "51.5597" } ], "next_cursor": null }
/v1/commodities/spot/{commodity}/{currency}Get a spot price or a futures-based reference price.
commodityrequiredXAU, XAG, XPT, XPD, WTI (WTI crude oil), BRENT (Brent crude oil) or XCU (copper).
currencyrequiredThe quote currency in capitals. Gold has 31 currencies. The others are quoted in USD only.
symbolstringThe commodity and quote currency, such as XAU-USD.
currencystringThe quote currency.
unitstringtroy_ounce for precious metals, barrel for WTI and BRENT, and pound for XCU.
pricestringOne positive indicative price as a decimal string.
timestampdate-timeThe quote time in UTC.
stalebooleanWhether the quote is stale. A closed market never makes a quote stale.
/v1/commodities/spot/{commodity}/{currency}/barsOpen, high, low and close bars for gold, silver, platinum, palladium, copper, WTI and BRENT.
commodityrequiredXAU, XAG, XPT, XPD, WTI (WTI crude oil), BRENT (Brent crude oil) or XCU (copper).
currencyrequiredThe quote currency in capitals. Gold has 31 currencies. The others are quoted in USD only.
intervaloptional1m, 5m, 15m, 1h, 4h or 1d. The default is 1d.
startrequiredThe first bar, as a UTC time on an interval boundary. Inclusive.
endrequiredThe last bar, as a UTC time on an interval boundary. Exclusive.
limitoptionalBars per page. The default is 100 and the most is 500.
cursoroptionalReuse next_cursor from the previous page with the same query.
barsarrayClosed bars from oldest to newest, each with a timestamp and open, high, low and close as decimal strings. Gold in currencies other than USD has close only.
next_cursorstringThe cursor for the next page. Null when no bars remain.
Convert Brent or WTI from dollars per barrel to litres and gallons.
Read the use case →Send an alert when gold crosses your threshold.
Read the use case →Download daily gold price history to a CSV file.
Read the use case →Daily oil and gas prices, weekly US retail fuel prices and monthly commodity benchmarks, with units as published.
Explore the API →Current exchange rates, currency conversion and stored rate history.
Explore the API →Four monthly plans, from Free to $199 a month. A plan sets how far back you can read.
See pricing →The unit field is troy_ounce for precious metals, barrel for WTI and BRENT, and pound for XCU. A troy ounce is not an ordinary ounce.
Gold is quoted in 31 currencies; silver, platinum, palladium, WTI, BRENT and XCU in USD only. The coverage list shows every commodity and currency. An unknown commodity returns 404 commodity_not_supported; a known commodity with an unsupported currency returns 404 currency_not_supported.
It depends on your plan. Free reads the last 12 months, Starter 5 years, Basic 5 years and Pro the full history. The records themselves start earlier; each response reports its own start.
Keep the quote timestamp visible in your application. A stale quote must not be presented as a fresh market price. The daily 17:00 New York metals pause (21:00 UTC in summer, 22:00 UTC in winter) is not a market closure, and quotes during it can carry stale: true. A closed market never makes a quote stale: from Friday 17:00 to Sunday 17:00 New York time you get the last price with stale: false.
The Free plan reads the last 12 months of history. Paid plans start at $29 a month and reach further back.