Xueqiu User Posts Scraper

Xueqiu User Posts Scraper

by ecomscrape

Scrape user posts, stock discussions, and sentiment data from China's Xueqiu.com. Get structured financial social media data for investment research and analysis.

159 runs
11 users
Try This Actor

Opens on Apify.com

About Xueqiu User Posts Scraper

Need to track market sentiment on Chinese stocks? This scraper pulls posts directly from Xueqiu, which is like the Chinese blend of Twitter and Seeking Alpha for serious investors. I've used it to gather raw, unfiltered discussions from users, which is data you just can't get from traditional financial news. It collects user posts, deep-dive stock threads, portfolio updates, and all the associated metadata—think timestamps, user info, and engagement metrics. This lets you analyze trends, gauge retail investor sentiment on specific stocks, and backtest trading ideas against real social chatter. It’s built for developers and analysts who need structured data for research, dashboards, or custom screening tools. You configure the target users or stock symbols, run it, and get clean JSON or CSV output ready for your database. It handles the complexities of the site so you can focus on finding signals in the noise.

What does this actor do?

Xueqiu User Posts Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Xueqiu User Posts Scraper

Overview

This actor scrapes posts and metadata from user profiles on Xueqiu.com, a major Chinese financial social network. It automates the collection of investment discussions, stock analysis, and user engagement data for financial research and market sentiment analysis.

Key Features

  • Extracts over 80 data fields per post, including full text, timestamps, and attached media links.
  • Captures engagement metrics: likes, retweets, comments, and view counts.
  • Identifies and extracts mentioned stock symbols and financial instruments.
  • Targets specific user profiles via their profile URLs.
  • Configurable limits on posts per profile and retry logic for reliability.

How to Use

Configure the actor using a JSON input. The core requirement is providing an array of Xueqiu user profile URLs. Using Apify Proxy is recommended to avoid bot detection.

Input/Output

Input Configuration (JSON):

{
  "max_retries_per_url": 2,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "SG"
  },
  "max_items_per_url": 20,
  "urls": [
    "https://xueqiu.com/u/5355205180",
    "https://xueqiu.com/u/5584866422"
  ]
}

Parameters:
* urls: (Required) Array of target user profile URLs (e.g., https://xueqiu.com/u/123456).
* max_items_per_url: Maximum number of posts to scrape per profile.
* max_retries_per_url: Retry attempts for failed page access.
* proxy: Configure useApifyProxy: true with residential proxy groups. Set apifyProxyCountry to match your target data region (e.g., SG for Singapore).

Output:
The actor outputs a dataset of items, each representing a scraped post. Each item includes fields such as:
* text: The full post content.
* post_id, created_at, user_id, user_name.
* Engagement counts: likes, retweets, comments, views.
* symbols: Array of stock symbols mentioned in the post.
* pics/video: Arrays of media URLs attached to the post.

For issues, contact the developer via My profile.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Xueqiu User Posts Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
ecomscrape
Pricing
Paid
Total Runs
159
Active Users
11
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support