Spreads

Get a basis spread

Changed on

Location or grade basis spread between two benchmarks.

get/v1/spreads/basis

Request

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

Query parameters

pair'WAHA_HH' | 'BRENT_WTI' | 'BRENT_DUBAI' | 'TTF_HH' | 'BRENT_OMAN' required
Example:BRENT_WTI

Benchmark pair. The 400 response enumerates valid values.

Response

Get a basis spread

statusstring required

Example response

{
  "status": "success"
}

Changes

    • breaking

      added the new required query request parameter pair

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status