Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Xiaohongshu Keyword Suggestions

API 文件
https://api.sandbase.ai/v1/api/xiaohongshu/search-recommend

Get Xiaohongshu (RedNote) search keyword suggestions for a submitted seed term. Use it to expand query sets, refine content-research searches, and plan SEO or programmatic SEO keyword coverage.

價格
$0.021429美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
Search keyword.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Xiaohongshu Keyword Suggestions API

This API returns search keyword suggestions from Xiaohongshu (RedNote) for a seed term. It needs one input, keyword, and returns a list of suggested search phrases.

Use cases

  • Expand a seed term like 美食 into a longer list of related search phrases.
  • Find long-tail phrases to target when planning Xiaohongshu note titles and topics.
  • Build keyword sets for content research or programmatic SEO pages.
  • Check which phrasings the platform suggests for a product or topic name.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/search-recommend" \
  -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.

Example response

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

{
  "items": [
    {
      "highlight_flags": [
        true
      ],
      "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561ed…",
      "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43d…",
      "is_intervened": false,
      "link": "",
      "search_type": "notes",
      "text": "美食推荐",
      "type": "top_note"
    }
  ],
  "result": {
    "message": "success",
    "success": true
  },
  "search_cpl_id": "a2bf3c0f624ba770ed010e326ae99187",
  "word_request_id": "07b78290ea0bc085425a9a628b86185c"
}

Response fields

FieldMeaning
items[]List of suggested search phrases for the submitted keyword.
items[].textThe suggested search phrase, ready to use as a new search query.
items[].highlight_flagsList of true/false values, one per entry. The values show which parts of text the app highlights.
items[].search_typeThe kind of search the suggestion leads to. The sample shows notes.
items[].typeThe suggestion category. The sample shows top_note.
items[].is_intervenedBoolean flag. The sample shows false for every suggestion.
items[].icon / items[].icon_nightIcon image URLs for the suggestion, one for the default theme and one for night mode.
items[].linkLink attached to the suggestion. It is an empty string in the sample.
result.success / result.messageWhether the call worked, plus a status message such as success.
search_cpl_id / word_request_idRequest identifiers returned with the suggestions.

Notes

  • Send the seed term in keyword. Chinese terms such as 美食 work as shown in the example.
  • Use the text values from items[] as the keyword for a note search, for example with Xiaohongshu (RED) Note Search.
  • To see what is trending instead of what matches a seed term, call Xiaohongshu Hot Search.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Xiaohongshu每次呼叫 $0.021429JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON

指南:Best Xiaohongshu API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Xiaohongshu Keyword Suggestions API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/xiaohongshu/search-recommend。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Xiaohongshu Keyword Suggestions API 的費用是多少?

每次 $0.021429,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Xiaohongshu Keyword Suggestions API 接受哪些參數?

必要:keyword (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Xiaohongshu Keyword Suggestions API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Xiaohongshu 開發者帳號或 API 金鑰嗎?

不需要。Xiaohongshu Keyword Suggestions 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Xiaohongshu API 存取權。