SocialPipe docs

Xiaohongshu App V2 Get Note Comments

GET/v1/xiaohongshu/app_v2/get_note_comments

Returns personal data about people in bulk. The response carries accounts who are not the subject of your request. See our terms for what you may do with it.

Costs 10 credits. A cache hit costs nothing, and an answer that contains no data is never charged.

curl "https://api.socialpipe.dev/v1/xiaohongshu/app_v2/get_note_comments" \  -H "Authorization: Bearer $SOCIALPIPE_KEY"
AuthorizationBearer <token>

Your SocialPipe API key, as Authorization: Bearer sp_live_…. Create one in the dashboard.

In: header

Query Parameters

note_id?|

ID/Note ID

share_text?|

xiaohongshu.com/xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn

cursor?|

Pagination cursor, leave empty for first request

index?|

0/Comment index, pass 0 for first request

pageArea?|

: UNFOLDED(-), FOLDED()

sort_strategy?|

Sort strategy: default, latest_v2, like_count

cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/xiaohongshu/app_v2/get_note_comments"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}