All APIs

Commodities API

Prices for spot metals and physical commodities, with native units and series definitions.

Sign-ups paused
Read the docs

First request

Get the gold price in US dollars

curl "https://api.dino.markets/v1/commodities/spot/XAU/USD" \
  -H "Authorization: Bearer $DINO_API_KEY"
Example response
{
  "symbol": "XAU-USD",
  "commodity_key": "gold",
  "price": "4037.468",
  "currency": "USD",
  "unit": "troy_ounce",
  "unit_key": "troy_ounce",
  "timestamp": "2026-11-11T13:47:00Z",
  "stale": false
}

Endpoints

Spot metals price API

GETGet a spot price/v1/commodities/spot/{commodity}/{currency}

Get a spot price or a futures-based reference price.

Parameters

  • commodityrequired

    XAU, XAG, XPT, XPD, WTI (WTI crude oil), BRENT (Brent crude oil) or XCU (copper).

  • currencyrequired

    The quote currency in capitals. Gold has 31 currencies. The others are quoted in USD only.

The quote

  • symbolstring

    The commodity and quote currency, such as XAU-USD.

  • currencystring

    The quote currency.

  • unitstring

    troy_ounce for precious metals, barrel for WTI and BRENT, and pound for XCU.

  • pricestring

    One positive indicative price as a decimal string.

  • timestampdate-time

    The quote time in UTC.

  • staleboolean

    Whether the quote is stale. A closed market never makes a quote stale.


Full reference
GETGet price bars/v1/commodities/spot/{commodity}/{currency}/bars

Open, high, low and close bars for gold, silver, platinum, palladium, copper, WTI and BRENT.

Parameters

  • commodityrequired

    XAU, XAG, XPT, XPD, WTI (WTI crude oil), BRENT (Brent crude oil) or XCU (copper).

  • currencyrequired

    The quote currency in capitals. Gold has 31 currencies. The others are quoted in USD only.

  • intervaloptional

    1m, 5m, 15m, 1h, 4h or 1d. The default is 1d.

  • startrequired

    The first bar, as a UTC time on an interval boundary. Inclusive.

  • endrequired

    The last bar, as a UTC time on an interval boundary. Exclusive.

  • limitoptional

    Bars per page. The default is 100 and the most is 500.

  • cursoroptional

    Reuse next_cursor from the previous page with the same query.

Response fields

  • barsarray

    Closed 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_cursorstring

    The cursor for the next page. Null when no bars remain.


Full reference

Physical commodity prices API

GETDiscover physical price series/v1/commodities/physical/series

Discover weekly US retail fuel prices, daily oil and gas spot prices, and monthly commodity benchmarks..

Parameters

  • commodityoptional

    Filter by commodity, such as gasoline, diesel, copper, urea, rice, crude-oil or coffee. Use the commodity value returned by discovery.

  • categoryoptional

    Covered categories are softs, oils-oilseeds, metals, grains, energy, fertilizers, forestry and livestock-dairy. Fuel series use energy.

  • countryoptional

    Use WLD for world benchmarks or EUU for the European Union. Covered country codes are USA, THA, JPN, AUS, ZAF, MYS, CMR, VNM, MEX, LKA, IND and KEN. US fuel uses USA.

  • price_typeoptional

    Fuel uses retail_average. Daily EIA spot and World Bank series use international_benchmark, except tobacco, which uses import_unit_value.

  • currencyoptional

    Filter by quote currency. Both sources currently use USD.

  • limitoptional

    Maximum items per page. Defaults to 100.

  • cursoroptional

    Use next_cursor from the previous page with the same filters and limit. Null means there are no more pages.

Response fields

  • seriesarray

    Series with commodity, product, country, area, price basis, currency, unit, frequency, attribution and coverage dates. An empty array means no series matches.

  • series[].series_idstring

    Stable ID returned by series discovery.

  • series[].currencystring

    Quote currency. Both US fuel and monthly benchmark series use USD.

  • series[].unit / series[].unit_quantitystrings

    Published unit and the quantity priced. Fuel uses us_gallon. Monthly benchmarks use metric_ton, kilogram, barrel, cubic_meter, troy_ounce, mmbtu, dry_metric_ton_unit or sheet. The quantity is 1 except for plywood, which uses USD per 100 sheets. Values are not converted.

  • series[].unit_keystring

    unit_key is the unit in one standard spelling, such as troy_ounce, barrel or tonne; unit keeps the source's wording. When a price is quoted in cents, price_scale is 0.01: multiply the price by it to get the amount in currency.

  • series[].attributionstring

    Keep the response attribution with the data. Source: U.S. Energy Information Administration. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0

  • series[].commodity / series[].category / series[].productstrings

    Commodity, category and product definition. Examples include gasoline / energy / regular-gasoline and copper / metals / copper. Discovery returns the values for each series.

  • series[].commodity_keystring

    commodity_key names the commodity the same way on spot and physical prices, such as gold or crude-oil. Crude oil also carries benchmark (wti, brent, urals or dubai), and futures carry exchange_mic, the exchange's standard code.

  • series[].areastring

    area gives the regional scope and is omitted for national series.

  • series[].countrystring

    WLD means a world benchmark. EUU means the European Union. Countries use ISO alpha-3 codes. US fuel uses USA for the national average.

  • series[].price_typestring

    Fuel uses retail_average. Daily EIA spot and monthly series use international_benchmark, except tobacco, which uses import_unit_value.

  • series[].basisstring

    The basis describes the price definition and is omitted when the source gives none.


Full reference
GETGet physical price series details/v1/commodities/physical/series/{series_id}

Read the definition, units and coverage of one weekly fuel or monthly benchmark series..

Parameters

  • series_idrequired

    Use a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.

Response fields

  • series_idstring

    Stable ID returned by series discovery.

  • currencystring

    Quote currency. Both US fuel and monthly benchmark series use USD.

  • unit / unit_quantitystrings

    Published unit and the quantity priced. Fuel uses us_gallon. Monthly benchmarks use metric_ton, kilogram, barrel, cubic_meter, troy_ounce, mmbtu, dry_metric_ton_unit or sheet. The quantity is 1 except for plywood, which uses USD per 100 sheets. Values are not converted.

  • unit_keystring

    unit_key is the unit in one standard spelling, such as troy_ounce, barrel or tonne; unit keeps the source's wording. When a price is quoted in cents, price_scale is 0.01: multiply the price by it to get the amount in currency.

  • attributionstring

    Keep the response attribution with the data. Source: U.S. Energy Information Administration. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0

  • commodity / category / productstrings

    Commodity, category and product definition. Examples include gasoline / energy / regular-gasoline and copper / metals / copper. Discovery returns the values for each series.

  • commodity_keystring

    commodity_key names the commodity the same way on spot and physical prices, such as gold or crude-oil. Crude oil also carries benchmark (wti, brent, urals or dubai), and futures carry exchange_mic, the exchange's standard code.

  • areastring

    area gives the regional scope and is omitted for national series.

  • countrystring

    WLD means a world benchmark. EUU means the European Union. Countries use ISO alpha-3 codes. US fuel uses USA for the national average.

  • price_typestring

    Fuel uses retail_average. Daily EIA spot and monthly series use international_benchmark, except tobacco, which uses import_unit_value.

  • basisstring

    The basis describes the price definition and is omitted when the source gives none.

  • frequencystring

    daily for EIA oil and gas spot prices, weekly for US fuel and monthly for World Bank benchmarks.


Full reference
GETGet the latest physical price/v1/commodities/physical/series/{series_id}/latest

Read the latest available weekly fuel or monthly benchmark price with its observation period..

Parameters

  • series_idrequired

    Use a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.

Response fields

  • series_idstring

    Stable ID returned by series discovery.

  • currencystring

    Quote currency. Both US fuel and monthly benchmark series use USD.

  • unit / unit_quantitystrings

    Published unit and the quantity priced. Fuel uses us_gallon. Monthly benchmarks use metric_ton, kilogram, barrel, cubic_meter, troy_ounce, mmbtu, dry_metric_ton_unit or sheet. The quantity is 1 except for plywood, which uses USD per 100 sheets. Values are not converted.

  • unit_keystring

    unit_key is the unit in one standard spelling, such as troy_ounce, barrel or tonne; unit keeps the source's wording. When a price is quoted in cents, price_scale is 0.01: multiply the price by it to get the amount in currency.

  • attributionstring

    Keep the response attribution with the data. Source: U.S. Energy Information Administration. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0

  • period_start / period_enddates

    Inclusive observation dates. Fuel uses the Monday survey date for both. A monthly observation spans the whole month, such as 2026-09-01 to 2026-09-30.

  • pricedecimal string

    Published price in the series currency per unit_quantity units. Read it with the series price type and basis.

  • published_ondate

    Publication date. Omitted when the source gives none.

  • revisioninteger

    Starts at 1 and increases when a later publication changes the value for that period.


Full reference
GETGet physical price history/v1/commodities/physical/series/{series_id}/observations

Read weekly fuel or monthly commodity price history with periods, published units and revisions..

Parameters

  • series_idrequired

    Use a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.

  • startoptional

    Inclusive start date. Supply start and end together, or omit both.

  • endoptional

    Exclusive end date, later than start. Observations overlapping the date window are returned.

  • limitoptional

    Maximum items per page. Defaults to 100.

  • cursoroptional

    Use next_cursor from the previous page with the same filters and limit. Null means there are no more pages.

Response fields

  • series_idstring

    Stable ID returned by series discovery.

  • currencystring

    Quote currency. Both US fuel and monthly benchmark series use USD.

  • unit / unit_quantitystrings

    Published unit and the quantity priced. Fuel uses us_gallon. Monthly benchmarks use metric_ton, kilogram, barrel, cubic_meter, troy_ounce, mmbtu, dry_metric_ton_unit or sheet. The quantity is 1 except for plywood, which uses USD per 100 sheets. Values are not converted.

  • unit_keystring

    unit_key is the unit in one standard spelling, such as troy_ounce, barrel or tonne; unit keeps the source's wording. When a price is quoted in cents, price_scale is 0.01: multiply the price by it to get the amount in currency.

  • attributionstring

    Keep the response attribution with the data. Source: U.S. Energy Information Administration. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0

  • observationsarray

    Observations ordered oldest first. Each contains period_start, period_end, a decimal-string price and revision. published_on is optional.

  • observations[].period_start / observations[].period_enddates

    Inclusive observation dates. Fuel uses the Monday survey date for both. A monthly observation spans the whole month, such as 2026-09-01 to 2026-09-30.

  • observations[].pricedecimal string

    Published price in the series currency per unit_quantity units. Read it with the series price type and basis.

  • observations[].published_ondate

    Publication date. Omitted when the source gives none.

  • observations[].revisioninteger

    Starts at 1 and increases when a later publication changes the value for that period.

  • next_cursorstring or null

    Opaque continuation token. Null marks the final page.


Full reference

Use cases

Oil price per litre and gallon

Convert Brent or WTI from dollars per barrel to litres and gallons.

Read the use case →

Coverage

Show all 60 commodities

Related APIs

Spot metals price API

Gold, silver, platinum and palladium spot prices, plus WTI, Brent and copper reference prices.

Explore the API →

Physical commodity prices API

Daily oil and gas prices, weekly US retail fuel prices and monthly commodity benchmarks, with units as published.

Explore the API →

Exchange rate API

Current exchange rates, currency conversion and stored rate history.

Explore the API →

Pricing

Four monthly plans, from Free to $199 a month. A plan sets how far back you can read.

See pricing →

FAQ

Which commodity API is live?

The live release covers spot metals and physical commodities. Futures are not public.

How far back can I read?

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.

What should I check before using the data?

Units, price types, geography, and effective periods remain attached to each admitted series. Futures products are not currently public.