Discover/Xiaohongshu API
live

Xiaohongshu APIxiaohongshu.com

Access Xiaohongshu note content, user profiles, and explore feed data via a clean REST API. Retrieve posts, images, video URLs, tags, and engagement stats.

This API takes change requests — .
Endpoint health
verified 4d ago
get_user_profile
list_feed
get_note_detail
3/3 passing latest checkself-healing
Endpoints
3
Updated
4d ago

What is the Xiaohongshu API?

This API exposes 3 endpoints covering Xiaohongshu (Little Red Book) note content and creator profiles. The get_note_detail endpoint returns a full note record — title, description, images, video stream URLs, tags, creation timestamp, and interaction metadata — given a note_id and its paired xsec_token. The get_user_profile endpoint returns public creator data including follower counts, bio, gender, and Red ID, and list_feed supplies a rotating batch of explore-feed note summaries.

This call costs2 credits / call— charged only on success
Try it
The note/post ID, a 24-character hex string.
Per-note security token unique to each note. Cannot be reused across different notes. Obtained from feed data or share links for the specific note.
api.parse.bot/scraper/112e2db4-437f-4511-96f5-f0f62d23a010/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/112e2db4-437f-4511-96f5-f0f62d23a010/get_note_detail?note_id=6a3dd2d8000000000f028736&xsec_token=ABRXNwYgMPDY3C0l-X8AdxgESESUuBuTelkvgtZU_65Wc%3D' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalmissing one? ·

Fetches a single note full content by its ID. Returns title, description, images, video (when present), tags, author info, and interaction stats. Requires both note_id and xsec_token. The token is per-note and cannot be reused across different notes. Video notes include stream URL, duration, and resolution; image notes include an ordered image list with dimensions.

Input
ParamTypeDescription
note_idrequiredstringThe note/post ID, a 24-character hex string.
xsec_tokenrequiredstringPer-note security token unique to each note. Cannot be reused across different notes. Obtained from feed data or share links for the specific note.
Response
{
  "type": "object",
  "fields": {
    "tags": "array of objects with id, name, type",
    "time": "integer (creation timestamp in milliseconds)",
    "type": "string (normal or video)",
    "user": "object with user_id, nickname, avatar",
    "title": "string",
    "video": "object with duration, url, format, width, height (present only for video notes)",
    "images": "array of objects with url, width, height, file_id",
    "note_id": "string",
    "description": "string (post body text)",
    "ip_location": "string (author location at time of posting)",
    "interact_info": "object with liked_count, collected_count, comment_count, share_count (all strings, may use Chinese units)",
    "last_update_time": "integer (last update timestamp in milliseconds)"
  }
}

About the Xiaohongshu API

Note Detail and Feed Data

The get_note_detail endpoint accepts two required parameters: a 24-character hex note_id and a xsec_token that is strictly scoped to that note. The response distinguishes between normal (image) and video note types via the type field. Image notes return an images array with url, width, height, and file_id per asset. Video notes additionally return a video object containing url, format, duration, width, and height. Every note includes a user object (author user_id, nickname, avatar), an array of tags with id, name, and type, a millisecond-precision time timestamp, and an ip_location string reflecting the author's posted location.

User Profiles

The get_user_profile endpoint takes a 24-character hex user_id and returns the public creator record: nickname, description (bio), avatar, red_id, gender (0 = male, 1 = female), ip_location, follows (following count), and fans (follower count). Counts may be returned in Chinese shorthand notation — for example 1万+ to represent values above 10,000 — so consumers should handle string parsing rather than expecting raw integers for these fields. A tags array provides profile classification objects with type, optional name, and optional icon fields.

Explore Feed

The list_feed endpoint takes no input parameters and returns a notes array of feed summaries. Each summary includes a note_id, its paired xsec_token, title, type, and a brief user object (user_id, nickname). Because the feed is personalized and partially randomized, results are not stable across successive calls. This endpoint is the natural source for discovering note_id/xsec_token pairs to pass into get_note_detail.

Reliability & maintenanceVerified

The Xiaohongshu API is a managed, monitored endpoint for xiaohongshu.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when xiaohongshu.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official xiaohongshu.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Collecting Xiaohongshu note content including images and video URLs for content archival or analysis
  • Monitoring creator profile stats — follower counts, bio, and Red ID — over time for influencer research
  • Sampling the explore feed to identify trending note types and topics by inspecting returned tags
  • Pairing list_feed with get_note_detail to build a pipeline that enriches feed summaries with full post content
  • Extracting ip_location and time fields from notes for geographic or temporal content distribution studies
  • Aggregating tag data from multiple notes to map topic clusters active on the platform
  • Pulling author metadata from note responses to link post content to creator profiles without a separate lookup
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Xiaohongshu have an official developer API?+
Xiaohongshu does not publish a general-purpose public developer API. There is a business-facing partner program, but it is closed to open registration and not documented for third-party developer use.
What is the xsec_token and where do I get it?+
The xsec_token is a per-note security token required by get_note_detail. It is scoped to one specific note and cannot be reused across different notes. The list_feed endpoint returns valid note_id/xsec_token pairs together in its response, making it the intended source for these tokens.
Does the API return engagement metrics like likes, comments, or saves for a note?+
The get_note_detail response includes interaction stats, but the endpoint description does not expose individual like, comment, or save counts as discrete labeled fields in the current schema. The API covers title, description, images, video, tags, author info, timestamp, and ip_location. You can fork this API on Parse and revise it to surface specific engagement count fields if they appear in the source data.
Can I search for notes by keyword or hashtag?+
Search is not available in this API. The three endpoints cover the explore feed, individual note detail, and user profiles. You can fork this API on Parse and revise it to add a search endpoint if that capability is needed.
Does the feed endpoint support pagination or filtering by topic?+
The list_feed endpoint takes no input parameters and returns a single randomized batch of feed summaries with no pagination or topic-filter controls. The result set varies per call. You can fork this API on Parse and revise it to add cursor-based pagination or category filtering if the underlying feed supports those parameters.
Page content last updated . Spec covers 3 endpoints from xiaohongshu.com.
Related APIs in Social MediaSee all →
x.com API
Retrieve posts and profile information from X (Twitter) user timelines by specifying a username. Access live post data, engagement metrics, and user profile details for any public account.
toutiao.com API
Browse personalized news feeds, discover trending articles and hot topics, search content across categories, view detailed articles with comments, and explore author profiles on Toutiao. Access video feeds and stay updated with the latest news and trending stories all in one place.
ximalaya.com API
Browse Ximalaya's audio content by exploring categories and albums, retrieving detailed album information and track listings, viewing user profiles, and reading user comments. Search for albums and discover audio content organized by category with complete metadata.
tiktok.com API
Retrieve detailed information about any public TikTok video including captions, media URLs, view counts, likes, and shares, plus access all comments posted on that video. Perfect for analyzing trending content, monitoring video performance, or building applications that need TikTok video data.
sina.com API
Stay informed with real-time news from Sina.com.cn by retrieving article feeds organized by category and module, complete with titles, full content, and publication timestamps. Access comprehensive article details whenever you need to dive deeper into specific stories.
item.taobao.com API
Retrieve detailed product information including pricing, images, and weight specifications directly from Taobao listings to compare products and make informed purchasing decisions. Access comprehensive product data from world.taobao.com to streamline your shopping research and product analysis.
juejin.cn API
Browse Juejin’s recommended article feed, search articles by keyword, and fetch full article details (including markdown/HTML content) by article ID.
hoyolab.com API
Access character wikis, view player profiles, and browse community posts across Genshin Impact, Honkai: Star Rail, and Zenless Zone Zero. Search and discover game content, character details, and what other players are sharing in real-time.