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

Xiaohongshu User Search

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

Search Xiaohongshu (RedNote) users by keyword with page-based pagination. Use it to support creator discovery, account research, and finding profiles related to a topic, name, or brand term.

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

Playground

輸入
Search keyword.
Page number for pagination.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Xiaohongshu User Search API

This API returns Xiaohongshu (RedNote) user accounts that match a search keyword. It needs one input, keyword, and accepts an optional page number for more results.

Use cases

  • Find creator accounts that post about a topic such as food by searching a topic keyword.
  • Check whether a brand name or person name matches existing Xiaohongshu accounts.
  • Build a shortlist of profiles with their follower counts shown in sub_title for outreach research.
  • Collect user IDs from search results to look up each profile in more detail.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/search-user" \
  -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.
pageintegerNoPage number for pagination.

Example response

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

{
  "filters": [
    {
      "filter_tags": [
        {
          "icon_tail_url": "",
          "icon_tail_url_night": "",
          "icon_url": "",
          "icon_url_night": "",
          "id": "all",
          "name": "不限",
          "need_location_info": false,
          "origin_text": ""
        }
      ],
      "group_show_type": 0,
      "id": "fans_count",
      "invisible": true,
      "name": "粉丝数量",
      "type": "single",
      "word_request_id": "5c1334adfe1832dc352490d37357c71a"
    }
  ],
  "users": [
    {
      "desc": "小红书号:d10686543",
      "followed": false,
      "id": "5f956ca30000000001006e76",
      "image": "https://sns-avatar-qc.xhscdn.com/avatar/5fe98a2e6a06fb6dec28c1d4.jpg?imageView2/…",
      "link": "xhsdiscover://1/user/user.5f956ca30000000001006e76",
      "name": "美食",
      "reason": "",
      "red_id": "d10686543",
      "red_official_verified": false,
      "red_official_verify_type": 0,
      "self": false,
      "show_red_official_verify_icon": false
    }
  ]
}

Response fields

FieldMeaning
users[]List of user accounts that match the keyword. Each item is one profile.
users[].idInternal user ID of the account. It also appears inside the link value.
users[].red_idThe public Xiaohongshu ID of the account. The same number appears in desc after the label 小红书号.
users[].nameDisplay name of the account.
users[].sub_titleShort follower label as shown in the app, for example 粉丝 6万. It is display text, not a number.
users[].imageURL of the account avatar image.
users[].linkApp deep link that opens the user profile in the Xiaohongshu app.
users[].red_official_verified / users[].red_official_verify_type / users[].show_red_official_verify_iconFlags for official verification. The false and 0 values in the sample mean the account is not verified.
users[].followed / users[].selfWhether the account is already followed, and whether it is the calling account itself.
filters[].id / filters[].name / filters[].filter_tags[]Filter groups the app offers, such as fans_count and user_type. Each tag has an id and a display name.

Notes

  • Send page to get the next set of results. It starts at 1 and the sample request used the default.
  • Follower counts come as text such as 粉丝 4.2万, so parse them if you need numbers.
  • User IDs in users[].id are 24-character hex strings. Use them with Xiaohongshu (RED) User Information or Xiaohongshu (RED) User Posted Notes for more detail.
  • The filters list describes filter options only. This API has no filter parameters.

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 User Search API?

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

Xiaohongshu User Search API 的費用是多少?

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

Xiaohongshu User Search API 接受哪些參數?

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

Xiaohongshu User Search API 會回傳什麼?

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

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

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