XiaoHongShu Profile Scraper avatar
XiaoHongShu Profile Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
XiaoHongShu Profile Scraper

XiaoHongShu Profile Scraper

Try for free

3 days trial then $30.00/month - No credit card required now

本工具可以处理小红书用户页数据及其发表的文章详情页数据。[小红书](https://www.xiaohongshu.com/) is a famous social e-commerce platform that combines user-generated content with online shopping, catering to the needs of young Chinese consumers. This scraper can get data from xiaohongshu user profile and detail pages.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode




1import { ApifyClient } from 'apify-client';
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
8// Prepare Actor input
9const input = {};
11(async () => {
12    // Run the Actor and wait for it to finish
13    const run = await client.actor("kuaima/xiaohongshu-profile").call(input);
15    // Fetch and print Actor results from the run's dataset (if any)
16    console.log('Results from dataset');
17    const { items } = await client.dataset(run.defaultDatasetId).listItems();
18    items.forEach((item) => {
19        console.dir(item);
20    });
Community logoMaintained by Community
Actor metrics
  • 6 monthly users
  • 97.0% runs succeeded
  • Created in Jun 2023
  • Modified 14 days ago

You might also like these Actors