All data sources

OilPrice API

Your key

Real-time and historical commodity prices for crude oil, natural gas, diesel, gasoline, and heating oil.

Needs your own OilPrice API key. Included on Free.

What you can ask

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

About this source

OilPrice.com commodity price API. Key optional for demo endpoints; required for full history and all commodity codes. LATEST: getLatestPrices, getPrice, listCommodities, getOilPrices, getGasPrices, getNGLPrices HISTORY: getPastDay, getPastWeek, getPastMonth, getPastYear

Connector ID oilprice

Provenance

PublisherOilPrice API

Freshness & coverage

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

› Methods (10)

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

  • getLatestPrices

    read

    All latest commodity prices.

    Entitiescommodity
  • getPrice

    read

    Latest price for a commodity code.

    Required paramscode
    Entitiescommodity
  • getPastDay

    read

    Price history for past day.

    Entitiesrecord
  • getPastWeek

    read

    Price history for past week.

    Entitiesrecord
  • getPastMonth

    read

    Price history for past month.

    Entitiesrecord
  • getPastYear

    read

    Price history for past year.

    Entitiesrecord
  • listCommodities

    read

    All available commodity codes.

    Entitiesrecord
  • getOilPrices

    read

    Latest crude oil prices (WTI, Brent, OPEC).

    Entitiescommodity
  • getGasPrices

    read

    Latest gas & refined product prices.

    Entitiescommodity
  • getNGLPrices

    read

    Natural gas liquids (NGL) prices: ethane, propane, butane, condensate (OilPrice API).

    Entitiescommodity