Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

XHS Product Search

ShangBinShangBin20 downloads

Collect Xiaohongshu product details (price, shipping origin, shop rating, listing age, sales) with a bundled standard-library-only Python script. Works standalone or as the data backend for other plugins. No login required.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Collect data from Xiaohongshu (小红书) product and shop pages into structured JSON — works on desktop and mobile Obsidian.

中文说明见 README.zh-CN.md

What it does

A product link (or a share text / product ID) → a normalized product record:

  • Title, price, final price (after coupon), shipping origin, shipping fee, dispatch time
  • Shop name, shop rating, shop total sales, follower count, shop link
  • Listing date / days on shelf (only when the page exposes it)
  • SKU count, selected SKU, product badges, sales

A shop link → shop info + the product list visible on the shop homepage (shop name, total sales, followers, positive-review rate, dispatch time; each product with title, price, sales, listing date/age, badges).

Sales figures are kept exactly as the page states them: if the page only shows a lower bound ("1.5万+") or a per-SKU figure, the record keeps the raw text and a scope marker instead of pretending it is exact.

It works standalone (ribbon icon or command palette) and exposes a small API (checkDeps() / collect() / mode() / setMode()) so other plugins can use it as a data backend — e.g. the author's goods-trading workbench plugin.

Save as Markdown note

When used standalone (no workbench), click “保存为 Markdown 笔记” after collecting:

  • Data goes into the note's frontmatter (properties) — visible in Obsidian and queryable;
  • The body holds only: title, product link, and a “每日跟踪(变动)” table (date / sales);
  • Re-collecting the same product updates the existing note (refreshes properties + updates that day's row, appends a new row on another day) — no duplicate notes;
  • The save folder is configurable (default 小红书商品采集).

Skill version (for AI tools)

The same collection engine is packaged as a portable skill for AI tools that can run local commands — WorkBuddy / Claude Code / Codex and other tools supporting the SKILL.md layout. Cloud-only chat tools (no local shell) are not supported.

  • Install (recommended) — download xhs-product-collect-1.0.0.zip from Releases, unzip, and copy the whole xhs-product-collect/ folder into your tool's skills directory: ~/.workbuddy/skills/ (WorkBuddy), ~/.claude/skills/ (Claude Code), ~/.codex/skills/ (Codex).
  • Install (from source) — clone this repo and copy skill/xhs-product-collect/.
  • Dependencies — Python 3.7+ only, standard library, no pip install.
  • Version — skill 1.0.0 ports this plugin's v0.3.1 engine, function by function.

⚠️ Downloading the repository as a zip? The folder you need is skill/xhs-product-collect/ — copy exactly that level.

How it works

  • The collector is built in. It calls two public Xiaohongshu endpoints with Obsidian's cross-platform requestUrl (which bypasses CORS on both desktop and mobile):
    • Product detail: mall.xiaohongshu.com/api/store/jpd/edith/detail/h5/toc
    • Shop page: www.xiaohongshu.com/shop/<sellerId> (server-rendered, product JSON embedded)
  • No Python, no external script, no pip install. No login state, no cookies, no account data.
  • Requests to xiaohongshu.com are made only when you run a collection, from your device.
  • Results are returned to you inside Obsidian; the plugin does no telemetry and writes nowhere else.

Requirements

  • Obsidian 1.4.0+ — desktop (Windows / macOS / Linux) or mobile (iOS / Android)
  • Nothing else. No Python, no Node, no external tools.

Usage

  1. Install and enable the plugin.
  2. Click the shopping-bag ribbon icon (or run “采集一个商品” from the command palette).
  3. Paste a product link / share text / product ID (a shop homepage link collects the shop instead).
  4. The result modal shows the collected fields.
  5. Click “保存为 Markdown 笔记” to save the result as a Markdown note in your vault (folder configurable), or “复制为 JSON” to copy it.

Standalone vs. workbench: on its own, use “保存为 Markdown 笔记” to write a .md into the vault (same idea as the note-collector plugin). When used with the author's goods-trading workbench, the confirm dialog decides which multi-dimensional tables get the data — this plugin does not duplicate that.

Commands:

  • 采集一个商品(链接或商品 ID) — collect one product
  • 采集器自检 — check that the built-in engine is ready

Short share links (xhslink.com) are auto-expanded on desktop. On mobile, paste the full product link or the raw product ID instead.

Notes & limitations

  • Fields that only exist in the Xiaohongshu mobile app (e.g. shop opening date) are reported as empty rather than guessed.
  • Shop collection returns only the products visible on the shop homepage, not the full catalogue.
  • Public pages only; the collector intentionally has no login capability.
  • Sales numbers are shown exactly as the page states them, together with their raw text and scope marker.

License

MIT

HealthExcellent
ReviewPassed
About
Collect product details from Xiaohongshu product pages into structured JSON, including title, current and final (post-coupon) prices, shipping origin, shop name and rating, follower count, sales (with lower-bound caveats), and listing date/days-on-shelf. Expose a lightweight API for other plugins and run a bundled Python script locally with no login, cookies, or external services required.
ImportDataIntegrations
Details
Current version
0.3.1
Last updated
2 days ago
Created
2 weeks ago
Updates
5 releases
Downloads
20
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
ShangBinShangBingitbins
GitHubgitbins
  1. Community
  2. Plugins
  3. Import
  4. XHS Product Search

Related plugins

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

Readwise Official

Sync highlights from Readwise to your vault.

Granola Sync

Sync Granola notes to your vault.

ZotLit

Integrate with Zotero, create literature notes, and insert citations from a Zotero library.

Plaud Sync

Sync Plaud voice recordings into Markdown notes with transcripts, AI summaries, and highlights.

Oura Ring

Import Oura Ring data into a note.

Telegram Sync

Transfer messages and files from Telegram to Obsidian.

Make It Rain

Pull Raindrop.io bookmarks, highlights, and attachments into Markdown notes with rich metadata, smart folder structures, and native file support.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.