{
  "openapi": "3.0.1",
  "info": {
    "title": "Weibo Scraper 微博 (No Cookie)—Search, Posts, Comments & BlackCat",
    "description": "[100% No Cookie / No Login — $4.5/1k] All-in-one Sina Weibo (新浪微博) & BlackCat (黑猫投诉) API. Extract keyword search, creator timelines (user_posts with NO cookie!), hot search (微博热搜), comments with English provinces, KOL profiles & sentiment. Auto EN->ZH translation.",
    "version": "0.0",
    "x-build-id": "SngtIIN2i9cJ54twH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/axon-studio~weibo-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-axon-studio-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/axon-studio~weibo-scraper/runs": {
      "post": {
        "operationId": "runs-sync-axon-studio-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/axon-studio~weibo-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-axon-studio-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": "1. Select Scrape Mode",
            "enum": [
              "search",
              "realtime_search",
              "user_posts",
              "hot_timeline",
              "hot_search",
              "user_profile",
              "post_details",
              "post_comments",
              "complaints"
            ],
            "type": "string",
            "description": "Choose what data to extract. All 9 modes work out-of-the-box with NO login or cookies required.",
            "default": "search"
          },
          "searchQuery": {
            "title": "2. Search query (For Search / Realtime / Complaints modes)",
            "type": "string",
            "description": "Enter any brand, product, or topic in English or Chinese (e.g., Tesla, Luckin, Apple, 瑞幸咖啡). Ignored in Hot Timeline / Hot Search modes.",
            "default": "Tesla"
          },
          "autoLocalize": {
            "title": "Auto-translate English query to Chinese (EN -> ZH)",
            "type": "boolean",
            "description": "Automatically translates English keywords or brand names into Chinese to maximize Weibo search coverage.",
            "default": true
          },
          "searchAliases": {
            "title": "Additional search keywords / aliases (Optional)",
            "type": "array",
            "description": "Extra keywords or brand aliases to merge in the same search run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dateStart": {
            "title": "Start Date (YYYY-MM-DD, optional)",
            "type": "string",
            "description": "Only keep posts published on or after this date (e.g., 2026-01-01). Leave empty for no limit.",
            "default": ""
          },
          "dateEnd": {
            "title": "End Date (YYYY-MM-DD, optional)",
            "type": "string",
            "description": "Only keep posts published on or before this date (e.g., 2026-12-31). Leave empty for no limit.",
            "default": ""
          },
          "userIds": {
            "title": "Target User UIDs or Profile URLs (For User Posts / User Profile modes)",
            "type": "array",
            "description": "Weibo numeric UIDs (e.g. 1749127163) or profile URLs (https://weibo.com/u/1749127163).",
            "default": [
              "1749127163"
            ],
            "items": {
              "type": "string"
            }
          },
          "postIds": {
            "title": "Target Post IDs or Post URLs (For Post Details / Post Comments modes)",
            "type": "array",
            "description": "Weibo 16-digit post IDs (e.g. 5353919800151224), mblogids (RnAwdBkNU), or full post URLs.",
            "default": [
              "5353919800151224"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max primary results to return",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of primary items (posts, profiles, or complaints) to scrape (1 to 5,000).",
            "default": 50
          },
          "fullText": {
            "title": "Expand full text of long posts",
            "type": "boolean",
            "description": "Automatically fetches the complete untruncated text when a Weibo post exceeds 140 characters.",
            "default": true
          },
          "sentimentAnalysis": {
            "title": "Built-in Sentiment Analysis (positive / negative / neutral + score)",
            "type": "boolean",
            "description": "Automatically tags every post, comment, and complaint with sentiment polarity and a normalized score (-1.0 to +1.0).",
            "default": true
          },
          "scrapeComments": {
            "title": "💬 Also scrape comments for each post (charged per row)",
            "type": "boolean",
            "description": "Automatically extracts top comments under each scraped post (no cookie needed). Each comment is output and billed as 1 item.",
            "default": false
          },
          "maxCommentsPerPost": {
            "title": "Max comments per post (when 'Also scrape comments' is enabled)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of comments to extract per post when comment scraping is enabled.",
            "default": 10
          },
          "includeAuthorProfiles": {
            "title": "👤 Also extract author profile row for each post (charged per row)",
            "type": "boolean",
            "description": "Outputs a dedicated user_profile row for each unique post author (followers, bio, verification). Charged per row.",
            "default": false
          },
          "adFilter": {
            "title": "Filter out promoted / ad posts",
            "type": "boolean",
            "description": "Skip sponsored promotions in search results.",
            "default": false
          },
          "deltaMode": {
            "title": "Enable Delta Mode (Skip previously scraped items)",
            "type": "boolean",
            "description": "Remembers scraped IDs across runs and only outputs newly published items.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}