Rednote xiaohongshu (product details) scraper avatar
Rednote xiaohongshu (product details) scraper

Pricing

$15.00/month + usage

Go to Store
Rednote xiaohongshu (product details) scraper

Rednote xiaohongshu (product details) scraper

Developed by

Mohamed Sirag

Maintained by Community

Get product data from Rednote (xiaohongshu). Unofficial API. Scrapes product information including prices, descriptions, graphical details, seller data. 从 Rednote (xiaohongshu) 获取产品数据。非官方 API。抓取产品信息,包括价格、描述、图形细节、卖家数据

5.0 (1)

Pricing

$15.00/month + usage

1

Monthly users

6

Runs succeeded

97%

Last modified

a month ago

You can access the Rednote xiaohongshu (product details) scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6    token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11    "url": "https://www.xiaohongshu.com/goods-detail/64156cc6a510be00019423a8?xsec_token=XBSW25kgirD_ywUGrHsIEIivZN_zXKGVOlbgHcLvluh5I=&xsec_source=app_share&instation_link=xhsdiscover%3A%2F%2Fgoods_detail%2F64156cc6a510be00019423a8%3Ftrade_ext%3DeyJjaGFubmVsSW5mbyI6bnVsbCwiZHNUb2tlbkluZm8iOm51bGwsInNoYXJlTGluayI6Imh0dHBzOi8vd3d3LnhpYW9ob25nc2h1LmNvbS9nb29kcy1kZXRhaWwvNjQxNTZjYzZhNTEwYmUwMDAxOTQyM2E4P2FwcHVpZD02N2E5OWJhYzAwMDAwMDAwMGQwMDgyMDMiLCJsaXZlSW5mbyI6bnVsbCwic2hvcEluZm8iOm51bGwsImdvb2RzTm90ZUluZm8iOm51bGwsImNoYXRJbmZvIjpudWxsLCJzZWFyY2hJbmZvIjpudWxsLCJwcmVmZXIiOm51bGx9%26rn%3Dtrue&xhsshare=CopyLink&appuid=67a99bac000000000d008203&apptime=1741450255&share_id=28cb6e3f2fed47a389debd8a0803e6aa"
12};
13
14// Run the Actor and wait for it to finish
15const run = await client.actor("mohamed.k.sirag/rednote-xiaohongshu-product-details-scraper").call(input);
16
17// Fetch and print Actor results from the run's dataset (if any)
18console.log('Results from dataset');
19console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
20const { items } = await client.dataset(run.defaultDatasetId).listItems();
21items.forEach((item) => {
22    console.dir(item);
23});
24
25// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Rednote xiaohongshu (product details) scraper API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Rednote xiaohongshu (product details) scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

npm install apify-client

Other API clients include:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$15.00