RedNote icon

RedNote

小红书内容搜索、用户信息获取、登录管理和笔记操作

Search Content

AI-generated

Summary

Searches Xiaohongshu content using a keyword and returns a list of notes matching the query up to a specified limit.

Inputs

  • Search Keyword (required) — The keyword string to search for in Xiaohongshu content.
  • Result Limit — The maximum number of search results (notes) to return. Defaults to 10.

Output shape

a list of note objects

Each note object includes title, content snippet, url, author username, counts for likes, collects, comments, and an array of image URLs. If login is not authenticated, the operation will fail with an error indicating login is required. The search result count is capped by the 'Result Limit' parameter.

Examples

Example 1: Search for Xiaohongshu content with keyword 'travel' limiting to 5 results

Set 'Search Keyword' to 'travel' and 'Result Limit' to 5.

Discussion