Skip to content
xhs

xiaohongshu, from the command line

A command line for Xiaohongshu. One pure-Go binary, no API key, output that pipes into the rest of your tools.

A command line for Xiaohongshu. It reads public data from xiaohongshu.com, shapes it into clean records, and pipes into the rest of your tools.

xhs search 'latte art' -n 5
xhs search 'latte art' -o url | xhs note -
xhs user <id> --notes -n 50
xhs feed --category food -n 40

It signs its own requests and bootstraps an anonymous web session. The deep surfaces need a logged-in cookie and a residential IP; the quick start covers what is reachable without one.

Where to go next

Getting started Install xhs, learn the model, and run your first command. Guides Task-oriented walkthroughs for the things people do with xhs.