GetHotTopicBroadcast - Query a complete broadcast list (trending list)
Queries a news broadcast list.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table describes the authorization information of the API. You can use the Action element in a RAM permission policy statement to grant a RAM user or RAM role the permission to call this API. For more information:
-
Action: the specific permission.
-
Access level: the access level of each action. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization in the operation. For more information:
- Required resource types are prefixed with an asterisk (*).
- For actions that do not support resource-level authorization, All Resources is used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetHotTopicBroadcast | get | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique ID of the Alibaba Cloud Model Studio workspace. For more information, see Workspace ID | xxxx |
| HotTopicVersion | string | No | The hot topic version. | 2024-10-11_13 |
| Topics | array | No | The topic filter. | |
| Topic | string | No | The hot topic subject. | ["主题1","主题2"] |
| CalcTotalToken | boolean | No | Specifies whether to calculate the total token count. | false |
| Category | string | No | The category filter. | The category filter. |
| StepForNewsBroadcastContentConfig | object | No | The content configuration of the hot topic broadcast list. | |
| Categories | array | No | The selected channels. | |
| Categorie | string | No | The channel. | ["科技","经济","时政","娱乐"] |
CustomHotValueWeightsdeprecated | array<object> | No | The custom popularity weights. | |
| CustomHotValueWeight | object | No | The custom weight. | |
| Dimension | string | No | The dimension key. | views |
| Weight | integer | No | The weight. | 1 |
| TopicCount | integer | No | The number of topics. | 10 |
| StepForCustomSummaryStyleConfig | object | No | The custom output style configuration. | |
| SummaryImageCount | integer | No | The number of images in the summary. | 90 |
| SummaryModel | string | No | The summarization model. | The summarization model. |
| SummaryPrompt | string | No | The custom prompt for summarization. | The custom prompt for summarization. |
| Size | integer | No | The page size. | 5 |
| Current | integer | No | The current page number. | 1 |
| Locations | array | No | The list of news regions to search (keyword filter). | |
| string | No | The news region to search (keyword filter). | Chongqing | |
| LocationQuery | string | No | The full-text search query for hot topic regions. If this parameter is specified, current does not take effect. | Chongqing Chengdu Zhejiang Hangzhou |
| Query | string | No | The full-text search query for titles, hot topic summaries, and regions. If this parameter is specified, current does not take effect. | Chongqing news |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | The status code. | NoData |
| Data | object | The business data. | |
| Data | array<object> | The hot topic broadcast lists. | |
| Data | object | The hot topic information. | |
| Category | string | The hot topic category. | The hot topic category. |
| CreateTime | string | The creation time. | The creation time. |
| CustomHotValue | double | The custom popularity score. | 34.7905341705522 |
| CustomTextSummary | string | The custom text summary of the hot topic. | The custom text summary of the hot topic. |
| HotTopic | string | The hot topic name. | The hot topic name. |
| HotTopicVersion | string | The hot topic summary version. | The hot topic summary version. |
| HotValue | double | The popularity score. | 1.4120480606282884 |
| Id | string | The hot topic ID. | The hot topic ID. |
| Images | array<object> | The images for the hot topic. | |
| Image | object | An image object. | |
| Url | string | The URL. | http://www.example.com/a.png |
| InputToken | integer | Input tokens. | 29 |
| News | array<object> | The articles. | |
| New | object | A news object. | |
| AnalysisCategory | string | The model classification result. | Technology |
| AnalysisTopic | string | The aggregated hot topic name. | The aggregated hot topic name. |
| Author | string | The author. | The author. |
| Category | array | The category. | |
| Category | string | The category. | Technology |
| Comments | array<object> | The news content. | |
| Comment | object | The object. | |
| Text | string | The content. | The content. |
| Username | string | The username. | The username. |
| Content | string | The news content. | The news content. |
| CreateTime | string | The time when the item was added to the database. | 2024-06-13 08:45:05 |
| Domain | string | The source. | Quark |
| Dt | string | The date when the item was added to the database. | 2024111110 |
| HotTopic | string | The original hot topic name. | The original hot topic name. |
| ImgList | array | The images. | |
| ImgList | string | The image URL. | http://www.example.com/a.png |
| Logo | string | logo | https://www.example.com/a.png |
| PubTime | string | The publication time. | 2024-10-10 12:12:00 |
| Summary | string | The summary. | The summary. |
| Title | string | The title. | The title. |
| Url | string | The news URL. | http://www.example.com/a.png |
| Uuid | string | The primary key ID. | The primary key ID. |
| Website | string | The website. | The website. |
| OutputToken | integer | Output tokens. | 22 |
| Summary | object | The structured summary of the hot topic. | |
| InputToken | integer | The number of input tokens used to generate this summary. | 17 |
| OutputToken | integer | The number of output tokens used to generate this summary. | 41 |
| Summaries | array<object> | The structured summaries. | |
| Summarie | object | The structured summary. | |
| Summary | string | The summary. | The summary. |
| Title | string | The title. | The title. |
| TextSummary | string | The text summary of the hot topic. | The text summary of the hot topic. |
| Locations | array | The regions associated with the hot topic. | |
| locations | string | The region associated with the hot topic. | Chengdu |
| Url | string | The trending list URL. | http://www.example.com/a.html |
| PubTime | string | The publication time. | 2025-08-01 12:00:00 |
| TotalCount | integer | The total count. | 100 |
| TotalTokenInfo | object | The estimated number of tokens required to generate all content. | |
| HotTopicCount | integer | The total number of hot topics. | 100 |
| InputTokens | integer | The estimated number of input tokens. | 100 |
| OutputTokens | integer | The estimated number of output tokens. | 100 |
| WordCount | integer | The estimated total character count. | 100 |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error description. | success |
| RequestId | string | The unique request ID. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request succeeded. true: succeeded. false: failed. | true |
Examples
Success response
JSON format
{
"Code": "NoData",
"Data": {
"Data": [
{
"Category": "热点话题分类",
"CreateTime": "创建时间",
"CustomHotValue": 34.7905341705522,
"CustomTextSummary": "自定义热点话题文本摘要",
"HotTopic": "热点话题名称",
"HotTopicVersion": "热点话题摘要版本",
"HotValue": 1.4120480606282884,
"Id": "热点话题ID",
"Images": [
{
"Url": "http://www.example.com/a.png"
}
],
"InputToken": 29,
"News": [
{
"AnalysisCategory": "科技",
"AnalysisTopic": "聚合后热点名称",
"Author": "作者",
"Category": [
"科技"
],
"Comments": [
{
"Text": "内容",
"Username": "用户名"
}
],
"Content": "新闻内容\n\n",
"CreateTime": "2024-06-13 08:45:05",
"Domain": "夸克",
"Dt": 2024111110,
"HotTopic": "原始热点名称",
"ImgList": [
"http://www.example.com/a.png"
],
"Logo": "https://www.example.com/a.png",
"PubTime": "2024-10-10 12:12:00",
"Summary": "摘要",
"Title": "标题",
"Url": "http://www.example.com/a.png",
"Uuid": "主键ID",
"Website": "网站"
}
],
"OutputToken": 22,
"Summary": {
"InputToken": 17,
"OutputToken": 41,
"Summaries": [
{
"Summary": "摘要",
"Title": "标题"
}
]
},
"TextSummary": "热点话题文本摘要",
"Locations": [
"成都"
],
"Url": "http://www.example.com/a.html",
"PubTime": "2025-08-01 12:00:00"
}
],
"TotalCount": 100,
"TotalTokenInfo": {
"HotTopicCount": 100,
"InputTokens": 100,
"OutputTokens": 100,
"WordCount": 100
}
},
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true
}
Error codes
Visit the Error Center for more error codes.
Change history
| Change time | Change summary | Operation |
|---|
No change history is available.