Trending Topics
GET/api/v1.0/quote/search-hot-topicsGet real-time trending search topics and keywords. Returns: item_id, text, hot_value, and url_scheme.
Request
| Parameter | Type | In | Required | Description |
|---|
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/search-hot-topics' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse
| Field | Type | Description |
|---|---|---|
data.items | object[] | |
data.items[].item_id | string | Topic item unique ID |
data.items[].text | string | Trending topic text |
data.items[].hot_value | string | Heat value |
data.items[].url_scheme | string | Landing URL |
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": [
{
"item_id": "example",
"text": "example",
"hot_value": "example",
"url_scheme": "example"
}
]
}
}