{
  "openapi": "3.0.1",
  "info": {
    "title": "China Hot Search 热搜榜 · Weibo, Baidu, Douyin, Zhihu Trends",
    "description": "Real-time Chinese hot search lists in one dataset: Weibo 微博热搜, Baidu 百度热搜, Douyin 抖音热榜, Kuaishou, Zhihu, Toutiao, Bilibili, Tieba, Tencent, Sina and 16 more, with rank, heat and link. Groups the same story across platforms; keyword filter and new-only mode for alerts. No login.",
    "version": "0.1",
    "x-build-id": "YCR3pTP5Qh9QcLnNw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~china-hot-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-china-hot-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~china-hot-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-china-hot-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~china-hot-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-china-hot-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "platforms": {
            "title": "Hot lists",
            "type": "array",
            "description": "Which hot lists to read. Each list is read once per run, about 10 to 100 topics each. Leave the default for the 12 main social and news lists.",
            "items": {
              "type": "string",
              "enum": [
                "weibo",
                "baidu",
                "douyin",
                "kuaishou",
                "zhihu",
                "toutiao",
                "bilibili",
                "bilibili_popular",
                "tieba",
                "so360",
                "thepaper",
                "tencent",
                "netease",
                "sina",
                "wallstreetcn",
                "juejin",
                "sspai",
                "acfun",
                "weread",
                "douban_movie",
                "baidu_novel",
                "baidu_movie",
                "baidu_tv",
                "baidu_car",
                "baidu_game",
                "v2ex"
              ],
              "enumTitles": [
                "Weibo hot search 微博热搜",
                "Baidu hot search 百度热搜",
                "Douyin hot list 抖音热榜",
                "Kuaishou hot list 快手热榜",
                "Zhihu hot list 知乎热榜",
                "Toutiao hot board 今日头条",
                "Bilibili hot search B站热搜",
                "Bilibili popular videos B站热门",
                "Baidu Tieba topics 贴吧热议",
                "360 Search hot list 360热搜",
                "The Paper 澎湃热榜",
                "Tencent News 腾讯新闻",
                "NetEase News 网易新闻",
                "Sina hot search 新浪热榜",
                "Wallstreetcn 华尔街见闻",
                "Juejin 稀土掘金",
                "Sspai 少数派",
                "AcFun daily ranking A站",
                "WeChat Read rising books 微信读书",
                "Douban trending movies 豆瓣电影",
                "Baidu novels 百度小说榜",
                "Baidu movies 百度电影榜",
                "Baidu TV series 百度电视剧榜",
                "Baidu cars 百度汽车榜",
                "Baidu games 百度游戏榜",
                "V2EX hot topics"
              ]
            },
            "default": [
              "weibo",
              "baidu",
              "douyin",
              "kuaishou",
              "zhihu",
              "toutiao",
              "bilibili",
              "tieba",
              "so360",
              "thepaper",
              "tencent",
              "sina"
            ]
          },
          "maxTopicsPerPlatform": {
            "title": "Topics per list",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Most topics to keep from each list, counted from the top. Most lists hold 30 to 50. Free-plan runs keep up to 20.",
            "default": 50
          },
          "keywords": {
            "title": "Keep only topics that mention",
            "type": "array",
            "description": "Optional. Keep a topic only when its title or summary contains one of these words, in Chinese or English (e.g. 华为, iPhone, 新能源). Leave empty to keep every topic.",
            "items": {
              "type": "string"
            }
          },
          "minPlatforms": {
            "title": "Only stories on at least N platforms",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Optional. Keep only topics whose story is trending on at least this many of the lists read in this run. 1 keeps everything; 3 or more leaves the stories the whole country is talking about.",
            "default": 1
          },
          "translateTitles": {
            "title": "Add English titles",
            "type": "boolean",
            "description": "Adds titleEn, a machine translation of each topic's title into English. Turn off to keep only the original Chinese titles.",
            "default": true
          },
          "skipSeenTopics": {
            "title": "Return only topics not seen before",
            "type": "boolean",
            "description": "For scheduled runs: leave out topics that an earlier run with the same history name already returned. Each run then gives only what is new since the last one, which suits hourly alerts.",
            "default": false
          },
          "historyHours": {
            "title": "Remember topics for (hours)",
            "minimum": 1,
            "maximum": 720,
            "type": "integer",
            "description": "How long a returned topic counts as seen. After that it can come back if it is still on the list.",
            "default": 24
          },
          "historyName": {
            "title": "History name",
            "type": "string",
            "description": "Runs that share this name share one history. Use a different name for each schedule or task, e.g. 'brand-watch'.",
            "default": "default"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}