查看原始 JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"title": "ContentSquareReq",
"required": [
"biz_type"
],
"properties": {
"fans": {
"anyOf": [
{
"type": "object",
"title": "RangeFilter",
"properties": {
"max": {
"anyOf": [
{
"type": "integer",
"maximum": 9999999,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Max",
"description": "最大值(含),留空表示不限。"
},
"min": {
"anyOf": [
{
"type": "integer",
"maximum": 9999999,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Min",
"description": "最小值(含)。"
}
},
"description": "数值区间,至少填写一个端点。",
"x-readme-ref-name": "crawlers__xiaohongshu__pgy__pgy_content_filters__RangeFilter",
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "创作者粉丝量区间,仅适用于榜 4。"
},
"price": {
"anyOf": [
{
"type": "object",
"title": "PriceFilter",
"required": [
"kind",
"range"
],
"properties": {
"kind": {
"enum": [
1,
2
],
"type": "integer",
"title": "Kind",
"description": "报价口径:1=图文笔记,2=视频笔记。"
},
"range": {
"type": "object",
"title": "RangeFilter",
"properties": {
"max": {
"anyOf": [
{
"type": "integer",
"maximum": 9999999,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Max",
"description": "最大值(含),留空表示不限。"
},
"min": {
"anyOf": [
{
"type": "integer",
"maximum": 9999999,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Min",
"description": "最小值(含)。"
}
},
"description": "报价区间,单位为元。",
"additionalProperties": false
}
},
"description": "网页中的图文笔记和视频笔记分别统计报价,必须先选择一种口径。",
"x-readme-ref-name": "PriceFilter",
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "创作者报价,仅适用于榜 4。"
},
"theme": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Theme",
"examples": [
"开箱"
],
"description": "题材名称,适用于榜 2、4、5、7、8。"
},
"biz_type": {
"enum": [
1,
2,
3,
4,
5,
6,
7,
8
],
"type": "integer",
"title": "Biz Type",
"examples": [
1
],
"description": "榜单:1=小红书热门,2=产品种草,3=电商推广,4=蒲公英合作,5=客资收集,6=电商热门,7=种草直达,8=应用推广。"
},
"category": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Category",
"examples": [
"内容类目#美妆"
],
"description": "榜 1 的类目,格式为“一级#二级”,例如“内容类目#美妆”。"
},
"industry": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Industry",
"examples": [
"母婴"
],
"description": "榜 2、3、4、5、6、7、8 的所属行业名,可选值因榜单而异。"
},
"order_by": {
"type": "string",
"title": "Order By",
"default": "",
"examples": [
"premium_imp_num"
],
"maxLength": 64,
"description": "排序字段,留空使用该榜单默认排序。"
},
"page_num": {
"type": "integer",
"title": "Page Num",
"default": 1,
"maximum": 100,
"minimum": 1,
"examples": [
1
],
"description": "页码,每个榜单固定只有 100 条。"
},
"note_type": {
"anyOf": [
{
"enum": [
1,
2
],
"type": "integer"
},
{
"type": "null"
}
],
"title": "Note Type",
"examples": [
2
],
"description": "内容类型:1=图文,2=视频。"
},
"page_size": {
"type": "integer",
"title": "Page Size",
"default": 34,
"maximum": 34,
"minimum": 1,
"examples": [
34
],
"description": "每页数量,范围为 1-34;网页固定为 34。"
},
"placement": {
"anyOf": [
{
"enum": [
1,
2,
3
],
"type": "integer"
},
{
"type": "null"
}
],
"title": "Placement",
"examples": [
1
],
"description": "榜 2、3、5、7、8 的流量场域:1=发现,2=搜索,3=视频内流。"
},
"date_range": {
"enum": [
3,
7,
14,
30
],
"type": "integer",
"title": "Date Range",
"default": 7,
"examples": [
7
],
"description": "统计窗口,单位为天:3、7、14 或 30。"
},
"author_type": {
"anyOf": [
{
"enum": [
1,
2
],
"type": "integer"
},
{
"type": "null"
}
],
"title": "Author Type",
"examples": [
1
],
"description": "榜 4 的创作者类型:1=蒲公英博主,2=明星。"
},
"search_word": {
"type": "string",
"title": "Search Word",
"default": "",
"examples": [
"面膜"
],
"maxLength": 100,
"description": "关键词,留空查看整榜;多个关键词使用英文逗号分隔。"
},
"content_type": {
"anyOf": [
{
"enum": [
1,
2,
3,
5,
6,
11,
-1
],
"type": "integer"
},
{
"type": "null"
}
],
"title": "Content Type",
"examples": [
1
],
"description": "内容来源:1=博主合作,2=明星合作,3=员工,5=买手,6=专业号,11=主理人,-1=用户。"
},
"sub_biz_type": {
"anyOf": [
{
"enum": [
1,
2,
3
],
"type": "integer"
},
{
"type": "null"
}
],
"title": "Sub Biz Type",
"examples": [
3
],
"description": "榜 8 的推广类型:1=应用下载,2=小程序推广,3=应用唤起(默认)。"
},
"marketing_target": {
"anyOf": [
{
"enum": [
3,
8
],
"type": "integer"
},
{
"type": "null"
}
],
"title": "Marketing Target",
"examples": [
3
],
"description": "榜 3 的推广类型:3=商品推广,8=直播推广。"
}
},
"x-readme-ref-name": "ContentSquareReq",
"additionalProperties": false
},
"queryParams": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}