xiaohongshu

Xiaohongshu user notes

Get a page of the notes a Xiaohongshu account posted, by user ID or profile link: title, text, engagement counts, images, whether pinned.

Price: $0.02 per call.

Give exactly one of id, url.

Links taken by url: long (https://www.xiaohongshu.com/user/profile/63bed214000000002702b862?xsec_token=ABx1y2z3); share_text (周末咖啡探店合集 https://www.xiaohongshu.com/user/profile/63bed214000000002702b862?xsec_token=ABx1y2z3 复制这段文字,打开小红书查看).

20 items on a usual page, 30 at most. A cursor is valid for 3600 seconds.

get/v1/xiaohongshu/users/notes/list

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Query parameters

idstring

User ID, 24 hexadecimal characters. With only a profile link, give it as url

urlstring

Link to the profile, pasted as it is: https://www.xiaohongshu.com/user/profile/… (query parameters such as xsec_token are fine), a whole share text with such a link in it, or the xhslink.com short link the app copies. A short link is opened once to see which profile it leads to; where it cannot be, paste the profile's full link or the user ID

cursorstring

The next_cursor of the previous page. A new page is a new call.

view'compact' | 'standard' | 'full'

How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).

fieldsstring[]

Return only these fields of each item, by path (author.name).

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.