Xiaohongshu Resolve Share URL

26.19 credits/call
ae_xiaohongshu_resolve_share_url

Expand a Xiaohongshu (RedNote) short share link to its public redirect URL. Provide shareUrl as a URL starting with http://xhslink.com/ or https://xhslink.com/. The returned destination can be used for subsequent content lookup or processing; this tool resolves the link rather than retrieving the content itself.

Social
26.19 credits/call

Pricing

26.19 credits/call
ConditionCharge
Each call26.19 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
shareUrlstringYes以 http://xhslink.com/ 或 https://xhslink.com/ 开头的小红书(RedNote)短分享URL。—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xiaohongshu_resolve_share_url' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "shareUrl": "https://xhslink.com/o/11Dj8WcFo6l"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 0,
  "data": {
    "redirect_url": "https://www.xiaohongshu.com/user/profile/6a491f4d000000000f03b401?xsec_token=YB_v2hEXiVziFr0ynoDLcj_d1_tfCcQ_1PmQn4nn97xlM%3D&xsec_source=app_share&xhsshare=CopyLink&shareRedId=N0g7OUg3NEE9P0s5TE4wNjY0Sjo6OzpB&apptime=1794649866&share_id=c93151a09d014fc085"
  },
  "message": null,
  "recordTime": "2026-11-14T17:59:07.109162662",
  "requestParams": {
    "body": null,
    "query": {
      "shareUrl": "https://xhslink.com/o/11Dj8WcFo6l"
    }
  }
}

This example shows part of the response. Copied content is valid JSON.