{
  "openapi": "3.0.1",
  "info": {
    "title": "Weibo Scraper 微博 API in English | No Login, $1.50/1K",
    "description": "Weibo (微博) scraper and API in English: translation and AI sentiment built in, no login, from $1.50 per 1,000. Posts by keyword and date, comments and replies, Hot Search incl. city boards and history, user posts, profiles, followers, KOL search, reposts and likes.",
    "version": "0.1",
    "x-build-id": "LoKHaPstw53OQSuyo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clean-fetch~weibo-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clean-fetch-weibo-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/clean-fetch~weibo-scraper/runs": {
      "post": {
        "operationId": "runs-sync-clean-fetch-weibo-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/clean-fetch~weibo-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-clean-fetch-weibo-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to get",
            "enum": [
              "hot_search",
              "search",
              "post_comments",
              "post_details",
              "user_posts",
              "user_profiles",
              "find_users",
              "followers",
              "following",
              "post_spread",
              "hot_posts",
              "links",
              "hot_search_history"
            ],
            "type": "string",
            "description": "Pick what to collect. You pay only for rows delivered: nothing for duplicates, empty results, deleted posts or rows outside your dates. No Weibo login or cookie is ever needed.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search keywords",
            "type": "array",
            "description": "One keyword or #topic# per line, Chinese or English.",
            "items": {
              "type": "string"
            }
          },
          "searchDateFrom": {
            "title": "From (date)",
            "type": "string",
            "description": "Earliest post, e.g. 2026-11-01 or 2026-11-01T08:00:00. Beijing time unless you add an offset. Also used by user posts and history."
          },
          "searchDateTo": {
            "title": "To (date)",
            "type": "string",
            "description": "Latest post, e.g. 2026-11-07 (a plain date means 23:59:59 Beijing time). Empty = now."
          },
          "searchType": {
            "title": "Post type",
            "enum": [
              "all",
              "hot",
              "original",
              "verified",
              "media"
            ],
            "type": "string",
            "description": "Limit search results to one kind of post.",
            "default": "all"
          },
          "contentType": {
            "title": "Contains",
            "enum": [
              "all",
              "pic",
              "video"
            ],
            "type": "string",
            "description": "Only posts with pictures, or with videos.",
            "default": "all"
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "relevant",
              "newest"
            ],
            "type": "string",
            "description": "Newest first uses Weibo real-time search.",
            "default": "relevant"
          },
          "autoLocalize": {
            "title": "Also search the Chinese brand name",
            "type": "boolean",
            "description": "Nike also searches 耐克, Starbucks 星巴克 and so on (180+ brands). Results are merged and deduplicated.",
            "default": true
          },
          "searchAliases": {
            "title": "Extra search terms",
            "type": "array",
            "description": "More names to search together with the keyword (e.g. AJ, 乔丹). Merged and deduplicated.",
            "items": {
              "type": "string"
            }
          },
          "postIds": {
            "title": "Post URLs or IDs",
            "type": "array",
            "description": "weibo.com/<uid>/<code>, m.weibo.cn/detail/<id>, numeric IDs or short codes like RjB5HwkDj. One per line (a pasted column works).",
            "items": {
              "type": "string"
            }
          },
          "userIds": {
            "title": "User IDs or profile URLs",
            "type": "array",
            "description": "Numeric user IDs, weibo.com/u/<id> or custom profile URLs (weibo.com/nike). One per line.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Weibo links (for \"Any Weibo links\")",
            "type": "array",
            "description": "Any mix of post, profile and s.weibo.com #topic# links.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "postFilter": {
            "title": "Which of the user's posts",
            "enum": [
              "all",
              "original",
              "video",
              "pic"
            ],
            "type": "string",
            "description": "For user posts: all posts, originals only (no reposts), videos or pictures.",
            "default": "all"
          },
          "maxPostsPerUser": {
            "title": "Max posts per user",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The most posts per account (user posts mode).",
            "default": 100
          },
          "spread": {
            "title": "Post spread: what to get",
            "enum": [
              "both",
              "reposts",
              "likes"
            ],
            "type": "string",
            "description": "For post spread: reposts, likers, or both.",
            "default": "both"
          },
          "boards": {
            "title": "Hot Search boards",
            "type": "array",
            "description": "Pick one or more boards. Local needs Cities.",
            "items": {
              "type": "string",
              "enum": [
                "realtimehot",
                "social",
                "fun",
                "technologynav",
                "lifenav",
                "sportnav",
                "gamenav",
                "region"
              ],
              "enumTitles": [
                "Real-time 热搜",
                "Social 社会",
                "Entertainment 文娱",
                "Technology 科技",
                "Life 生活",
                "Sports 体育",
                "ACG (anime, comics, games)",
                "Local by city 同城"
              ]
            },
            "default": [
              "realtimehot"
            ]
          },
          "cities": {
            "title": "Cities (for the local board)",
            "type": "array",
            "description": "Chinese city names, e.g. 上海, 北京, 广州, 深圳, 成都.",
            "items": {
              "type": "string"
            }
          },
          "trackChanges": {
            "title": "Track changes since the last run",
            "type": "boolean",
            "description": "Adds status (new / rising / falling / steady / dropped), rank and heat change, time on board and peaks versus your previous run of the same board. Dropped topics are free.",
            "default": true
          },
          "includeTopPosts": {
            "title": "Top posts per topic (Hot Search)",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "0 = topics only. Otherwise the hottest posts of the top 10 topics, charged as posts.",
            "default": 0
          },
          "postsPerTopic": {
            "title": "Posts per topic (hot posts)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "For hot posts: how many posts per trending topic.",
            "default": 5
          },
          "historyOutput": {
            "title": "History output",
            "enum": [
              "summary",
              "snapshots"
            ],
            "type": "string",
            "description": "For Hot Search history. The summary is what most people want; snapshots give the full time series.",
            "default": "summary"
          },
          "findQuery": {
            "title": "Account keyword",
            "type": "string",
            "description": "e.g. 美妆, 汽车博主, 母婴"
          },
          "verifiedType": {
            "title": "Verified",
            "enum": [
              "any",
              "personal",
              "organization",
              "ordinary"
            ],
            "type": "string",
            "description": "Filter accounts by verification.",
            "default": "any"
          },
          "city": {
            "title": "City or province",
            "type": "string",
            "description": "Chinese name, e.g. 上海 or 广东."
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "any",
              "female",
              "male"
            ],
            "type": "string",
            "description": "Filter accounts by gender.",
            "default": "any"
          },
          "school": {
            "title": "School",
            "type": "string",
            "description": "Filter accounts by school (Chinese name)."
          },
          "company": {
            "title": "Company",
            "type": "string",
            "description": "Filter accounts by company (Chinese name)."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "The most main rows per run (posts, accounts…), up to 5,000; for Hot Search boards, topics per board. Hot Search history returns the whole date window by default (up to 20,000 rows) unless you set this. Your spending limit is always respected.",
            "default": 100
          },
          "includeComments": {
            "title": "Also get comments of each post",
            "type": "boolean",
            "description": "Comments are charged as comments.",
            "default": false
          },
          "maxComments": {
            "title": "Max comments per post",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Comments plus replies per post.",
            "default": 50
          },
          "includeReplies": {
            "title": "Include replies to comments",
            "type": "boolean",
            "description": "Each reply follows its comment; counts toward max comments.",
            "default": false
          },
          "includeAuthorProfiles": {
            "title": "Add author profiles",
            "type": "boolean",
            "description": "One profile row per distinct post author (up to 500), joined on authorId = userId. In \"Find accounts\" it returns full profiles. Charged as profiles.",
            "default": false
          },
          "fetchFullText": {
            "title": "Full text of long posts",
            "type": "boolean",
            "description": "No extra charge.",
            "default": true
          },
          "translate": {
            "title": "English translation",
            "enum": [
              "off",
              "short",
              "full"
            ],
            "type": "string",
            "description": "Adds textEn (titleEn for topics). +$1 / 1,000 rows translated.",
            "default": "off"
          },
          "sentimentAnalysis": {
            "title": "AI sentiment (English)",
            "type": "boolean",
            "description": "Adds sentiment (positive / neutral / negative), sentimentScore (-1…1), a one-line sentimentReason and topics. +$1 / 1,000 rows.",
            "default": false
          },
          "geoRollup": {
            "title": "Province rollup",
            "type": "boolean",
            "description": "Adds one row per province the posts came from (share, promoted count, average sentiment). Needs 50+ located posts. $1.50 / 1,000 rows.",
            "default": false
          },
          "adFilter": {
            "title": "Promoted posts",
            "enum": [
              "label",
              "remove"
            ],
            "type": "string",
            "description": "Weibo mixes paid posts into results: label them or leave them out.",
            "default": "label"
          },
          "deltaMode": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "For schedules: returns only posts and comments no earlier run with the same key delivered. Searches newest first and stops when it reaches known posts, so a quiet day costs nothing.",
            "default": false
          },
          "deltaStateKey": {
            "title": "Monitoring key",
            "type": "string",
            "description": "One key per thing you monitor, e.g. nike-daily.",
            "default": "default"
          },
          "cookieString": {
            "title": "Cookie (not needed)",
            "type": "string",
            "description": "Kept so inputs from other Weibo scrapers work. Ignored: nothing here needs a login."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}