Trending product analysis
Run recurring searches on a topic and store the results to see which products and tags rise in note volume and engagement over time. Trend signals are derived from the data you collect.
On Xiaohongshu, shoppers decide what to buy by reading each other's notes. Our API turns public notes and linked product listings into JSON: titles, tags, engagement counts, mentioned brands and products, and prices where shown. Use it to spot trends early, follow brand conversation and read what customers say.
# Search public notes for a topic (replace the key)
POST https://api.webfusiondata.com/v1/search
Authorization: Bearer $WFD_API_KEY
{ "site": "xiaohongshu",
"query": "sunscreen",
"country": "CN" }
# Response (sample data, not a live note)
{
"query": "sunscreen",
"results": [
{ "note_title": "Example sunscreen review",
"tags": ["skincare", "SPF"],
"likes": 1200, "comments": 86,
"mentioned_brand": "Example Brand" }
]
}
Sample values for illustration only. Exact field names and nesting for your Xiaohongshu scope are confirmed in the API reference issued with your key.
A Xiaohongshu data API turns public pages on xiaohongshu.com into records your systems can use. Send a note link or a keyword and get JSON with title, tags, engagement counts, mentioned brands and, for linked product listings, price and stock status. Because Xiaohongshu is a social platform first, the product fields depend on what each page shows.
We run the collection layer: managed proxies, page rendering, Xiaohongshu-specific parsing and field validation happen before a response is returned. Large jobs run in the background and arrive by webhook or cloud export, so your integration stays a few HTTPS calls.
Beauty, fashion and lifestyle brands, agencies and market analysts use Xiaohongshu data to see which products are being talked about, how a brand is described, which topics are growing and what customers praise or complain about. Our price monitoring and price intelligence services build on the same data.
From choosing what to collect to loading it into your own systems, in six steps.
Choose note links, product listing pages, or keyword and brand searches on xiaohongshu.com, for example a product type or a brand name.
Note the fields to capture, such as tags, engagement, mentioned brands or price, and confirm what is publicly visible.
Build a JSON body with url (or site and query) and a country value.
Pick /v1/product for one item, /v1/search for result lists, /v1/monitor for scheduled tracking or /v1/bulk for batches.
Send your API key as a bearer token in the Authorization header.
Use the sandbox first; it returns sample responses and uses no live request credits.
We open the Xiaohongshu page, render it, extract the fields and validate them. Single lookups answer in the same request.
Bulk jobs give you a job ID to check at /v1/status/:job_id or to receive by webhook.
JSON is the default, and bulk exports can be delivered as CSV or XLSX.
Each record carries a crawled_at timestamp, so engagement counts and trends can be dated.
Write results to a database, update a BI dashboard, raise alerts from webhooks or run recurring checks with monitors.
The Integration and Data Delivery section includes a worked example.
What the Xiaohongshu data API does for brand, social-commerce and market-trend teams, and which parts are documented today versus settled per project.
Run recurring searches on a topic and store the results to see which products and tags rise in note volume and engagement over time. Trend signals are derived from the data you collect.
Track how often a brand is mentioned in public notes, with the note title, tags and engagement for each, so you can follow brand conversation and campaign reach.
Public comments and review-style notes can be collected as text with their date and like count, for sentiment work on your side. Volume and depth depend on what is publicly visible.
Returns like, comment and save counts where the page displays them, so you can rank notes and products by attention.
Public, account-level figures such as follower tier and posting activity can be aggregated by category. We do not build profiles of private individuals; scope is agreed up front.
Where a note or shop page links a product, its title, brand and price are returned as shown, so mentions can be tied to listings. Stock status comes back where displayed.
Register a product listing for scheduled checks and receive a webhook when its price changes. Each response carries a capture timestamp.
Xiaohongshu shows limited content to signed-out visitors. We scope work to publicly visible pages and confirm what is reliable before you build on it.
Use recurring monitors, webhook callbacks or bulk exports to cloud storage, with type-checked JSON, so fresh data arrives without manual pulls.
The fields our Xiaohongshu data extraction can return, what each one means and how social-commerce teams use it. Most are shown only where the public page displays them.
| Data Field | Description | Business Application | Availability |
|---|---|---|---|
note_id | Note or item ID from the page URL | Identification, de-duplication | Core |
note_title | Title of the public note as shown | Topic and trend analysis | Core |
tags | Hashtags or topic tags shown on the note | Trend detection, topic grouping | Where displayed |
likes / comments / saves | Engagement counts shown on the note | Attention ranking, trend strength | Where displayed |
mentioned_brand | Brand named in the note or linked product | Brand monitoring | Confirm at onboarding |
mentioned_product | Product named or linked in the note | Trending product analysis | Confirm at onboarding |
comment_text | Public comment text with date, where visible | Review and sentiment analysis | Confirm at onboarding |
published_at | Publication date shown on the note | Time series, trend timing | Where displayed |
creator_tier | Public account-level tier or follower band, aggregated | Creator category insights | Confirm at onboarding |
price.amount / price.currency | Price of a linked product listing (CNY) | Price comparison for mentioned products | Confirm at onboarding |
availability | Displayed stock status of a linked listing | Stock monitoring | Confirm at onboarding |
url / crawled_at | Page URL and capture timestamp | Reference, freshness checks, time series | Core |
Core = part of the standard field set on our ecommerce API. Where displayed / available / exposed = returned when the listing on that marketplace shows it, so it can be empty for some products. Confirm at onboarding = settled per project. Images and product detail text are also returned. Field names are illustrative; your API reference is the source of truth.
The Xiaohongshu Product Data API uses the same versioned endpoints as the Ecommerce Scraping API. Xiaohongshu-specific parameter names that are not yet published are marked as illustrative.
| Endpoint | Purpose | Parameters | Expected response |
|---|---|---|---|
POST /v1/productDocumented |
One Xiaohongshu note or listing returned as structured data: title, tags, engagement and linked product details. | Required: urlOptional: country; a dedicated product_code field is a confirm |
One JSON product record, returned synchronously. |
POST /v1/searchDocumented |
Keyword or topic search on xiaohongshu.com, returned as a structured result list. | Required: site (e.g. "xiaohongshu"), queryOptional: country |
JSON with query, result_count and a results array. |
POST /v1/monitorDocumented |
Registers a listing for scheduled price and stock monitoring with webhook notifications. | Required: urlOptional: webhook URL and check frequency names: confirm |
A monitor ID you use to read tracked data later. |
GET /v1/monitor/:idDocumented |
Latest tracked data and change history for one monitored product. | Required: id (path) |
JSON with the current values and recorded changes. |
POST /v1/bulkDocumented |
Submits a batch of URLs for asynchronous processing; results go to storage or a webhook. | Required: list of URLs Optional: delivery destination and format (JSON, CSV or XLSX) names: confirm |
A job ID, then results via webhook or storage export. |
GET /v1/status/:job_idDocumented |
Status and progress of an asynchronous crawl or bulk export. | Required: job_id (path) |
JSON with job state and progress. |
| Situation | Typical HTTP status | How to fix it |
|---|---|---|
Missing or malformed url | 400 | Send the full Xiaohongshu product URL, including https://. |
| Unsupported site or country value | 400 / 422 | Check site and country against the marketplaces confirmed for your account. |
| Missing or invalid API key | 401 | Send Authorization: Bearer <key> and check the key belongs to the right environment (sandbox or live). |
| Listing not found or no longer available | 404 or an empty record | Check the URL; notes and listings can be removed or hidden by their authors. |
| Request limit exceeded | 429 | Wait, then retry with backoff. Response headers show your remaining quota for the window. |
| Temporary processing failure | 5xx | Retry with exponential backoff; for large volumes use /v1/bulk instead of many synchronous calls. |
Status codes follow common REST conventions (429 is the one shown in our published dashboard example). The exact codes and error bodies are listed in the API reference supplied with your key.
Two common calls and what comes back. Illustrative sample data — not live product information.
curl -X POST https://api.webfusiondata.com/v1/product \
-H "Authorization: Bearer $WFD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.xiaohongshu.com/explore/EXAMPLE123",
"country": "CN"
}'
curl -X POST https://api.webfusiondata.com/v1/search \
-H "Authorization: Bearer $WFD_API_KEY" \
-d '{"site": "xiaohongshu", "query": "sunscreen", "country": "CN"}'
url or site + query select what to fetch; country selects the marketplace. The key stays in an environment variable — never hard-code it or ship it in client-side code.{
"note_id": "EXAMPLE123",
"marketplace": "CN",
"note_title": "Example sunscreen review",
"tags": ["skincare", "SPF"],
"likes": 1200,
"comments": 86,
"mentioned_brand": "Example Brand",
"mentioned_product": "Example Sunscreen, SPF 50",
"price": { "amount": 129.00, "currency": "CNY" },
"published_at": "2026-01-10T14:20:00Z",
"url": "https://www.xiaohongshu.com/explore/EXAMPLE123",
"crawled_at": "2026-01-15T09:30:00Z"
}
{
"query": "sunscreen",
"result_count": 48,
"results": [
{ "note_title": "Example sunscreen review",
"tags": ["skincare", "SPF"],
"likes": 1200, "comments": 86,
"mentioned_brand": "Example Brand" }
]
}
The generic search sample on our Ecommerce Scraping API page uses a flat price number and an in_stock flag, while the Xiaohongshu example above centers on note-level fields. The final Xiaohongshu schema is confirmed in your API reference.
Choose the marketplace with the country parameter. We do not claim global coverage: the marketplaces available to you are confirmed during onboarding, and requests outside that list are rejected rather than guessed.
| Marketplace | Xiaohongshu domain | Local currency | Status for the API |
|---|---|---|---|
| China (mainland) | xiaohongshu.com | CNY | Confirm at onboarding |
This is the site we plan around, not a coverage guarantee. Xiaohongshu is also used abroad under another app name; tell us what you need and we will confirm feasibility.
Why it matters: Xiaohongshu is a social platform first and a store second. We collect only public content, not private accounts or anything behind sign-in, and we confirm with you, before you build, which fields can be collected reliably and lawfully for your use.
What is published today, and what we give you in writing before you go live. We do not publish numeric limits, latency or uptime figures on this page.
| Topic | How it works | Status |
|---|---|---|
| Authentication | Your API key is sent as a bearer token in the Authorization header. Use the sandbox key while testing. | Documented |
| Limits and concurrency | Per-minute limits and concurrent-request allowances scale with your plan; response headers show your remaining quota. Use /v1/bulk for very large volumes. | DocumentedNumbers: your plan |
| Validation and errors | Malformed or missing parameters are rejected with a standard HTTP error (see Endpoints), and responses are schema-checked before delivery. | Exact codes: API reference |
| Timeouts and retries | Set a client timeout and retry reads on 429 and 5xx with exponential backoff. Move long work to /v1/bulk and /v1/status/:job_id, and avoid blind retries of POST /v1/monitor or /v1/bulk. | Recommended practice |
| Pagination | Search returns a result_count and result list. Pagination for deeper results is scoped per project. | Confirm at onboarding |
| Usage monitoring | An account dashboard shows request volume, latency, success rate and job status. | Documented |
A Xiaohongshu API integration needs a request layer, somewhere to store results and a schedule. The data can then feed pricing tools, databases, BI dashboards, reports and analytics pipelines.
Agree marketplaces, fields and refresh frequency, then call the sandbox with a few sample products.
Put authentication, timeouts and retry backoff in one small client module your whole team reuses.
Upsert records by note ID and marketplace, and keep every crawled_at timestamp to build a time series.
Use monitors and bulk jobs, act on webhooks, and connect the table to your dashboards and reports.
import os, sqlite3, requests
API = "https://api.webfusiondata.com/v1/product"
HEADERS = {"Authorization": f"Bearer {os.environ['WFD_API_KEY']}"}
def fetch(path):
body = {
"url": f"https://www.xiaohongshu.com/{path}",
"country": "CN",
}
r = requests.post(API, json=body, headers=HEADERS, timeout=60)
r.raise_for_status()
return r.json()
db = sqlite3.connect("xiaohongshu_notes.db")
db.execute("CREATE TABLE IF NOT EXISTS notes "
"(note_id TEXT, likes INTEGER, comments INTEGER, at TEXT)")
for path in ["explore/EXAMPLE123"]:
item = fetch(path)
db.execute("INSERT INTO notes VALUES (?, ?, ?, ?)", (
item["note_id"],
item.get("likes"),
item.get("comments"),
item.get("crawled_at"),
))
db.commit()
Default response format for every endpoint.
Bulk export jobs delivered as CSV or XLSX to S3, GCS or your own bucket.
Callbacks when a job completes or a tracked value changes, plus recurring checks through /v1/monitor.
Managed warehouse connectors, client libraries and no-code paths.
Listed on the Ecommerce Scraping API page; availability for your Xiaohongshu scope is confirmed during onboarding. See also the AI Parser and ecommerce datasets. Related: product availability and MAP monitoring.
A REST API from WebFusion Data that returns public Xiaohongshu content as structured JSON. Send a note or listing URL, or a keyword and a country, and receive titles, tags, engagement counts, mentioned brands and, for linked listings, price and availability where shown. It shares endpoints with our Ecommerce Scraping API, so you never run proxies, browsers or parsers.
Core fields are note ID, title, URL and a capture timestamp. Tags, engagement counts and publication date come back where the page shows them. Brand and product mentions, comment text, creator tiers and linked listing prices are confirmed per project. See the data fields table.
Yes, by repeating a search on a schedule and storing every result. Rising engagement and note volume for a product or tag over time is the trend signal, and you compute it from the dated records. How deep each search can go is confirmed at onboarding.
Public comments and review-style notes can be collected as text with date and like count where they are visible without signing in. How many are available per note varies, so volume is confirmed with you before you build on it.
At an aggregate level, for public accounts, for example engagement by creator tier within a category. We do not build profiles of private individuals or collect personal data behind sign-in, and we agree the scope with you up front.
Yes. Xiaohongshu shows limited content to signed-out visitors and changes its pages often, and personal data is regulated in China and elsewhere. We scope each project to public content, say plainly which fields are reliable and do not promise coverage we cannot verify. Tell us what you need and we will confirm it at onboarding.
Each request carries your API key as a bearer token in the Authorization header. Every account includes a sandbox for testing with sample responses. Keep the key on your server, in an environment variable or secrets manager, and never in client-side code.
JSON is the default for all endpoints. Bulk export jobs can also be delivered as CSV or XLSX, to S3, GCS or your own bucket. Webhooks, SDKs and database push options are described in Integration and Data Delivery.
Use the Request API Demo button or the form below and tell us the marketplaces, product volume, fields, refresh frequency and delivery format you need. We confirm the scope and set up access, including the sandbox. You can also email sales@webfusiondata.com or book a consultation.

At WebFusionData, we specialize in cutting-edge web scraping solutions to help you unlock valuable insights and drive business growth. Whether you need custom data extraction, real-time monitoring, or large-scale web scraping, our team is here to assist you.
Ready to get started? Contact us for a personalized quote.