- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 1、发文检索相关接口
- 2、媒体账号检索相关接口
- 3、发文分析相关接口
- 4、媒体账号分析相关接口
- 5、热榜相关接口
- 7、数据推送相关接口
- 11、互动量更新相关接口
- 服务总线-附件
- 产品API
7)根据榜单类型+渠道检索榜单信息
POST
/v1/hotRank/getSearchHotRankByType
1、热榜相关接口
请求参数
Header 参数
appKey
string
AppKey
nonce
string
随机数
timestamp
string
时间戳
signature
string
必需
Body 参数application/json
热搜榜检索入参【起始和结束时间都不为空才会生效,否则默认当天】
keywords
array[string]
热榜词条表达式
heatIndexRange
object (HeatIndexRange)
可选
fromHeatIndex
integer <int32>
起始热度值【包头】
toHeatIndex
integer <int32>
结束热度值【包尾】
startTime
string <date-time>
可选
endTime
string <date-time>
可选
sortField
integer <int32>
可选
>= 1<= 2
默认值:
1
sortWay
string
可选
默认值:
desc
currentPage
integer <int32>
可选
默认值:
1
pageSize
integer <int32>
可选
默认值:
10
listType
integer <int32>
必需
type
integer <int32>
可选
默认值:
1
city
string
可选
示例
{
"keywords": [
"string"
],
"heatIndexRange": {
"fromHeatIndex": 0,
"toHeatIndex": 0
},
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"sortField": 1,
"sortWay": "desc",
"currentPage": 1,
"pageSize": 10,
"listType": 0,
"type": 1,
"city": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/hotRank/getSearchHotRankByType' \
--header 'appKey;' \
--header 'nonce;' \
--header 'timestamp;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
返回数据格式
code
integer <int32>
可选
success
boolean
可选
message
string
响应消息
data
object (TableDataVOHotRankTypeVO)
可选
total
integer <int64>
总记录数
current
integer <int64>
当前页
size
integer <int64>
每页返回条数
records
array[object (HotRankTypeVO) {15}]
列表数据
errors
array[string]
错误信息集合
time
string <date-time>
响应时间
示例
{
"code": 0,
"success": true,
"message": "string",
"data": {
"total": 0,
"current": 0,
"size": 0,
"records": [
{
"title": "string",
"url": "string",
"topId": 0,
"heatIndex": 0,
"type": 0,
"rankingChanges": 0,
"firstInsertTime": "string",
"onListTime": 0,
"insertTime": "string",
"uuid": "string",
"uniqueId": "string",
"label": "string",
"expand": {
"author": "string",
"viewCount": 0,
"followerCount": 0,
"visitsCount": 0,
"cover": "string",
"summary": "string",
"readCount": 0,
"commentCount": 0,
"interactionCount": 0,
"originalCount": 0,
"read24h": 0,
"comment24h": 0,
"interaction24h": 0,
"original24h": 0,
"read30d": 0,
"comment30d": 0,
"interaction30d": 0,
"original30d": 0,
"duration": 0,
"publishTime": "string",
"topicName": "string"
},
"firstRanking": 0,
"historyMaxRanking": 0
}
]
},
"errors": [
"string"
],
"time": "2019-08-24T14:15:22Z"
}
修改于 2025-04-09 10:21:21