DocumentationCommodities
Commodities
Spot prices for metals and energy, and official price series from public institutions. Every successful request counts against your plan. See the commodities data page for what is covered.
List the spot commodities
GET/v1/commodities/spot
- categoryquery, optional
- Only this category. One of metals, energy.
curl "https://api.dino.markets/v1/commodities/spot" \ -H "Authorization: Bearer $DINO_API_KEY"
Latest spot price
GET/v1/commodities/spot/{commodity}/{currency}
- commoditypath, required
- Commodity code, for example XAU.
- currencypath, required
- Three-letter currency code, for example USD.
curl "https://api.dino.markets/v1/commodities/spot/XAU/USD" \ -H "Authorization: Bearer $DINO_API_KEY"
Spot price history as bars
GET/v1/commodities/spot/{commodity}/{currency}/bars
- commoditypath, required
- Commodity code, for example XAU.
- currencypath, required
- Three-letter currency code, for example USD.
- startquery, required
- First date or time of the range, inclusive.
- endquery, required
- Last date or time of the range.
- intervalquery, optional
- Bar size. One of 1m, 5m, 15m, 1h, 4h, 1d. Default 1d.
- limitquery, optional
- Number of results per page. Default 100. 1 to 500.
- cursorquery, optional
- The next_cursor of the previous page, with the same other parameters.
curl "https://api.dino.markets/v1/commodities/spot/XAU/USD/bars?interval=1d&start=2026-01-01T00:00:00Z&end=2026-01-31T00:00:00Z" \ -H "Authorization: Bearer $DINO_API_KEY"
Find an official price series
GET/v1/commodities/physical/series
- commodityquery, optional
- Commodity code, for example XAU.
- categoryquery, optional
- Only this category. One of metals, energy, grains, oils-oilseeds, softs, livestock-dairy, forestry, fertilizers, emissions.
- countryquery, optional
- Three-letter country code, for example USA.
- price_typequery, optional
- Only this price definition. One of government_reference, official_buy, official_sell, official_reference_rate, retail_buy, retail_sell, retail_average, wholesale_average, farmgate_average, market_average, export_unit_value, import_unit_value, auction_clearing, regulated_average, international_benchmark.
- currencyquery, optional
- Three-letter currency code, for example USD.
- limitquery, optional
- Number of results per page. Default 100. 1 to 500.
- cursorquery, optional
- The next_cursor of the previous page, with the same other parameters.
curl "https://api.dino.markets/v1/commodities/physical/series" \ -H "Authorization: Bearer $DINO_API_KEY"
Definition of one official price series
GET/v1/commodities/physical/series/{series_id}
- series_idpath, required
- Series id, as returned by the discovery call.
curl "https://api.dino.markets/v1/commodities/physical/series/energy-eia-brent-spot" \ -H "Authorization: Bearer $DINO_API_KEY"
Latest value of one official price series
GET/v1/commodities/physical/series/{series_id}/latest
- series_idpath, required
- Series id, as returned by the discovery call.
curl "https://api.dino.markets/v1/commodities/physical/series/energy-eia-brent-spot/latest" \ -H "Authorization: Bearer $DINO_API_KEY"
Values of one official price series over time
GET/v1/commodities/physical/series/{series_id}/observations
- series_idpath, required
- Series id, as returned by the discovery call.
- startquery, optional
- First date or time of the range, inclusive.
- endquery, optional
- Last date or time of the range.
- limitquery, optional
- Number of results per page. Default 100. 1 to 500.
- cursorquery, optional
- The next_cursor of the previous page, with the same other parameters.
curl "https://api.dino.markets/v1/commodities/physical/series/energy-eia-brent-spot/observations" \ -H "Authorization: Bearer $DINO_API_KEY"
Start with a free key
3,000 requests a month, no card needed.