INQUIRE NOW
INQUIRE NOW
REST API · JSON · Xiaohongshu social commerce data

Xiaohongshu Data API for Social Commerce Intelligence & Trending Product Analysis

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.

  • Trending product detection
  • Brand mention monitoring
  • Public review collection
  • Engagement metrics
  • Creator-level aggregate insights
  • Scheduled monitors with webhooks
/v1/searchIllustrative sample
# 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.

How to read this page: Documented = described on our Ecommerce Scraping API page; Illustrative = sample data or example code, not live output; Confirm at onboarding = depends on your Xiaohongshu scope and is settled with our team before you build on it.

What Is the Xiaohongshu Product Data API?

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.

How the Xiaohongshu API Works

From choosing what to collect to loading it into your own systems, in six steps.

Your application WebFusion Data API Collection & parsing layer Validated JSON Database · dashboard · app
1

Define topics, brands or pages

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.

2

Configure the request

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.

3

Authenticate

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.

4

Process and retrieve

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.

5

Receive structured data

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.

6

Integrate into your systems

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.

Key Xiaohongshu API Features

What the Xiaohongshu data API does for brand, social-commerce and market-trend teams, and which parts are documented today versus settled per project.

TR

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.

Search: documentedNote data: confirm
BM

Brand monitoring

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.

Where displayedScope: confirm
RV

Consumer review collection

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.

Confirm at onboarding
EN

Engagement metrics

Returns like, comment and save counts where the page displays them, so you can rank notes and products by attention.

Where displayed
CR

Creator-level insights

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.

Confirm at onboarding
PD

Product data extraction

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.

Where displayedLinking: confirm
PM

Price and listing monitoring

Register a product listing for scheduled checks and receive a webhook when its price changes. Each response carries a capture timestamp.

DocumentedListing pages: confirm
AC

Access and sign-in limits

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.

Confirm at onboarding
AU

Scheduled delivery

Use recurring monitors, webhook callbacks or bulk exports to cloud storage, with type-checked JSON, so fresh data arrives without manual pulls.

Documented

Xiaohongshu Product Data Fields

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 FieldDescriptionBusiness ApplicationAvailability
note_idNote or item ID from the page URLIdentification, de-duplicationCore
note_titleTitle of the public note as shownTopic and trend analysisCore
tagsHashtags or topic tags shown on the noteTrend detection, topic groupingWhere displayed
likes / comments / savesEngagement counts shown on the noteAttention ranking, trend strengthWhere displayed
mentioned_brandBrand named in the note or linked productBrand monitoringConfirm at onboarding
mentioned_productProduct named or linked in the noteTrending product analysisConfirm at onboarding
comment_textPublic comment text with date, where visibleReview and sentiment analysisConfirm at onboarding
published_atPublication date shown on the noteTime series, trend timingWhere displayed
creator_tierPublic account-level tier or follower band, aggregatedCreator category insightsConfirm at onboarding
price.amount / price.currencyPrice of a linked product listing (CNY)Price comparison for mentioned productsConfirm at onboarding
availabilityDisplayed stock status of a linked listingStock monitoringConfirm at onboarding
url / crawled_atPage URL and capture timestampReference, freshness checks, time seriesCore

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.

Xiaohongshu API Endpoints and Request Parameters

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.

EndpointPurposeParametersExpected response
POST /v1/product
Documented
One Xiaohongshu note or listing returned as structured data: title, tags, engagement and linked product details. Required: url
Optional: country; a dedicated product_code field is a confirm
One JSON product record, returned synchronously.
POST /v1/search
Documented
Keyword or topic search on xiaohongshu.com, returned as a structured result list. Required: site (e.g. "xiaohongshu"), query
Optional: country
JSON with query, result_count and a results array.
POST /v1/monitor
Documented
Registers a listing for scheduled price and stock monitoring with webhook notifications. Required: url
Optional: webhook URL and check frequency names: confirm
A monitor ID you use to read tracked data later.
GET /v1/monitor/:id
Documented
Latest tracked data and change history for one monitored product. Required: id (path) JSON with the current values and recorded changes.
POST /v1/bulk
Documented
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_id
Documented
Status and progress of an asynchronous crawl or bulk export. Required: job_id (path) JSON with job state and progress.

Common validation errors

SituationTypical HTTP statusHow to fix it
Missing or malformed url400Send the full Xiaohongshu product URL, including https://.
Unsupported site or country value400 / 422Check site and country against the marketplaces confirmed for your account.
Missing or invalid API key401Send Authorization: Bearer <key> and check the key belongs to the right environment (sandbox or live).
Listing not found or no longer available404 or an empty recordCheck the URL; notes and listings can be removed or hidden by their authors.
Request limit exceeded429Wait, then retry with backoff. Response headers show your remaining quota for the window.
Temporary processing failure5xxRetry 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.

Sample API Request and JSON Response

Two common calls and what comes back. Illustrative sample data — not live product information.

1 · Look up one note / product
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"
  }'
2 · Search Xiaohongshu by keyword
curl -X POST https://api.webfusiondata.com/v1/search \
  -H "Authorization: Bearer $WFD_API_KEY" \
  -d '{"site": "xiaohongshu", "query": "sunscreen", "country": "CN"}'
Parameters used: 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.
Response to request 1Illustrative
{
  "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"
}
Response to request 2Illustrative
{
  "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.

Supported Xiaohongshu Storefront

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.

MarketplaceXiaohongshu domainLocal currencyStatus for the API
China (mainland)xiaohongshu.comCNYConfirm 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.

Authentication, Rate Limits and Error Handling

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.

TopicHow it worksStatus
AuthenticationYour API key is sent as a bearer token in the Authorization header. Use the sandbox key while testing.Documented
Limits and concurrencyPer-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 errorsMalformed 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 retriesSet 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
PaginationSearch returns a result_count and result list. Pagination for deeper results is scoped per project.Confirm at onboarding
Usage monitoringAn account dashboard shows request volume, latency, success rate and job status.Documented

Integration and Data Delivery

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.

Integration workflow

1

Scope and test

Agree marketplaces, fields and refresh frequency, then call the sandbox with a few sample products.

2

Build the request layer

Put authentication, timeouts and retry backoff in one small client module your whole team reuses.

3

Store the results

Upsert records by note ID and marketplace, and keep every crawled_at timestamp to build a time series.

4

Schedule and alert

Use monitors and bulk jobs, act on webhooks, and connect the table to your dashboards and reports.

Example: fetch a note and store its engagement Illustrative

Python · requests + sqlite3
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()

Delivery options

JSON

Default response format for every endpoint.

Documented

CSV, Excel and cloud storage

Bulk export jobs delivered as CSV or XLSX to S3, GCS or your own bucket.

Documented

Webhooks and scheduled monitors

Callbacks when a job completes or a tracked value changes, plus recurring checks through /v1/monitor.

Documented

Database push, SDKs and no-code

Managed warehouse connectors, client libraries and no-code paths.

Languages: confirm

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.

FAQs

Xiaohongshu Product Data API Frequently Asked Questions

What is the Xiaohongshu data API?

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.

What data does the Xiaohongshu API return?

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.

Can I find trending products on Xiaohongshu?

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.

Can I collect consumer reviews and comments?

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.

Can I analyse influencers and creators?

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.

Are there limits on what Xiaohongshu data can be collected?

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.

How does API authentication work?

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.

Which response formats are available?

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.

How can I request API access?

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.

Question mark illustration

Contact Us Now!

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.

FAQ Illustration

Get In Touch

Ready to get started? Contact us for a personalized quote.