Prices
Premium

Check data freshness for all commodities

Monitor which commodities have fresh data and which are stale

get/v1/prices/all/health

Request

  • Base URL
    https://api.oilpriceapi.com
  • Auth
    API key in header Authorization

Response

Data freshness status

statusstring

Example response

{
  "status": "success",
  "data": {
    "fresh": [
      "WTI_USD",
      "BRENT_CRUDE_USD"
    ],
    "stale": [
      "COAL_USD"
    ]
  }
}

Changes

No recorded changes to this operation across all 17 revisions of this API.