Hello Team,
I tried using the below API Code for retrieving Futures Instrument:
{
"SearchRequest": {
"FileCodes": null,
"CurrencyCodes": null,
"ExchangeCodes": null,
"ExpirationDate": {
"@odata .type": "#DataScope.Select.Api.Search.DateValueComparison",
"ComparisonOperator": "GreaterThanEquals",
"Value": "2025-10-01T00:00:00.000Z"
},
"AssetStatus": "Active",
"IdentifierType": "Ric",
"Identifier": "CL*",
"PreferredIdentifierType": "Ric",
"UnderlyingRic": "CL"
}
}
However, I am able to retrieve only Options instruments. I am unsure which search parameter to use to retrieve only Futures instruments.
I checked on DSS API Help → API Reference Tree → Search → FuturesAndOptionsSearch.
In that I see that on the API Code line, there is a parameter:
"FuturesAndOptionsType": "Futures"
But, when I incorporate this to my API Code, it gives me the below error:
{
"error": {
"message": "Malformed request payload: Syntax error at Line 4, Char 5: expected '}' ""
}
}
Can you please help me with the API Code which can ensure that only Futures instruments are retrieved?