Spreads
Get a basis spread
Changed onLocation or grade basis spread between two benchmarks.
get/v1/spreads/basis
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI 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
Example response
{
"status": "success"
}Changes
- breaking
added the new required
queryrequest parameterpair - 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