Get CFTC positioning history
Changed onCFTC Legacy Futures Only history grouped by source observation date, excluding rows without observed_at. Each row has date, spec_net, open_interest and spec_net_pct_oi. Requested period is retained and coverage exposes the effective 730-day range and range_limited flag. This endpoint does not provide managed-money futures-and-options history.
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Query parameters
Energy contract family; defaults to WTI. BRENT is NYMEX Brent Last Day.
Source observation date; defaults to 90 days ago, capped at 730 days.
Last source observation date; defaults to today.
Response
Get CFTC positioning history
Example response
{
"status": "success"
}Changes
- breaking
the
/response's property type changed fromstringtoobjectfor status - warning
deleted the
queryrequest parameterperiod - warning
removed the optional property
///from the response with the status - info
added the new optional
queryrequest parametercommodity - info
added the new optional
queryrequest parameterend_date - info
added the new optional
queryrequest parameterstart_date - 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
- breaking
- 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