Get crack spread history
Changed onHistorical crack spread series.
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Query parameters
Spread type.
Crude benchmark code.
Start of the window (YYYY-MM-DD). Defaults to 30 days ago; capped to the maximum historical range.
End of the window (YYYY-MM-DD). Defaults to today.
Response
Get crack spread history
Example response
{
"status": "success",
"data": {
"period": "30d"
}
}Changes
- warning
deleted the
queryrequest parameterperiod - info
added the new optional
queryrequest parametercrude - info
added the new optional
queryrequest parameterend_date - info
added the new optional
queryrequest parameterstart_date - info
added the new optional
queryrequest parametertype
- warning
- 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