Prices in your currency
Convert a commodity price into your own currency with an exchange rate.
Read the use case →Historical gas prices since 1990 and diesel prices since 1994, weekly in USD per US gallon. Source: U.S. Energy Information Administration
curl "https://api.dino.markets/v1/commodities/physical/series/fuel-eia-usa-on-highway-diesel/latest" \ -H "Authorization: Bearer $DINO_API_KEY"
{ "period_start": "2026-11-09", "period_end": "2026-11-09", "price": "6.127", "revision": 1, "series_id": "fuel-eia-usa-on-highway-diesel", "currency": "USD", "unit": "us_gallon", "unit_key": "gallon", "unit_quantity": "1", "attribution": "Source: U.S. Energy Information Administration" }
/v1/commodities/physical/seriesDiscover weekly US retail fuel prices, daily oil and gas spot prices, and monthly commodity benchmarks..
commodityoptionalFilter by commodity, such as gasoline, diesel, copper, urea, rice, crude-oil or coffee. Use the commodity value returned by discovery.
categoryoptionalCovered categories are softs, oils-oilseeds, metals, grains, energy, fertilizers, forestry and livestock-dairy. Fuel series use energy.
countryoptionalUse 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_typeoptionalFuel uses retail_average. Daily EIA spot and World Bank series use international_benchmark, except tobacco, which uses import_unit_value.
currencyoptionalFilter by quote currency. Both sources currently use USD.
limitoptionalMaximum items per page. Defaults to 100.
cursoroptionalUse next_cursor from the previous page with the same filters and limit. Null means there are no more pages.
seriesarraySeries with commodity, product, country, area, price basis, currency, unit, frequency, attribution and coverage dates. An empty array means no series matches.
series[].series_idstringStable ID returned by series discovery.
series[].currencystringQuote currency. Both US fuel and monthly benchmark series use USD.
series[].unit / series[].unit_quantitystringsPublished 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_keystringunit_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[].attributionstringKeep 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[].productstringsCommodity, category and product definition. Examples include gasoline / energy / regular-gasoline and copper / metals / copper. Discovery returns the values for each series.
series[].commodity_keystringcommodity_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[].areastringarea gives the regional scope and is omitted for national series.
series[].countrystringWLD 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_typestringFuel uses retail_average. Daily EIA spot and monthly series use international_benchmark, except tobacco, which uses import_unit_value.
series[].basisstringThe basis describes the price definition and is omitted when the source gives none.
/v1/commodities/physical/series/{series_id}Read the definition, units and coverage of one weekly fuel or monthly benchmark series..
series_idrequiredUse a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.
series_idstringStable ID returned by series discovery.
currencystringQuote currency. Both US fuel and monthly benchmark series use USD.
unit / unit_quantitystringsPublished 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_keystringunit_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.
attributionstringKeep 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 / productstringsCommodity, category and product definition. Examples include gasoline / energy / regular-gasoline and copper / metals / copper. Discovery returns the values for each series.
commodity_keystringcommodity_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.
areastringarea gives the regional scope and is omitted for national series.
countrystringWLD means a world benchmark. EUU means the European Union. Countries use ISO alpha-3 codes. US fuel uses USA for the national average.
price_typestringFuel uses retail_average. Daily EIA spot and monthly series use international_benchmark, except tobacco, which uses import_unit_value.
basisstringThe basis describes the price definition and is omitted when the source gives none.
frequencystringdaily for EIA oil and gas spot prices, weekly for US fuel and monthly for World Bank benchmarks.
/v1/commodities/physical/series/{series_id}/latestRead the latest available weekly fuel or monthly benchmark price with its observation period..
series_idrequiredUse a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.
series_idstringStable ID returned by series discovery.
currencystringQuote currency. Both US fuel and monthly benchmark series use USD.
unit / unit_quantitystringsPublished 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_keystringunit_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.
attributionstringKeep 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_enddatesInclusive 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 stringPublished price in the series currency per unit_quantity units. Read it with the series price type and basis.
published_ondatePublication date. Omitted when the source gives none.
revisionintegerStarts at 1 and increases when a later publication changes the value for that period.
/v1/commodities/physical/series/{series_id}/observationsRead weekly fuel or monthly commodity price history with periods, published units and revisions..
series_idrequiredUse a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.
startoptionalInclusive start date. Supply start and end together, or omit both.
endoptionalExclusive end date, later than start. Observations overlapping the date window are returned.
limitoptionalMaximum items per page. Defaults to 100.
cursoroptionalUse next_cursor from the previous page with the same filters and limit. Null means there are no more pages.
series_idstringStable ID returned by series discovery.
currencystringQuote currency. Both US fuel and monthly benchmark series use USD.
unit / unit_quantitystringsPublished 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_keystringunit_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.
attributionstringKeep 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
observationsarrayObservations ordered oldest first. Each contains period_start, period_end, a decimal-string price and revision. published_on is optional.
observations[].period_start / observations[].period_enddatesInclusive 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 stringPublished price in the series currency per unit_quantity units. Read it with the series price type and basis.
observations[].published_ondatePublication date. Omitted when the source gives none.
observations[].revisionintegerStarts at 1 and increases when a later publication changes the value for that period.
next_cursorstring or nullOpaque continuation token. Null marks the final page.
Convert a commodity price into your own currency with an exchange rate.
Read the use case →Page through all the history, save it to a file and resume if it stops.
Read the use case →Run a small script once a day and append the result to a CSV.
Read the use case →Monthly series from the World Bank Pink Sheet.
Explore the API →Daily oil and gas prices, weekly US retail fuel prices and monthly commodity benchmarks, with units as published.
Explore the API →Gold, silver, platinum and palladium spot prices, plus WTI, Brent and copper reference prices.
Explore the API →Four monthly plans, from Free to $199 a month. A plan sets how far back you can read.
See pricing →Regular gasoline and No. 2 on-highway diesel retail averages across the US and nine regions.
US regular gasoline starts on 20 August 1990 and US diesel on 21 March 1994. Regional series start later, from 1992 for gasoline and 1997 for diesel; each series reports its own coverage_start. Use the observations endpoint for a date window.
Discover series with commodity=gasoline or commodity=diesel. Read the area and description, then use that series_id for details, the latest price or history.
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.
Use the fuel price API for the US average, East Coast (PADD 1), New England (PADD 1A), Central Atlantic (PADD 1B), Lower Atlantic (PADD 1C), Midwest (PADD 2), Gulf Coast (PADD 3), Rocky Mountain (PADD 4), West Coast (PADD 5), and West Coast except California. Source: U.S. Energy Information Administration
The Free plan reads the last 12 months of history. Paid plans start at $29 a month and reach further back.