Skip to main content
POST
Retrieve bond contracts by identifier.

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 Identifiers and at most one accessible market-data environment selected by name or identifier.

Instrument identifiers used to retrieve bond contract definitions.

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

Identifiers of the bonds to retrieve.

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

Response

Returns matched bonds and errors.

Bond definitions matched to requested instrument identifiers.

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

bonds
object[] | null

Requested instrument identifiers paired with their bond definitions.