All data sources

OilPrice API

API keyoilprice

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

Provenance

PublisherOilPrice API

Freshness & coverage

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

Methods (10)

  • getLatestPrices

    read

    All latest commodity prices.

    Entitiescommodity
    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": true
    }
  • getPrice

    read

    Latest price for a commodity code.

    Required paramscode
    Entitiescommodity
    Input schema
    {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "code"
      ]
    }
  • getPastDay

    read

    Price history for past day.

    Entitiesrecord
    Input schema
    {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  • getPastWeek

    read

    Price history for past week.

    Entitiesrecord
    Input schema
    {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  • getPastMonth

    read

    Price history for past month.

    Entitiesrecord
    Input schema
    {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  • getPastYear

    read

    Price history for past year.

    Entitiesrecord
    Input schema
    {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  • listCommodities

    read

    All available commodity codes.

    Entitiesrecord
    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
  • getOilPrices

    read

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

    Entitiescommodity
    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
  • getGasPrices

    read

    Latest gas & refined product prices.

    Entitiescommodity
    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
  • getNGLPrices

    read

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

    Entitiescommodity
    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }