- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 1、发文检索相关接口
- 2、媒体账号检索相关接口
- 3、发文分析相关接口
- 4、媒体账号分析相关接口
- 5、热榜相关接口
- 7、数据推送相关接口
- 11、互动量更新相关接口
- 服务总线-附件
- 产品API
6)根据榜单类型+渠道实时获取榜单信息
POST
/v1/hotRank/getHotRankByType
1、热榜相关接口
请求参数
Header 参数
appKey
string
AppKey
nonce
string
随机数
timestamp
string
时间戳
signature
string
必需
Body 参数application/json
实时热搜入参
listType
integer <int32>
必需
type
integer <int32>
必需
city
string
可选
topNum
integer <int32>
可选
>= 1<= 100
默认值:
10
isExtended
boolean
可选
示例
{
"listType": 0,
"type": 0,
"city": "string",
"topNum": 10,
"isExtended": true
}
示例代码
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/getHotRankByType' \
--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
array[object (HotRankTypeVO) {15}]
响应数据
title
string
文章标题
url
string
文章链接地址
topId
integer <int32>
排名
heatIndex
integer <int64>
热度值
type
integer <int32>
可选
rankingChanges
integer <int32>
榜单排名变化
firstInsertTime
string
首次上榜时间
onListTime
integer <int64>
可选
insertTime
string
采集时间
uuid
string
uuid
uniqueId
string
唯一ID值
label
string
标签
expand
object (ExpandVO)
可选
firstRanking
integer <int32>
首次榜单排名
historyMaxRanking
integer <int32>
历史榜单排名最大值
errors
array[string]
错误信息集合
time
string <date-time>
响应时间
示例
{
"code": 0,
"success": true,
"message": "string",
"data": [
{
"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