惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
D
Docker
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
量子位
有赞技术团队
有赞技术团队
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
M
MIT News - Artificial intelligence
B
Blog
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
月光博客
月光博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Building a Xiaohongshu (RedNote) E-commerce Scraper for R...
Sami · 2026-05-06 · via DEV Community

Sami

When Xiaohongshu (RedNote / Little Red Book / 小红书) launched RedShop — its US-facing e-commerce platform — in April 2026, I noticed every existing scraper on Apify only covered the social side: posts, profiles, comments, videos. None of them touched product listings, vendor catalogs, or pricing data.

So I built one.

Why a dedicated shop scraper?

Xiaohongshu is unusual among Chinese platforms because product listings live in a separate URL space from social posts. The all-in-one social scrapers handle the /explore/ posts surface. RedShop products live behind /goods-detail/ with completely different structure.

Trying to extract product data from a "social" scraper means hacky workarounds. A dedicated commerce-focused tool gives you:

  • Structured product fields (price, sold count, SKU variants, vendor metadata)
  • Native support for vendor/store browsing
  • Cross-border vs domestic flagging
  • Cleaner pricing model: charge per product, not per "result"

What it extracts

For each product:

  • itemId, title, productUrl
  • salePrice, originalPrice, discountPct, currency (CNY for domestic, USD for cross-border)
  • soldCount, wantCount (popularity signals)
  • cover, images
  • vendor (sellerId, name, rating)
  • category path
  • skus (variants with prices and stock)
  • crossBorder flag and shippingOrigin

Three modes

Mode What it does
product_search Search products by keyword, sort by price/sales, filter by price range
vendor_products Full catalog from a specific seller
product_detail Deep dive on specific product URLs (full SKU breakdown)

Real-world use cases

  • DTC brands: monitor your own listings and competitor pricing on China's #1 social commerce platform
  • Dropshippers and resellers: discover trending Chinese products before they hit Amazon or Etsy
  • Cross-border arbitrage: identify SKUs popular in China that haven't reached Western markets yet
  • Investment analysts: track e-commerce activity for Chinese consumer brands
  • Sourcing agents: scout Chinese products at scale for clients in cosmetics, fashion, or home goods

Combined with the RedNote All-in-One Scraper (social side), you can map products to the influencers tagging them — extremely valuable for influencer-product correlation studies.

How to use it

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("zhorex/rednote-shop-scraper").call(run_input={
    "mode": "product_search",
    "searchQuery": "skincare",
    "maxResults": 100,
    "sortBy": "sales",
    "minPrice": 50,
    "maxPrice": 500,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item['title']} — ¥{item['salePrice']} (sold {item['soldCount']})")

Enter fullscreen mode Exit fullscreen mode

Output sample

{
    "itemId": "642a1b3c0000000023019f7e",
    "title": "Skincare Set - Hydrating Toner + Serum + Moisturizer",
    "salePrice": 199.00,
    "originalPrice": 299.00,
    "discountPct": 33.4,
    "currency": "CNY",
    "soldCount": 12500,
    "wantCount": 5400,
    "vendor": {"sellerId": "...", "name": "BeautyBrand Official", "rating": 4.8},
    "category": "Beauty / Skincare / Sets",
    "skus": [{"spec": "Normal Skin", "price": 199.00, "stock": 1200}],
    "crossBorder": false,
    "shippingOrigin": "China"
}

Enter fullscreen mode Exit fullscreen mode

Pricing

Pay-per-event:

  • $0.0075 per product scraped
  • $0.025 per vendor info record

Typical costs:

  • Search 100 products: ~$0.75
  • Full vendor catalog (200 products): ~$1.53
  • 5 competitor vendors with 100 products each: ~$3.88

FAQ

Does it work for cross-border products?
Yes — products are explicitly flagged in the output (crossBorder: true/false) so you can filter domestic vs international listings.

Can I track price changes over time?
Schedule the actor to run daily/weekly via Apify Schedules. The dataset versioning gives you a price history for any product or vendor.

Does it need a proxy?
Residential proxies are recommended for reliable results. The default config uses Apify's residential pool.

Is there an official Xiaohongshu shop API?
No — Xiaohongshu doesn't offer a commerce API for international developers. This actor is the practical alternative.

Try it

RedNote Shop Scraper on Apify — works with Apify's free plan ($5/month credits cover hundreds of products at no cost).

If you build something useful with it, drop a comment — always interested in seeing how people use commerce data.