econ

Latest benchmark commodity price with the prior value + %...

Latest benchmark commodity price with the prior value + % change. Pass commodity for one, or omit for all. Commodities: wti, brent, natural-gas, gasoline, diesel, heating-oil, propane, copper, aluminum, corn, wheat, sugar — i.e. crude oil (WTI + Brent), natural gas, gasoline, diesel, heating oil, propane, gold, copper, aluminum, corn, wheat, sugar. Each result names the FRED series ID + unit ($/barrel, $/gallon, $/troy oz, $/metric ton...). Daily benchmarks report a daily date; global-price series are monthly. Source: EIA / LBMA / IMF via FRED (St. Louis Fed).

get/api/econ/commodity

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/econ/commodity
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

commodity'wti' | 'brent' | 'natural-gas' | 'gasoline' | 'diesel' | 'heating-oil' | 'propane' | 'copper' | 'aluminum' | 'corn' | 'wheat' | 'sugar'

Commodity.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.