{
  "openapi": "3.0.1",
  "info": {
    "title": "China Trending Topics: Weibo, Douyin, Baidu Hot Search & More",
    "description": "China hot search API, no login: real-time trending lists from Weibo (微博热搜), Douyin (抖音热榜), Baidu (百度热搜), Toutiao, Bilibili, Zhihu, Kuaishou, news sites and 20 boards in one dataset, with rank, heat and link. \"Only new topics\" mode for hourly trend alerts.",
    "version": "1.0",
    "x-build-id": "E5LXmLZJ9UdgCRDJA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sinodata~china-trending-topics/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sinodata-china-trending-topics",
        "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/sinodata~china-trending-topics/runs": {
      "post": {
        "operationId": "runs-sync-sinodata-china-trending-topics",
        "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/sinodata~china-trending-topics/run-sync": {
      "post": {
        "operationId": "run-sync-sinodata-china-trending-topics",
        "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": "Platforms",
            "type": "array",
            "description": "Which trending lists to fetch. Leave empty for the seven main lists (Weibo, Douyin, Baidu, Toutiao, Bilibili, Zhihu, The Paper). All other lists (Kuaishou, news sites, 36Kr, Weibo entertainment, Baidu movie/TV/novel/car/game/meme boards, Bilibili video ranking) are only fetched when you pick them.",
            "items": {
              "type": "string",
              "enum": [
                "weibo",
                "douyin",
                "baidu",
                "toutiao",
                "bilibili",
                "zhihu",
                "thepaper",
                "kuaishou",
                "tencent",
                "netease",
                "sina",
                "kr36",
                "weibo_ent",
                "baidu_movie",
                "baidu_tv",
                "baidu_novel",
                "baidu_car",
                "baidu_game",
                "baidu_meme",
                "bilibili_rank"
              ],
              "enumTitles": [
                "Weibo hot search (微博热搜)",
                "Douyin hot search (抖音热榜)",
                "Baidu hot search (百度热搜)",
                "Toutiao hot board (今日头条热榜)",
                "Bilibili hot search (B站热搜)",
                "Zhihu hot list (知乎热榜)",
                "The Paper hot news (澎湃热闻)",
                "Kuaishou hot list (快手热榜)",
                "Tencent News hot list (腾讯新闻热点)",
                "NetEase News hot list (网易新闻热榜)",
                "Sina News hot search (新浪热搜)",
                "36Kr hot list (36氪热榜)",
                "Weibo entertainment hot search (微博文娱榜)",
                "Baidu movie board (百度电影榜)",
                "Baidu TV series board (百度电视剧榜)",
                "Baidu novel board (百度小说榜)",
                "Baidu car board (百度汽车榜)",
                "Baidu game board (百度游戏榜)",
                "Baidu meme board (百度热梗榜)",
                "Bilibili video ranking (B站排行榜)"
              ]
            }
          },
          "maxItemsPerPlatform": {
            "title": "Max topics per platform",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many topics to keep from each list (the lists themselves have 18 to 100 entries).",
            "default": 50
          },
          "onlyNew": {
            "title": "Only new topics",
            "type": "boolean",
            "description": "Return only topics that weren't on the list in earlier runs. Ideal with an hourly Schedule: you get (and pay for) just what newly entered each list. The first run returns everything and sets the baseline.",
            "default": false
          },
          "memoryName": {
            "title": "Memory name",
            "type": "string",
            "description": "Runs that share this name share one memory of seen topics. Use a different name for each separate monitor (for example one per Schedule).",
            "default": "default"
          },
          "rememberHours": {
            "title": "Treat as new again after (hours)",
            "minimum": 1,
            "maximum": 720,
            "type": "integer",
            "description": "A topic that dropped off a list and comes back after this many hours counts as new again.",
            "default": 24
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed for normal use.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}