Indicators
Get price context for a code
Changed onStatistical context for a commodity's current price.
get/v1/indicators/price-context
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Query parameters
codestring required
Example:BRENT_CRUDE_USD
Commodity code. See /v1/commodities for the catalogue.
Response
Get price context for a code
Example response
{
"status": "success"
}Changes
- info
added the optional property
/to the response with the status
- info
- breaking
added the new required
queryrequest parametercode - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking