
Rednote xiaohongshu (product details) scraper
Pricing
$15.00/month + usage

Rednote xiaohongshu (product details) scraper
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
Total users
8
Monthly users
2
Runs succeeded
97%
Last modified
2 months 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.
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = { "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" }9
10# Run the Actor and wait for it to finish11run = client.actor("mohamed.k.sirag/rednote-xiaohongshu-product-details-scraper").call(run_input=run_input)12
13# Fetch and print Actor results from the run's dataset (if there are any)14print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])15for item in client.dataset(run["defaultDatasetId"]).iterate_items():16 print(item)17
18# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Rednote xiaohongshu (product details) scraper API in Python
The Apify API client for Python is the official library that allows you to use Rednote xiaohongshu (product details) scraper API in Python, providing convenience functions and automatic retries on errors.
Install the apify-client
$pip install apify-client
Other API clients include: