Xiaohongshu APIStart free

Developer guides

Build reliable public-data workflows

Copy-ready patterns for current note URLs, normalized data, real cursor continuation, and resilient sequential batches.

Python

Retrieve rich public note data

Validate a note URL, request normalized detail, and interpret optional fields.

Read guide
Pagination

Continue comments without duplicates

Follow service-issued cursors and recover without breaking a chain.

Read guide
Batch jobs

Process larger imports asynchronously

Submit, poll, and retain per-item results for up to 50 URLs.

Read guide
First call

Use a current xsec_token URL

Copy a usable note link, validate it locally, and recover cleanly after expiry.

Read guide