Social media5 min readBy Purrkey teamUpdated

How to fetch a Xiaohongshu user profile by ID or share link

Fetch a Xiaohongshu user's bio, follower and note stats, and profile share link from a user ID or share text

On this page

You have 40 Xiaohongshu user IDs from a creator shortlist and need each account's bio, follower count, and note stats before choosing partners. Call tikhub.xiaohongshu.app_v2.get_user_info once per ID, then compare the returned profile fields in one table

The deliverable is a shortlist table with one row per creator. Values here are placeholders showing the shape; no shortlist run is described as a result in this table

The shortlist table design

Example input row, with the example user ID from the brief; replace it with your own:

ExampleUser ID
Creator 156308e6103eb843f27bf0b6a

The agent fills this table. Values here are placeholders showing the shape

NicknameRed IDUser IDBioFollowersFollowingLikedCollectedPosted notesIP locationShare linkShortlist decision
(nickname)(red ID)(user ID)(bio)(number)(number)(number)(number)(number)(location)(URL)keep, review or drop

The decision column is your call. The tool returns profile fields; it does not score creators or choose partners

Input fields and the one input limit

tikhub.xiaohongshu.app_v2.get_user_info is called through POST /v1/runs with toolId tikhub.xiaohongshu.app_v2.get_user_info. No input field is required. In practice, supply either query.user_id or query.share_text

query.user_id takes the user ID from a Xiaohongshu profile URL or an internal export. query.share_text takes share text that contains a xiaohongshu.com, xhslink.com, or xhslink.cn link. The share text can be pasted as it arrives; the tool reads the link from it

Limit for this step: only query.user_id and query.share_text are accepted; additional input properties are rejected. A rejected input is not a profile lookup, so check the field names before the first call

Example input: 56308e6103eb843f27bf0b6a. Replace this example ID with the ID from your own shortlist

Reading the output fields for a shortlist decision

The output is the supplier's raw JSON with no fixed schema. Read the field names from the first page. The field names below come from the contract output and were observed on this single run

Map the table columns to these fields:

ColumnField
Nicknamedata.nickname
Red IDdata.red_id
User IDdata.userid
Biodata.desc
Followersdata.fans
Followingdata.follows
Likeddata.liked
Collecteddata.collected
Posted notesdata.note_num_stat.posted
IP locationdata.ip_location
Share linkdata.share_link

The contract notes that keys not listed may or may not appear on other inputs

Use data.fans, data.follows, data.liked, data.collected and data.note_num_stat.posted to compare reach and activity. Use data.desc and data.ip_location as context for the creator's bio and location. data.red_id and data.userid are identifiers, not ranking signals. data.share_link gives you the profile URL to open or pass to a teammate

A shortlist decision can be keep, review or drop. Set it after you compare the numbers and read the bio. The tool does not say which creator to contact first

What one real call returned

One call was made on 2026-11-13. Input sent: {"query": {"share_text": "", "user_id": "56308e6103eb843f27bf0b6a"}}. Billing status was SETTLED, charged 0.01 USD against a ceiling of 0.01 USD

The data object had these top-level keys: desc, fans, tags, level, liked, gender, imageb, images, red_id, result, userid, blocked, follows, fstatus, nboards, blocking, location, nickname, collected, hula_tabs, buyer_info, ndiscovery, share_info, share_link, tab_public, banner_info, ip_location, remark_name, tab_visible, interactions

data.tags was an array with 1 item; the first item had keys icon, name, tag_type. data.interactions was an array with 3 items; the first item had keys name, type, count, toast, is_private

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Xiaohongshu
user profiles for the 40 user IDs below. Check the current inputs and price
of tikhub.xiaohongshu.app_v2.get_user_info before running anything. Call the
tool once per user ID with query.user_id. If a row has share text instead,
use query.share_text. Read the output field names from the first page because
the supplier JSON has no fixed schema. Return a table with nickname, red ID,
user ID, bio, followers, following, liked, collected, posted notes, IP
location, share link and shortlist decision (keep, review or drop). Leave
fields empty when the response does not contain them. Do not invent profile
values and do not send messages.

Example row, replace with your 40 IDs:
56308e6103eb843f27bf0b6a

Replace the example ID with your 40 IDs and run the prompt

Estimated tool cost

The catalog lists a fixed per-call price of $0.01. Successful empty results are charged. The table below is a cost ceiling; it assumes one call per row and no retries. Agent model fees are not counted

StepFormulaUnit pricePlanned quantityTotal
Single user lookupcalls x fixed price$0.01 per call1$0.01
40-user shortlistcalls x fixed price$0.01 per call40$0.40

Start with the 40-user shortlist

Run one ID first to see the field names in your response. Then run the rest. The tool page is Xiaohongshu user info. For keyword searches across notes, the companion guide is Search Xiaohongshu notes by keyword

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Xiaohongshu.
Explore Xiaohongshu tools and pricing

FAQ

How do I fetch a Xiaohongshu user profile by ID?

Call tikhub.xiaohongshu.app_v2.get_user_info with query.user_id set to the ID from the profile URL or an internal export. The response returns the supplier JSON, including data.nickname, data.fans, data.follows, data.liked, data.collected and data.share_link.

Can I use a Xiaohongshu share link instead of a user ID?

Yes. query.share_text accepts share text that contains a xiaohongshu.com, xhslink.com or xhslink.cn link. Supply either query.user_id or query.share_text in practice.

What fields should I compare for a creator shortlist?

Compare data.nickname, data.red_id, data.userid, data.desc, data.fans, data.follows, data.liked, data.collected and data.note_num_stat.posted, with data.ip_location and data.share_link for context. The tool does not rank creators.

What does the output look like?

The output is the supplier's raw JSON with no fixed schema. The contract lists field names observed on one real run, including data.nickname, data.fans, data.follows, data.liked, data.collected, data.note_num_stat and data.share_link.

How much does it cost to look up 40 Xiaohongshu users?

At the fixed price of $0.01 per call, 40 calls planned at one call per user total $0.40. The single lookup is $0.01, and successful empty results are charged.

What input properties are rejected?

Only query.user_id and query.share_text are accepted for this tool; additional input properties are rejected. No input field is required, but in practice supply one of those two.

What did the one real call return?

The call sent {"query": {"share_text": "", "user_id": "56308e6103eb843f27bf0b6a"}}, settled at $0.01 against a $0.01 ceiling, and returned data with keys such as desc, fans, tags, liked, red_id, userid, nickname, follows, collected, ip_location, share_link and interactions.

Next step

Try this with Xiaohongshu

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Xiaohongshu tools

Share this article