Spreads
Get refining margin history
Changed onHistorical refining margin series.
get/v1/spreads/margin/historical
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Query parameters
periodstring
Example:30d
Lookback window for the series.
Response
Get refining margin history
Example response
{
"status": "success",
"data": {
"period": "30d"
}
}Changes
- info
added the new optional
queryrequest parameterperiod - 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
- info