Xiaohongshu Get User Faved Notes
Retrieve a Xiaohongshu user's publicly visible favorited (saved) notes. Inputs: - Provide user_id or share_text. If both are provided, user_id takes precedence. - share_text supports app and web sharing links on xiaohongshu.com, xhslink.com, and xhslink.cn. - Leave cursor empty for the first page. To request the next page, set cursor to the note_id of the last note on the previous page. Returns: Response data containing the user's favorited notes, basic note information, and pagination information. This is a list of favorites, not published or liked notes, and is limited to publicly visible content. An invalid or nonexistent user ID, or a sharing link that cannot be parsed, may return a service error in data even though a response is received. Check the returned data before treating the request as successful.
Pricing
| Condition | Charge |
|---|---|
| Each call | 20.65 credits/call |
20.65 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
cursor | string | No | 分页游标,首次请求留空,翻页时传入上一页最后一条笔记的note_id/Pagination cursor, leave empty for first request, pass last note_id from previous page for next page | "" |
user_id | string | No | 用户ID/User ID | "" |
share_text | string | No | 分享链接,支持xiaohongshu.com/xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn | "" |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xiaohongshu_get_user_faved_notes' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {}
}'No response example available yet.

