Xiaohongshu API Start free

Local URL utility

Validate a public note URL

Confirm the note ID and current xsec_token, then generate the first detail request. Validation runs in this page and does not send the pasted URL anywhere.

URL checker

Waiting for a public note URL.

Collect current URLs

Drag the button to the bookmarks bar. Open a Xiaohongshu explore, search, or profile page with visible note cards, then click the bookmark to copy up to 10 current note URLs as batch JSON.

XHS Collect URLs
  1. Drag the button to the bookmarks bar.
  2. Open a Xiaohongshu page containing visible note cards.
  3. Click the bookmark and paste the copied JSON into /note/batch_detail_from_url.

The collector reads visible link addresses only. It does not read cookies, browser storage, API keys, or page state, and it sends no network request.

Download bookmarklet source

Next step

Use the validated URL promptly

Public-link tokens and signed media can expire. Keep the URL on the server, retry temporary failures with the same input, and copy the note again when the API reports that the token is no longer current.

Read the xsec_token guide