文章传播指数查询接口
更新时间:2026-03-20 11:10:36
API测试
申请API调用
基本信息
接口描述:查询文章转载及传播指数的检索接口。
请求方式:post
请求地址:
cas/originaldoc/search
请求参数格式:application/x-www-form-urlencoded
输入参数
参数名称
类型
是否必填
描述
startPubTime
string
是
开始时间,格式yyyyMMdd或yyyyMMddHHmmss
endPubTime
string
是
结束时间,格式yyyyMMdd或yyyyMMddHHmmss
mediaUnitName
string
否
站点所属的集团名称
searchWord
string
否
搜索的关键字,标题或正文中任何一个字段匹配成功都会返回结果,多个关键字使用“,”分隔,多个关键字必须同时包含才会返回,输入的关键词总长度100个字符以内。 注意关键词不能包含{、}、“ 等特殊字符
medium
string
否
渠道类型编码,多值使用“,”分隔或使用“;”分隔,多值是or的关系,网站-website、微信weixin、数字报-szb、客户端-app,不输入则全库查询
title
string
否
标题搜索的关键词,只查询标题字段,参数说明和查询逻辑同searchWord
content
string
否
正文搜索的关键词,只查询正文字段,参数说明和查询逻辑同searchWord
siteName
string
否
站点名称,多个站点名称使用“;”分隔。 参数限制:多个参数时数量不超过10个
channel
string
否
频道名称,多个名称使用“;”分隔。 参数限制:多个参数时数量不超过10个
pageNum
integer
否
返回结果集页码,首页及默认值均为0
pageSize
integer
否
每页返回结果集数量,默认值20,最大值不可超过100
contentAreaCatalog
string
否
文章内容报道地域:查询内容报道某一地域的文章:北京_大兴区;安徽_合肥等,具体地域名称见数据字典
contentIndustryCatalog
string
否
文章内容报道的行业分类,示例:体育、教育、财经等
sorts
string
否
结果集排序方式,通过“+”、“-”和数据字段来控制正序或倒序,示例-pubTime表示按照文章发布时间倒叙,支持多字段一起排序,比如【-loadTime,+pubTime】表示先根据入库时间倒序排列,如果时间一致时在根据发布时间正序排序。接口支持的排序字段如下:ceiIndex(传播指数,默认根据这个倒序排列)、reprints(总转载数)、pubTime(发布时间)
输出参数
参数名称
类型
描述
code
String
接口状态码,200为正常,其他为错误码
msg
String
接口的错误描述信息
data
object
接口内的具体返回信息
title
String
标题
sid
String
文章id
author
String
作者
url
String
文章url
siteName
String
发布站点名称
channel
String
频道/版面
pubTime
String
发布时间
reprintCount
Integer
总转载数
ceiIndex
Double
总影响力指数
appReptintCount
Integer
APP渠道转载数
szbReprintCount
Integer
数字报渠道总转载数
websiteReprintCount
Integer
网站总转载数
weiboReptintCount
Integer
微博总转载数
weixinReprintCount
Integer
微信总转载数
gzptReprintCount
integer
第三方平台转载数
headlineReprintCount
integer
核心头条转载数
medium
String
报道媒介
mediaUnitName
string
集团名称
totalElements
string
全部对象数
totalPages
string
总页数
number
string
页码
size
string
页面大小
numberOfElements
string
当前页对象个数
requestid
string
当前请求的唯一ID,反馈问题时直接提交此信息
data.content
string
数据分页对象
readCount
integer
阅读数
commentCount
integer
评论数
approveCount
integer
点赞数
rttCount
integer
转发数
调用示例
http://[域名]/opens/api/cas/originaldoc/search
输入示例
startPubTime=20210928&endPubTime=20210928&pageSize=1
输出示例
{
"code": 200,
"msg": "请求成功",
"data": {
"content": [
{
"sid": "13567396452462428946",
"title": "我们怎样才能继续成功",
"author": "宣言",
"url": "http://cpc.people.com.cn/n1/2021/0928/c64387-32239225.html",
"pubTime": "2021-09-27 23:53:00",
"siteName": "中国共产党新闻网",
"channel": "首页",
"mediaUnitName": "人民日报社",
"medium": "website",
"ceiIndex": 2118.77,
"appReprintCount": 331,
"szbReprintCount": 174,
"websiteReprintCount": 812,
"weiboReprintCount": 185,
"weixinReprintCount": 178,
"headlineReprintCount": 27,
"gzptReprintCount": 46,
"reprintCount": 1753
}
],
"totalElements": 23401,
"totalPages": 23401,
"number": 0,
"size": 1,
"numberOfElements": 1
},
"requestid": "33f31c12-202c-11ec-9f40-000af7e86914"
}
接口说明
无
在线测试
请求方式:
POST
*startPubTime:
*endPubTime:
mediaUnitName:
searchWord:
medium:
title:
content:
siteName:
channel:
pageNum:
pageSize:
contentAreaCatalog:
contentIndustryCatalog:
sorts:
确定
重置
请求结果
错误码
其他错误码详见
公共错误码。