Screener Search
Filter stocks by strategy ID or custom indicator conditions, with pagination support.
Endpoint: POST /v1/quote/ai/screener/search
Note on JSON output format: The response uses a flat
items[]array (notstocks[]), all numeric fields are JSON numbers (not strings), and indicator keys do not carry thefilter_prefix.
longbridge screener search --strategy-id 42
longbridge screener search --market HK --filter filter_marketcap:100:1000SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| market | string | YES | Market: US, HK, CN, SG |
| strategy_id | integer | NO | Strategy ID; use alone or combined with custom conditions |
| conditions | ScreenerCondition[] | NO | Custom filter conditions (Mode B, when strategy_id is omitted) |
| show | string[] | NO | Extra indicator keys to include in the response beyond the 7 default columns |
| page | integer | NO | 0-based page number, default 0 |
| size | integer | NO | Page size, default 20 |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"total": 88,
"page": 0,
"market": "US",
"items": [
{
"symbol": "AAPL.US",
"name": "Apple Inc.",
"prevchg": 0.62,
"marketcap": 3241500000000,
"pettm": 32.15,
"pbmrq": 50.21,
"salesgrowthyoy": 8.04
},
{
"symbol": "MSFT.US",
"name": "Microsoft",
"prevchg": 1.05,
"marketcap": 3085000000000,
"pettm": 35.42,
"pbmrq": 12.87,
"salesgrowthyoy": 12.61
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | ScreenerSearchResponse |
| 400 | Bad request | None |
Schemas
ScreenerSearchResponse
| Name | Type | Required | Description |
|---|---|---|---|
| total | integer | false | Total number of matching stocks |
| page | integer | false | Current page number (zero-based) |
| market | string | false | Market of the result set |
| items | object[] | false | Filtered stock list |
| ∟ symbol | string | false | Security symbol |
| ∟ name | string | false | Security name |
| ∟ prevchg | number | false | Previous day price change ratio (e.g. 1.24 = 1.24%) |
| ∟ marketcap | number | false | Market capitalisation (numeric) |
| ∟ pettm | number | false | P/E ratio (TTM, numeric) |
| ∟ pbmrq | number | false | P/B ratio (MRQ, numeric) |
| ∟ salesgrowthyoy | number | false | Revenue growth YoY (%) |
| ∟ industry | string | false | Industry classification |
All numeric indicator fields are JSON numbers. Additional indicator fields depend on the strategy or filter used. Indicator keys do not carry the
filter_prefix.