https://api.lbkrs.com/v1/calc/filter/searchRequest body application/json
Strategy ID. Required when you update a strategy; optional for search and create
Strategy name. Required when you create or update a strategy
Source of the conditions:
0- From a recommended strategy1- From a Client strategy2- New conditions
012
Market code, for example US or HK
Industry ID from industries[].id of Get Screener Industries, sent as a string. Omit it for all industries
Filter conditions, excluding market and industry
Child attributes
Indicator key. Use indicators[].key for a regular or technical indicator, and the selected sub_indicators[].key for an indicator group
Lower bound; omit it or send an empty string for no lower bound
Upper bound; omit it or send an empty string for no upper bound
Technical indicator parameters. Each key is a tech_key and each value is the selected item_value or the value the Client entered. Send it only for technical indicator conditions
Indicator keys to return. They determine the content and order of indicators in each result. Put filter_prevclose (previous close) and filter_prevchg (change) first, then add the keys of regular and indicator-group conditions. Do not add technical indicators
Page number, starting from 0
Number of items per page
Sort column: the zero-based index of the sort indicator in returns
Sort direction:
0- Ascending1- Descending
01
Responses
HTTP 200The request succeeded. The response body contains the result of the “Search Stocks by Screener Conditions” operation.codemessagedatadataobjectdata structureTotal number of matching securities
Results on the current page
Child attributes
Security ID (counter_id)
Security name
Indicator values in the same order as the requested returns
Child attributes
Indicator ID. -1 is the market condition and -2 is the industry condition; for these, value holds the market code or industry ID
Indicator key, for example filter_prevchg (change), filter_market (market), or filter_industry (industry)
Indicator name; for market and industry conditions, the market or industry name
Indicator value. In search results, the value for the security; in strategy conditions, used only by market and industry conditions
Lower bound of the condition range; an empty string means no lower bound
Upper bound of the condition range; an empty string means no upper bound
Indicator unit
Technical indicator parameters. Each key is a tech_key and each value is the selected item_value or the value the Client entered. Send it only for technical indicator conditions
Saved technical parameter details. Rebuild tech_values from them when tech_values is empty
Child attributes
Technical parameter key, matching tech_indicators[].tech_key in the indicator configuration
Technical parameter name
Display name of the selected option
Value of the selected option; put it back into tech_values of the filter
Display prefix for a custom input value. When present, display the prefix followed by tech_item_value; otherwise display tech_item_name