Spreads

Get the current crack spread

Changed on

Refining crack spread with its crude and product legs.

get/v1/spreads/crack

Request

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

Query parameters

type'jet' | 'diesel' | 'gasoline' | '3-2-1'
Example:jet

Spread type.

crude'BRENT_CRUDE_USD' | 'WTI_USD' | 'BRENT_SPOT_USD' | 'WTI_SPOT_USD'
Example:BRENT_CRUDE_USD

Crude benchmark code.

Response

Get the current crack spread

statusstring required

Example response

{
  "status": "success"
}

Changes

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      added the new optional query request parameter crude

    • info

      added the new optional query request parameter type

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status