View raw JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"title": "FetchSearchRequest",
"required": [
"keyword"
],
"properties": {
"raw": {
"type": "boolean",
"title": "Raw",
"default": true,
"description": "True returns the raw search response; False returns a simplified, parsed structure."
},
"sort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"title": "Sort",
"default": "default",
"example": "hot",
"description": "Sort order across content types: default or 0 for relevance, latest or 1 for newest first, hot or 2 for most likes first. Accepts a string key or integer."
},
"cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cursor",
"description": "Pagination cursor. Leave empty for the first page; pass back the previous response's cursor unchanged for the next page."
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0,
"minimum": 0,
"description": "Use 0 for the first page. Use cursor for pagination; offset alone returns the first page repeatedly."
},
"keyword": {
"type": "string",
"title": "Keyword",
"example": "人民日报",
"maxLength": 100,
"minLength": 1,
"description": "Search keyword, 1–100 characters."
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"title": "Publish Time",
"default": "all",
"example": "week",
"description": "Publication time filter: all or 0 for any time, day or 1 for the past day, week or 2 for the past seven days, half_year or 3 for the past six months. Accepts a string key or integer."
},
"business_type": {
"enum": [
"all",
"account",
"article",
"video",
"sticker",
"underline",
"encyclopedia",
"live_stream",
"comment",
"listen",
"news",
"photos",
"book",
"moments",
"image",
"mini_game",
"weixin_index",
"ai_search"
],
"type": "string",
"title": "Business Type",
"default": "all",
"example": "account",
"description": "Content type key, with 18 supported values. The source documentation reports results for all, account, article, video and sticker. Other values—underline, encyclopedia, live_stream, comment, listen, news, photos, book, moments, image, mini_game, weixin_index and ai_search—depend on account and region; the source tests returned count=0 with a no_more message, still billed as a normal call. Use categories in an all search response to identify available tabs for the account. Unsupported values return 422."
}
},
"x-readme-ref-name": "FetchSearchRequest"
},
"queryParams": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}