# Xiaohongshu note search

Search Xiaohongshu notes by keyword, supports multiple sort types, note type filters, and time filters. Needs keyword. Served by TikHub.

Purpose:
- Search Xiaohongshu notes by keyword, supports multiple sort types, note type filters, and time filters
Parameters:
- keyword: Search keyword (required), e.g. "美食推荐"
- page: Page number, start from 1
- sort_type: Sort type
    - "general": General sort (default)
    - "time_descending": Sort by time descending (latest)
    - "popularity_descending": Sort by like count (most liked)
    - "comment_descending": Sort by comment count (most commented)
    - "collect_descending": Sort by collect count (most collected)
    - "english_preferred": English preferred
- note_type: Note type filter
    - "不限": All types (default)
    - "视频笔记": Video notes only
    - "普通笔记": Image notes only
    - "直播笔记": Live notes only
- time_filter: Time filter
    - "不限": All time (default)
    - "一天内": Within 24 hours
    - "一周内": Within 7 days
    - "半年内": Within 6 months
- search_id: Search ID, pass value from first search response for pagination
- search_session_id: Search session ID, pass value from first search response for pagination
- source: Source, default "explore_feed"
- ai_mode: AI mode, 0=off, 1=on
Return:
- Search result data, including note list and pagination info
Pagination Guide:
- First request: only pass keyword and page
- Next page: pass search_id and search_session_id from first search response

- Tool ID: `tikhub/xiaohongshu-app-v2-search-notes`
- Name in the catalog: Xiaohongshu, Search notes
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Xiaohongshu search](/tools/xiaohongshu/search.md)
- Price: $0.01 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.01
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.01; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "description": "搜索关键词/Search keyword",
      "title": "Keyword"
    },
    "page": {
      "type": "integer",
      "description": "页码，从1开始/Page number, start from 1",
      "default": 1,
      "title": "Page"
    },
    "sort_type": {
      "type": "string",
      "description": "排序方式/Sort type",
      "default": "general",
      "title": "Sort Type"
    },
    "note_type": {
      "type": "string",
      "description": "笔记类型/Note type: 不限, 视频笔记, 普通笔记, 直播笔记",
      "default": "不限",
      "title": "Note Type"
    },
    "time_filter": {
      "type": "string",
      "description": "发布时间筛选/Time filter: 不限, 一天内, 一周内, 半年内",
      "default": "不限",
      "title": "Time Filter"
    },
    "search_id": {
      "type": "string",
      "description": "搜索ID，翻页时传入首次搜索返回的值/Search ID for pagination",
      "default": "",
      "title": "Search Id"
    },
    "search_session_id": {
      "type": "string",
      "description": "搜索会话ID，翻页时传入首次搜索返回的值/Search session ID for pagination",
      "default": "",
      "title": "Search Session Id"
    },
    "source": {
      "type": "string",
      "description": "来源/Source",
      "default": "explore_feed",
      "title": "Source"
    },
    "ai_mode": {
      "type": "integer",
      "description": "AI模式：0=关闭, 1=开启/AI mode: 0=off, 1=on",
      "default": 0,
      "title": "Ai Mode"
    }
  },
  "required": [
    "keyword"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/xiaohongshu-app-v2-search-notes",
  "input": {
    "keyword": "美食推荐",
    "page": 1,
    "sort_type": "general",
    "note_type": "不限",
    "time_filter": "不限",
    "search_id": "",
    "search_session_id": "",
    "source": "explore_feed",
    "ai_mode": 0
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Xiaohongshu-App-V2-API/search_notes_api_v1_xiaohongshu_app_v2_search_notes_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/xiaohongshu-app-v2-search-notes) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/xiaohongshu-app-v2-search-notes) · [Agent index](/llms.txt)
