Skip to main content
POST
Retrieve commodity-futures observations.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The query payload. Identifiers must be non-empty Bloomberg or RIC futures codes, StartDate and EndDate are date-only inclusive boundaries, and provider or environment fields select the source scope.

Queries dated commodity-futures observations by contract selector and date range.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetCmdtyFuturesDataRequest, Derivitec.Web.Core
market_data_environment_name
string | null

Name of the market-data environment to use. Supply either this name or provider_id, not both.

Example:

"Example market data"

provider_id
string | null

Opaque identifier of the market-data provider to use. Supply either this identifier or market_data_environment_name, not both.

identifiers
object[] | null

Bloomberg or RIC instrument identifiers whose commodity-futures observations are requested.

Instrument code qualified by an identifier namespace and optional market code.

start_date
string<date-time>

Inclusive lower date-only boundary for the requested observations.

end_date
string<date-time>

Inclusive upper date-only boundary for the requested observations.

Response

Returns available commodity-futures observations by input identifier and errors for unsupported, ambiguous, or missing contracts.

Returns dated commodity-futures observations.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetCmdtyFuturesDataResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.

cmdty_futures_data
object[] | null

Commodity-futures observations returned by the query.