Skip to main content
POST
Retrieve tabular contracts for tradable identifiers.

Authorizations

Authorization
string
header
required

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

Body

JSON request with non-empty TradableIds. ProviderId and MarketDataEnvironmentName are accepted but do not select the environment for this operation.

Tradable identifiers used to retrieve contract definitions.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Tradables.ApiGetContractsFromTradableIdsRequest, 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.

tradable_ids
string[] | null

Tradable identifiers whose contract definitions are requested.

Response

Returns flattened contract rows and errors.

Tabular contract data returned for requested tradable identifiers.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Tradables.ApiGetFlattenedContractsFromTradableIdsResponse, 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.

contracts
object | null

Flattened contract tables returned for the requested tradables.