Security Search
GET/api/v1.0/quote/search-quoteSearch quote instruments (stocks / ETFs / plates / indexes / options / futures) by keyword. Returns market / code / name / sc_name / tc_name / sec_type / stock_id; code is the prefixed symbol and can be passed to other quote APIs. page_size defaults to 10 (max 100). For community search use quote.community_search.
Request
| Parameter | Type | In | Required | Description |
|---|---|---|---|---|
keyword | string | query | yes | Search keyword, e.g. AAPL / 00700 / Tencent |
page_size | int | query | no | Row count, default 10, max 100 |
Example
bash
curl -X GET 'https://webapi.futunn.com/api/v1.0/quote/search-quote?keyword=1&page_size=1' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse
| Field | Type | Description |
|---|---|---|
data.items | object[] | |
data.items[].market | string | Market, e.g. HK / US / SH / SZ |
data.items[].code | string | Symbol with market prefix, e.g. US.AAPL / HK.00700 |
data.items[].name | string | Instrument English name |
data.items[].sc_name | string | Instrument Simplified Chinese name |
data.items[].tc_name | string | Instrument Traditional Chinese name |
data.items[].sec_type | integer | Security type: STOCK / ETF / PLATE / IDX / WARRANT / DRVT / FUTURE, etc. |
data.items[].stock_id | integer | Security ID |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -7 | invalid_symbol | Unknown symbol |
| -8 | unsupported | Market or product is not supported |
| -9 | permission_denied | Missing permission |
| -10 | no_data | No data |
| -11 | rate_limited | Too many requests |
Sample
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"market": "example",
"code": "example",
"name": "example",
"sc_name": "example",
"tc_name": "example",
"sec_type": 0
}
]
}
}