Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Xiaohongshu Keyword Note Search

API 文档
https://api.sandbase.ai/v1/api/xiaohongshu/search-note

Search Xiaohongshu (RedNote) notes by keyword with page-based pagination, sorting and note-type filters. The V2 noteTime filter may return notes outside the selected time range.

价格
$0.021429美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 4 个可选

Playground

输入
Search keyword.
Page number for pagination. Start at 1, then increment page while keeping the keyword and filters unchanged.
Sort order for the result set.
Note type filter.
Note publish time filter. Results may include notes published outside the selected time range.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Xiaohongshu Keyword Note Search API

Returns a page of Xiaohongshu (RedNote) notes that match a search keyword. Each item carries engagement counts and a publish date tag. The only required input is keyword.

Use cases

  • Track which notes rank for a food keyword such as 美食 and how many saves and comments they have.
  • Sort results by popularity_descending or collect_descending to find the most saved notes on a topic.
  • Collect note IDs from search results, then pull full note details or comments for content research.
  • Check the query_intent flags to see how the platform reads a search term.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/search-note" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "美食"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword.
noteTimestringNoNote publish time filter. Results may include notes published outside the selected time range.
noteTypestringNoNote type filter.
pageintegerNoPage number for pagination. Start at 1, then increment page while keeping the keyword and filters unchanged.
sortstringNoSort order for the result set.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ai_mode_enable": false,
  "can_cut": false,
  "cur_cut_number": 0,
  "dqa_authorized_user_by_shared": false,
  "extra_info": {
    "atmosphere_v3_enable": "0"
  },
  "is_broad_query": true,
  "items": [
    {
      "mix_track_id": "NOTE__6ab3ef24000000001800736f__2h3wq0ok0fiwx58b9zpt7__美食",
      "model_type": "note",
      "new_help_style": false,
      "note": {
        "advanced_widgets_groups": {
          "groups": [
            {
              "fetch_types": [
                "guos_test"
              ],
              "mode": 1
            }
          ]
        },
        "click_score": 0.018783261999487877,
        "collected": false,
        "collected_count": 16088,
        "comments_count": 140,
        "corner_tag_info": [
          {
            "icon": "",
            "location": -1,
            "style": 0,
            "text": "RAhtMWDRZPq2iZ25x+orCX1alSUCEVI1eumvzosCK6L+dOYtbzjL4CMGmwv9jddH5SqVbyfSraRcvdSX…",
            "text_en": "",
            "type": "ubt_sig_token"
          }
        ],
        "cover_image_index": 0,
        "debug_info_str": ""
      }
    }
  ],
  "query_debug_info": {
    "is_forbidden": false
  },
  "query_intent": {
    "goodsIntent": 3,
    "low_supply_intent": false,
    "search_ask_intent": true
  },
  "query_type": 0,
  "request_dqa": 0,
  "request_dqa_instant": false
}

Response fields

FieldMeaning
items[]One search result. Page through this list to read the notes for the keyword.
items[].model_typeType of result card. The value note marks a note.
items[].mix_track_idTracking string for the result. It contains the note ID after NOTE__, followed by the search request token and the keyword.
items[].note.collected_countNumber of times users saved the note.
items[].note.comments_countNumber of comments on the note.
items[].note.collectedWhether the note is saved by the requesting account. It is false in this response.
items[].note.corner_tag_info[].textTag text. For the entry with type set to publish_time, this is the publish date in MM-DD form, such as 09-24.
items[].note.at_user_list[]Users mentioned in the note, with nickname and user_id. Present only on some notes.
search_request_idID of this search request.
query_intentFlags describing the search intent, such as goodsIntent and search_ask_intent.

Notes

  • Send page starting at 1 and increase it by 1 while keeping keyword, sort, noteType and noteTime the same.
  • The noteTime filter can return notes published outside the chosen range, so check the publish_time tag in each item.
  • The note ID is the 24-character hex string inside mix_track_id, between NOTE__ and the next __. Pass it to Xiaohongshu Note Details or Xiaohongshu Note Comments.
  • For a similar search with a different response layout, see Xiaohongshu (RED) Note Search.

Pricing

$0.021429 per successful call. Failed calls are not charged.

探索更多

相关 APIs

全部 APIs
API价格响应
Xiaohongshu$0.021429 每次调用JSON
Xiaohongshu$0.01 每次调用JSON
Xiaohongshu$0.01 每次调用JSON
Xiaohongshu$0.01 每次调用JSON
Xiaohongshu$0.01 每次调用JSON
Xiaohongshu$0.01 每次调用JSON

指南:Best Xiaohongshu API in 2026: Pricing Compared

问题

常见问题

如何使用 Xiaohongshu Keyword Note Search API?

向 https://api.sandbase.ai/v1/api/xiaohongshu/search-note 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Xiaohongshu Keyword Note Search API 的价格是多少?

每次调用 $0.021429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Xiaohongshu Keyword Note Search API 接受哪些参数?

必填:keyword (string)。 可选:page (integer), sort(general, popularity_descending, time_descending, comment_descending, collect_descending 之一), noteType(_0, _1, _2 之一) 和 noteTime(ONE_DAY, ONE_WEEK, HALF_YEAR 之一)。 Parameters 表和本页的 Playground 列出了每个字段。

Xiaohongshu Keyword Note Search API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Xiaohongshu 开发者账户或 API key 吗?

不需要。Xiaohongshu Keyword Note Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Xiaohongshu API 访问权限。