Weibo Scraper — Comments, Trends & KOL Profiles avatar

Weibo Scraper — Comments, Trends & KOL Profiles

Pricing

from $3.50 / 1,000 results

Go to Apify Store
Weibo Scraper — Comments, Trends & KOL Profiles

Weibo Scraper — Comments, Trends & KOL Profiles

Extract public Weibo comments, commenter leads, real-time hot trends and creator profiles. Export post engagement, comment text, author IDs, verification, follower counts, locations and profile links for China social listening, KOL discovery, audience research and brand monitoring.

Pricing

from $3.50 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

0

Monthly active users

15 days ago

Last modified

Features

Limited permissions

Share

The definitive Sina Weibo data extractor on Apify. This high-performance Weibo scraper extracts public comments, commenter audience data, real-time hot-search trends, post engagement, and creator (KOL) profiles from Weibo (新浪微博) — completely login-free and without cookie sessions. Seamlessly collect comment narratives, like counts, nested replies, commenter user IDs, verified follower numbers, regional IP locations, active hashtags, and high-resolution media attachments.

Export structured Chinese social intelligence instantly to JSON, CSV, Excel, or API.

Apify Actor


⚡ At a glance

FeatureSpecification
Target PlatformSina Weibo (新浪微博) / Mobile (m.weibo.cn)
Data ScopePost comments, nested replies, live hot search board (热搜榜), creator/KOL profiles, post metrics
Supported OperationspostComments (audience data), hotTrends (rankings), userProfiles (KOL data), postDetails
Comment OrderingPopular comments (hot) or chronological order (latest)
Audience SignalsCommenter ID, name, verified badge status, follower counts, location / IP territory
Pagination & DepthUnlocked 1,000+ comments with cursor-based deep pagination (zero artificial limits)
Network ArchitecturePure HTTP lightweight API-style requests with automatic anonymous session handling
Execution Speed~15–30 seconds for 50 records; ~50 seconds for 300+ comments
Export FormatsClean tabular datasets: JSON, CSV, XLSX, HTML Table, XML, Apify Webhooks

🔎 Why scrape Weibo?

Weibo (新浪微博) is China's premier public social microblogging network, boasting over 580 million monthly active users and generating billions of daily impressions. Its legendary real-time hot-search board (热搜) dictates national conversations, cultural phenomena, and viral consumer trends across Mainland China. For international brands, PR agencies, hedge funds, e-commerce managers, and market researchers, Weibo is the ultimate source of unfiltered consumer sentiment:

  • 🇨🇳 Chinese Market Sentiment & Brand Perception: Track real consumer feedback on product launches, PR campaigns, foreign luxury brands, and automotive announcements directly from local Chinese netizens.
  • 🌟 KOL & Influencer Discovery: Identify Key Opinion Leaders (KOLs) and Key Opinion Consumers (KOCs) discussing your vertical, analyzing their verified credentials, follower volumes, and engagement ratios.
  • 🔥 Real-Time Hot Search Arbitrage: Capture breaking Chinese cultural, entertainment, and financial trends from the Weibo Hot Search Board before they emerge on Western media platforms.
  • 👥 Audience & Commenter Profiling: Transform broad comment sections into actionable B2B/B2C prospect databases containing commenter IDs, follower counts, geographical provinces, and engagement habits.

Manual collection from Weibo is notoriously difficult: dynamic infinite scroll architectures, complex Base-62 ID encoding schemes, and Chinese-language interfaces make manual copy-pasting unfeasible. This Weibo scraper streamlines data collection into structured datasets within seconds.


✨ Key features

  • 💬 High-Volume Comment Harvesting: Extract hundreds or thousands of comments and nested reply previews from any public Weibo post.
  • 🔥 Live Hot Search Board (hotTrends): Capture the real-time Weibo hot search rankings with position, heat score, category badges, and search query links.
  • 🧑‍💼 KOL & User Profile Enrichment (userProfiles): Retrieve comprehensive creator metrics including bio description, follower count, following count, total post count, and official verification badges (Weibo VIP / Enterprise).
  • 📊 Post Engagement & Content (postDetails): Extract total repost counts, comment counts, like counts, full post text, hashtag topics, image galleries, and video URLs.
  • 🔄 Unlocked 1,000+ Deep Pagination: No restrictive item caps. Request 1,000, 2,000, or 5,000 comments; the crawler traverses cursor tokens across all available pages.
  • 🔀 Flexible Identifier Resolution: Accepts standard desktop URLs (weibo.com), mobile web URLs (m.weibo.cn), or raw numeric IDs (mid), automatically converting Base-62 alphanumeric strings to numeric IDs.
  • ⚡ Lightweight Pure-HTTP Pipeline: Operates without headless browser overhead, ensuring ultra-low memory consumption (512 MB) and minimal cost per 1,000 records.
  • 🛡️ Built-in Session Bootstrapping: Automatically generates and rotates anonymous public visitor tokens for seamless, continuous scraping.

🎯 Use cases & applications

1. China Social Listening & Sentiment Analysis

Feed localized Chinese text comments directly into natural language processing (NLP) pipelines, Large Language Models (LLMs), or sentiment classifiers to gauge public reaction to brand campaigns, new vehicle debuts, or consumer goods.

2. Influencer & KOL Vetting

Validate influencer reach before committing marketing budgets. Compare an influencer’s claimed audience with actual commenter profiles, follower ratios, and genuine engagement.

3. Crisis Management & PR Monitoring

Monitor the pace and sentiment of comments during PR incidents in the Greater China market. Track whether sentiment shifts from critical to neutral as corporate statements are published.

4. Competitive Brand Benchmarking

Compare engagement velocity (reposts vs. comments vs. likes) between competing brands in luxury retail, beauty, electronics, and automotive sectors.

5. Trend Spotting & Viral Content Discovery

Poll the Weibo Hot Search board every hour via automated scheduling to detect viral topics, memes, and emerging product interests early.


🧭 How to configure inputs

The actor supports four primary operations via the operation parameter:

1. postComments (Default)

Extracts comments and visible replies from one or more Weibo posts.

  • Input: Paste post URLs into startUrls or numeric IDs into postIds.
  • Supports sorting by popular (hot) or chronological (latest).

2. hotTrends

Extracts the live Weibo Hot Search Board rankings.

  • No URLs required. Simply select hotTrends and run.

3. userProfiles

Extracts public profile information for specific Weibo creators or users.

  • Input: Paste profile URLs into startUrls or numeric user IDs into userIds.

4. postDetails

Extracts comprehensive metrics, media links, and full copy for specific posts.

  • Input: Paste post URLs into startUrls or numeric IDs into postIds.

📥 Input parameters

ParameterTypeRequiredDefaultDescription
operationStringNo"postComments"Mode: "postComments", "hotTrends", "userProfiles", or "postDetails".
startUrlsArrayNoPrefilled post URLArray of public Weibo post, mobile detail, or user profile URLs.
postIdsArray of stringsNo[]Optional numeric Weibo post IDs (mid).
userIdsArray of stringsNo[]Optional numeric Weibo user IDs for profile extraction.
maxItemsIntegerNo500Maximum unique items to collect. Set to 0 for unlimited pagination. Fast prefill is set to 50.
commentSortStringNo"hot"Comment order: "hot" (Popular) or "latest" (Chronological).
includeRepliesBooleanNotrueWhen true, saves nested comment reply previews as separate dataset rows.
proxyConfigurationObjectNo{ "useApifyProxy": true }Connection configuration for anonymous access.

Example Input (input.json)

{
"operation": "postComments",
"startUrls": [
{ "url": "https://m.weibo.cn/detail/5285773987283226" }
],
"maxItems": 150,
"commentSort": "hot",
"includeReplies": true,
"proxyConfiguration": {
"useApifyProxy": true
}
}

📤 Output dataset schema

The output format adapts depending on the selected operation:

💬 Comment records (recordType: "comment" or "comment-reply")

FieldTypeCoverageDescription
recordTypestring🟢 High"comment" or "comment-reply"
commentIdstring🟢 HighUnique numerical comment ID (idstr)
postIdstring🟢 HighID of the parent post
parentCommentIdstring🟡 ConditionalID of the parent comment (on reply rows)
textstring🟢 HighFull comment text with HTML tags stripped
likesCountnumber🟢 HighTotal likes received by comment
createdAtstring🟢 HighISO 8601 creation timestamp
sourcestring🟡 ConditionalClient / mobile device used to publish
authorIdstring🟢 HighCommenter's unique Weibo user ID
authorNamestring🟢 HighCommenter's public screen name
authorFollowersCountnumber🟢 HighCommenter's public follower count
authorLocationstring🟡 ConditionalCommenter's verified location or IP territory
authorVerifiedboolean🟢 HighWhether commenter has verified badge
profileUrlstring🟢 HighDirect link to commenter's profile
postUrlstring🟢 HighDirect canonical link to the parent post
scrapedAtstring🟢 HighISO 8601 extraction timestamp

🔥 Hot trend records (recordType: "hot-trend")

FieldTypeCoverageDescription
recordTypestring🟢 High"hot-trend"
ranknumber🟢 HighPosition on the Hot Search board (1–50)
titlestring🟢 HighTrending topic title / search keyword
hotValuenumber🟢 HighReal-time heat index score
categorystring🟡 ConditionalTopic classification (Entertainment, Sports, Tech)
labelstring🟡 ConditionalVisual badge descriptor (热, 新, 爆, 荐)
urlstring🟢 HighDirect search URL on Weibo for the topic

🧑‍💼 User profile records (recordType: "user-profile")

FieldTypeCoverageDescription
recordTypestring🟢 High"user-profile"
userIdstring🟢 HighUnique numerical user ID
userNamestring🟢 HighAccount display name
descriptionstring🟢 HighAccount biography description
followersCountnumber🟢 HighVerified follower count
followingCountnumber🟢 HighFollowing account count
statusesCountnumber🟢 HighTotal posts published to date
verifiedboolean🟢 HighAccount verification status
verifiedReasonstring🟡 ConditionalOfficial reason for account verification
genderstring🟡 ConditionalDisplayed gender (m or f)
locationstring🟢 HighDisplayed province and city
avatarUrlstring🟢 HighProfile avatar image link

📊 Sample output record (Comment)

{
"recordType": "comment",
"commentId": "5039281749281920",
"postId": "5285773987283226",
"text": "这个设计太惊艳了!期待国内尽快发布上市!",
"likesCount": 1420,
"createdAt": "2026-11-09T14:22:10.000Z",
"authorId": "1829471928",
"authorName": "数码探索家",
"authorFollowersCount": 45000,
"authorLocation": "北京",
"authorVerified": true,
"authorVerifiedReason": "知名数码博主",
"profileUrl": "https://weibo.com/u/1829471928",
"postUrl": "https://m.weibo.cn/detail/5285773987283226",
"scrapedAt": "2026-11-10T12:45:00.000Z"
}

🚀 How to use & programmatic integration

Python Integration via Apify Client

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
"operation": "postComments",
"startUrls": [
{"url": "https://m.weibo.cn/detail/5285773987283226"}
],
"maxItems": 300,
"commentSort": "hot",
"includeReplies": True
}
run = client.actor("haketa/weibo-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"[{item.get('authorName')}]: {item.get('text')} ({item.get('likesCount')} likes)")

Node.js / JavaScript Integration

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({
token: 'YOUR_APIFY_TOKEN',
});
const run = await client.actor('haketa/weibo-scraper').call({
operation: 'hotTrends',
maxItems: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(trend => {
console.log(`#${trend.rank} ${trend.title} — Heat: ${trend.hotValue}`);
});

Direct REST API Export

curl -X GET "https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=csv&clean=true" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-o weibo_comments.csv

Automated Webhook Integration (Zapier / Make / Webhook)

You can automatically stream newly scraped Weibo rows into external databases or notification systems when runs complete:

{
"event": "ACTOR.RUN.SUCCEEDED",
"actorId": "haketa/weibo-scraper",
"datasetId": "your-default-dataset-id",
"targetUrl": "https://api.yourcompany.com/webhooks/weibo-feed"
}

🔒 Data Quality & Integrity Assurance

Every extracted Weibo record undergoes strict normalization before saving to the Apify dataset:

  • Encoding & Unicode Integrity: Chinese characters (Simplified & Traditional) and specialized punctuation marks are preserved with strict UTF-8 compliance.
  • HTML & Emoticon Normalization: Post bodies and comments have raw HTML elements, tracker pixels, and anchor tags removed, while visual Chinese emoticons ([偷笑], [赞], [心]) are mapped to clean text tags.
  • Metrics Normalization: Numerical values containing Chinese shorthand notations (such as 万 for tens of thousands or 亿 for hundreds of millions) are converted to clean, integer representations.
  • Cross-Run Deduplication: Unique keys constructed from record types and Weibo canonical IDs guarantee that duplicate rows are never emitted across multi-URL campaigns.

⚖️ Comparison: Manual vs. In-House vs. Weibo Scraper

FeatureManual CollectionCustom In-House CrawlerWeibo Scraper (Actor)
Speed10 comments / 5 minHigh engineering overhead100+ comments / 15 seconds
AuthenticationManual phone login requiredSession cookies expire rapidlyAutomated anonymous session bootstrap
Replies SupportTedious manual expansionComplex nested paginationAutomated flattened reply extraction
KOL MetricsMust visit each profileMultiple rate-limited API callsPre-joined commenter follower data
Cost EfficiencyHigh labor costHeavy maintenance costsFractions of a cent per run

💡 Best practices for large-scale extraction

  1. Multi-Post Aggregation: To build extensive market sentiment datasets, pass multiple post URLs simultaneously in startUrls. The scraper processes each post and automatically eliminates duplicate comment records.
  2. KOL Discovery Pipeline: Run postComments with commentSort: "hot" to find the most influential respondents, then feed their authorId values into a secondary userProfiles run for complete demographic profiles.
  3. Automated Trend Tracking: Schedule an Apify run every 60 minutes for hotTrends to maintain a historical database of China's top trending topics over weeks or months.
  4. Data Normalization: Chinese social posts frequently utilize emojis and shorthand. Text fields have HTML tags stripped and image alt tags converted to standard bracketed text descriptors for effortless text mining.

❓ Frequently Asked Questions (FAQ)

Do I need a Weibo account, Chinese phone number, or login cookies?

No. The scraper utilizes automated visitor session generation, allowing you to extract public posts, comments, creator profiles, and trends without logging in or providing personal credentials.

How many comments can I extract from a single post?

The actor traverses all publicly visible comments without artificial clamps. You can collect hundreds to thousands of rows depending on the conversation volume and your specified maxItems.

Does the scraper translate Chinese text into English?

The scraper extracts the original, authentic Chinese text (text) to preserve source fidelity for NLP, LLM, and sentiment analysis tasks. You can easily feed the exported JSON or CSV into translation APIs downstream.

Can I extract replies made to comments?

Yes. Setting includeReplies: true (the default) captures visible reply discussions, labeling them as comment-reply and tagging them with parentCommentId for clear hierarchical reconstruction.

What export formats are supported?

You can download your datasets in JSON, CSV, Microsoft Excel (XLSX), XML, or query results programmatically using the Apify REST API and integrations.

How does pagination handle massive comment sections?

The scraper reads the server-side pagination cursor returned by each response. When you request hundreds or thousands of comments, it automatically advances the cursor from page to page until the requested volume is fulfilled or the post runs out of comments.

Can I monitor brand mentions across multiple posts simultaneously?

Yes. Simply paste multiple Weibo URLs into startUrls. The actor will cycle through each post, extracting comments and engagement metrics into a single unified dataset with built-in deduplication.

Are images and videos downloaded?

No. Public media URLs are exported when available, which keeps runs fast and inexpensive — download the files separately if you need the binaries.

Can I schedule recurring runs for daily Chinese social listening?

Yes. You can use Apify Schedules to trigger runs on an hourly, daily, or weekly cadence. Combine this with Apify webhooks or Google Sheets integration to build automated social listening dashboards without code.



📋 Changelog

Version 1.2 (2026-11)

  • Deep Pagination Support: Removed arbitrary Math.min clamps and pagination ceilings, unlocking continuous pagination past 1,000+ comments.
  • Fast Prefill Execution: Tuned prefill parameters to complete standard sample runs in under 30 seconds with 100% data fidelity and 0 duplicates.
  • Enhanced Data Normalization: Improved regex parsing for Chinese numeric abbreviations (万, 亿), Base-62 ID decoding, and HTML text stripping.
  • Cleaned Dataset Schemas: Removed legacy schema blocks and ensured 100% strict Apify CLI compliance.
  • Documentation Overhaul: Added comprehensive SEO keyword mapping, field coverage indicators, and architecture summaries.

Version 1.1 (2026-08)

  • Added nested reply extraction with parentCommentId attribution.
  • Added live Weibo Hot Search board (hotTrends) ranking extraction.
  • Integrated automated anonymous session bootstrapping.

Version 1.0 (2026-08)

  • Initial release supporting comment extraction and creator profiles on Weibo.