# Search notes

Search Xiaohongshu (RedNote / 小红书) notes with TikHub through REST or OpenAny MCP, with per-call billing, no subscription and no buyer-supplied platform cookies. Combine keyword, sorting, note-type and time options to build brand-monitoring searches, competitor research queues and content discovery workflows, keeping search_id and search_session_id from the first response for subsequent pages.

Documentation: https://openany.si/market/apis/xiaohongshu/xiaohongshu-search-notes/?offering=48deb226-ee4f-430b-87f5-a753ea06c5c7
API ID: 48deb226-ee4f-430b-87f5-a753ea06c5c7
Provider: tikhub
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/xiaohongshu/app_v2/search_notes
Page update time: 2026-12-03T01:54:37.625Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.01 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T01:54:34.335Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "10000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Search notes request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "keyword": {
          "type": "string",
          "description": "搜索关键词/Search keyword"
        },
        "page": {
          "type": "integer",
          "description": "页码，从1开始/Page number, start from 1"
        },
        "sort_type": {
          "type": "string",
          "description": "排序方式/Sort type"
        },
        "note_type": {
          "type": "string",
          "description": "笔记类型/Note type: 不限, 视频笔记, 普通笔记, 直播笔记"
        },
        "time_filter": {
          "type": "string",
          "description": "发布时间筛选/Time filter: 不限, 一天内, 一周内, 半年内"
        },
        "search_id": {
          "type": "string",
          "description": "搜索ID，翻页时传入首次搜索返回的值/Search ID for pagination"
        },
        "search_session_id": {
          "type": "string",
          "description": "搜索会话ID，翻页时传入首次搜索返回的值/Search session ID for pagination"
        },
        "source": {
          "type": "string",
          "description": "来源/Source"
        },
        "ai_mode": {
          "type": "integer",
          "description": "AI模式：0=关闭, 1=开启/AI mode: 0=off, 1=on"
        }
      },
      "required": [
        "keyword"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_message": {
      "type": "string"
    },
    "cache_message_zh": {
      "type": "string"
    },
    "cache_url": {
      "type": "string"
    },
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "null"
    },
    "docs": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "message_zh": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {}
    },
    "request_id": {
      "type": "string"
    },
    "router": {
      "type": "string"
    },
    "support": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "time_stamp": {
      "type": "integer"
    },
    "time_zone": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/xiaohongshu/app_v2/search_notes?ai_mode=0&keyword=%E7%BE%8E%E9%A3%9F%E6%8E%A8%E8%8D%90&note_type=%E4%B8%8D%E9%99%90&page=1&search_id=&search_session_id=&sort_type=general&source=explore_feed&time_filter=%E4%B8%8D%E9%99%90' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
  "cache_message_zh": "本次响应已缓存，可通过下方 URL 直接查看，有效期 24 小时，访问缓存链接无额外费用。缓存仅用于请求溯源，不影响接口数据的时效性，也不会再次通过接口返回。",
  "cache_url": "<cache_url>",
  "code": 200,
  "data": null,
  "docs": "<docs>",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功，本次请求将被计费。",
  "params": {},
  "request_id": "<request_id>",
  "router": "",
  "support": "Discord: https://discord.gg/aMEAS8Xsvz",
  "time": "<time>",
  "time_stamp": 0,
  "time_zone": "America/Los_Angeles"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- anyapi: https://openany.si/market/apis/xiaohongshu/xiaohongshu-search-notes/?offering=38d5e499-b06b-4646-ad13-ef5537929a0a
- justoneapi: https://openany.si/market/apis/xiaohongshu/xiaohongshu-search-notes/?offering=b026ec85-b5c8-41e4-984d-0f3f1bf84c3b
- justoneapi: https://openany.si/market/apis/xiaohongshu/xiaohongshu-search-notes/?offering=d7ad0ded-2c39-449d-9c13-de41f4ec73bf
- tikhub: https://openany.si/market/apis/xiaohongshu/xiaohongshu-search-notes/?offering=48deb226-ee4f-430b-87f5-a753ea06c5c7

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
