GetHotTopicBroadcast - Query a complete broadcast list (trending list)

Updated at:

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.

Try it now

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.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetHotTopicBroadcastget
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

The unique ID of the Alibaba Cloud Model Studio workspace. For more information, see Workspace ID

xxxx
HotTopicVersionstringNo

The hot topic version.

2024-10-11_13
TopicsarrayNo

The topic filter.

TopicstringNo

The hot topic subject.

["主题1","主题2"]
CalcTotalTokenbooleanNo

Specifies whether to calculate the total token count.

false
CategorystringNo

The category filter.

The category filter.
StepForNewsBroadcastContentConfigobjectNo

The content configuration of the hot topic broadcast list.

CategoriesarrayNo

The selected channels.

CategoriestringNo

The channel.

["科技","经济","时政","娱乐"]
CustomHotValueWeightsdeprecatedarray<object>No

The custom popularity weights.

CustomHotValueWeightobjectNo

The custom weight.

DimensionstringNo

The dimension key.

views
WeightintegerNo

The weight.

1
TopicCountintegerNo

The number of topics.

10
StepForCustomSummaryStyleConfigobjectNo

The custom output style configuration.

SummaryImageCountintegerNo

The number of images in the summary.

90
SummaryModelstringNo

The summarization model.

The summarization model.
SummaryPromptstringNo

The custom prompt for summarization.

The custom prompt for summarization.
SizeintegerNo

The page size.

5
CurrentintegerNo

The current page number.

1
LocationsarrayNo

The list of news regions to search (keyword filter).

stringNo

The news region to search (keyword filter).

Chongqing
LocationQuerystringNo

The full-text search query for hot topic regions. If this parameter is specified, current does not take effect.

Chongqing Chengdu Zhejiang Hangzhou
QuerystringNo

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

NameTypeDescriptionExample value
object

PlainResult

Codestring

The status code.

NoData
Dataobject

The business data.

Dataarray<object>

The hot topic broadcast lists.

Dataobject

The hot topic information.

Categorystring

The hot topic category.

The hot topic category.
CreateTimestring

The creation time.

The creation time.
CustomHotValuedouble

The custom popularity score.

34.7905341705522
CustomTextSummarystring

The custom text summary of the hot topic.

The custom text summary of the hot topic.
HotTopicstring

The hot topic name.

The hot topic name.
HotTopicVersionstring

The hot topic summary version.

The hot topic summary version.
HotValuedouble

The popularity score.

1.4120480606282884
Idstring

The hot topic ID.

The hot topic ID.
Imagesarray<object>

The images for the hot topic.

Imageobject

An image object.

Urlstring

The URL.

http://www.example.com/a.png
InputTokeninteger

Input tokens.

29
Newsarray<object>

The articles.

Newobject

A news object.

AnalysisCategorystring

The model classification result.

Technology
AnalysisTopicstring

The aggregated hot topic name.

The aggregated hot topic name.
Authorstring

The author.

The author.
Categoryarray

The category.

Categorystring

The category.

Technology
Commentsarray<object>

The news content.

Commentobject

The object.

Textstring

The content.

The content.
Usernamestring

The username.

The username.
Contentstring

The news content.

The news content.
CreateTimestring

The time when the item was added to the database.

2024-06-13 08:45:05
Domainstring

The source.

Quark
Dtstring

The date when the item was added to the database.

2024111110
HotTopicstring

The original hot topic name.

The original hot topic name.
ImgListarray

The images.

ImgListstring

The image URL.

http://www.example.com/a.png
Logostring

logo

https://www.example.com/a.png
PubTimestring

The publication time.

2024-10-10 12:12:00
Summarystring

The summary.

The summary.
Titlestring

The title.

The title.
Urlstring

The news URL.

http://www.example.com/a.png
Uuidstring

The primary key ID.

The primary key ID.
Websitestring

The website.

The website.
OutputTokeninteger

Output tokens.

22
Summaryobject

The structured summary of the hot topic.

InputTokeninteger

The number of input tokens used to generate this summary.

17
OutputTokeninteger

The number of output tokens used to generate this summary.

41
Summariesarray<object>

The structured summaries.

Summarieobject

The structured summary.

Summarystring

The summary.

The summary.
Titlestring

The title.

The title.
TextSummarystring

The text summary of the hot topic.

The text summary of the hot topic.
Locationsarray

The regions associated with the hot topic.

locationsstring

The region associated with the hot topic.

Chengdu
Urlstring

The trending list URL.

http://www.example.com/a.html
PubTimestring

The publication time.

2025-08-01 12:00:00
TotalCountinteger

The total count.

100
TotalTokenInfoobject

The estimated number of tokens required to generate all content.

HotTopicCountinteger

The total number of hot topics.

100
InputTokensinteger

The estimated number of input tokens.

100
OutputTokensinteger

The estimated number of output tokens.

100
WordCountinteger

The estimated total character count.

100
HttpStatusCodeinteger

The HTTP status code.

200
Messagestring

The error description.

success
RequestIdstring

The unique request ID.

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

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 timeChange summaryOperation

No change history is available.