All data sources

Commodities-API

Your key

Real-time and historical commodity prices for crude oil, natural gas, gold, silver, and 100+ commodities with time-series and OHLC data.

Needs your own Commodities-API key. Included on Free.

What you can ask

  • “What does Commodities-API have for the area or asset I'm working on?”
  • “Pull the most recent Commodities-API records and put them in a table.”
  • “What does Commodities-API cover, and how fresh is the data?”

About this source

Commodities-API — latest, historical, time-series, fluctuation, and OHLC for 80+ commodities. METHODS: getLatestPrices, getHistoricalPrices, getTimeSeries, getFluctuation, convert, getOHLC, getOilPrices, getEnergyPrices

Connector ID commodities-api

Provenance

PublisherCommodities-API

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationCredentials required (API key)

› Methods (8)

Technical detail for developers: parameters, pagination, units, and freshness per method.

  • getLatestPrices

    read

    Latest commodity prices in the base currency (prices = 1/rates).

    rates are units per 1 base currency; read prices for the price per unit.

  • getHistoricalPrices

    read

    Prices for a specific date.

    Required paramsdate
  • getTimeSeries

    read

    Time-series between two dates.

    Required paramsstartDateendDate
  • getFluctuation

    read

    Change between two dates.

    Required paramsstartDateendDate
  • convert

    unknown

    Convert between commodities/currencies.

    Required paramsfromtoamount
    Entitiescommodity
  • getOHLC

    read

    Open/High/Low/Close for a date.

    Required paramsdate
  • getOilPrices

    read

    Brent + WTI snapshot.

  • getEnergyPrices

    read

    Oil/gas/gasoline/diesel snapshot.