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

Xiaohongshu Note Details

API 文件
https://api.sandbase.ai/v1/api/xiaohongshu/note-detail

Get Xiaohongshu (RedNote) details for a note identified by a note ID or supported explore URL. Use it to perform direct note lookup and content review from stored identifiers or shared explore links.

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

Playground

輸入
A Xiaohongshu note ID or an explore URL containing /explore/.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Xiaohongshu Note Details API

Returns the details of one Xiaohongshu (RedNote) note: its text, hashtags, images, engagement counts, and author. It needs a note ID or an explore URL containing /explore/ in the noteId parameter.

Use cases

  • Pull the text, hashtags, and images of a saved note ID to review its content.
  • Track liked_count, collected_count, and comments_count for a note over repeated calls.
  • Identify the author of a shared explore link and read the author's red_id and nickname.
  • Check which topics and accounts a note tags through hash_tag and ats.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/note-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"noteId": "6ae00b99000000001200a9f9"}'

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

Parameters

NameTypeRequiredDescription
noteIdstringYesA Xiaohongshu note ID or an explore URL containing /explore/.

Example response

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

[
  {
    "comment_list": [],
    "model_type": "note",
    "note_list": [
      {
        "api_upgrade": -1,
        "ats": [
          {
            "followed": false,
            "id": "622f299f00000000100098c8",
            "level": {
              "image": ""
            },
            "name": "热点薯",
            "nickname": "热点薯",
            "red_official_verified": false,
            "red_official_verify_type": 0,
            "show_red_official_verify_icon": false
          }
        ],
        "biz_map": {},
        "co_produce_link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22together_post%22%2C%22extr…",
        "collected": false,
        "collected_count": 3209,
        "comment_prompt_config": {
          "forbidden_cmt_type": 0,
          "placeholder_long": "有话要说,快来评论",
          "placeholder_short": "说点什么..."
        },
        "comments_count": 511,
        "content_trans_info": {
          "strategy": 10
        },
        "cooperate_binds": [],
        "countdown": 0,
        "desc": "10月27日,东鹏饮料集团发布关于终止与基利安·姆巴佩合作的声明:我司坚决反对、零容忍伤害民族感情的行为。即日起终止与基利安·姆巴佩全部合作。(财联社)#新闻[…"
      }
    ],
    "track_id": "",
    "user": {
      "followed": false,
      "fstatus": "none",
      "id": "64b898310000000014037b21",
      "image": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo31qobul3rgm005p5oj0ol6up1…",
      "level": {
        "image": ""
      },
      "live": {
        "has_draw": false,
        "has_goods": false,
        "has_red_packet": false,
        "live_link": "xhsdiscover://live_audience?room_id=570525084055212707&note_id=6ae00b99000000001…",
        "live_status": 2,
        "room_id": "570525084055212707",
        "start_time": 1793690366000,
        "user_id": "64b898310000000014037b21"
      },
      "name": "潇湘晨报",
      "nickname": "潇湘晨报",
      "red_id": "63048342102",
      "red_official_verified": false,
      "red_official_verify_type": 0,
      "show_red_official_verify_icon": false
    }
  }
]

Response fields

FieldMeaning
note_list[].idID of the note. It matches the noteId you sent.
note_list[].descFull note text, including the hashtags and @mentions written in it.
note_list[].liked_count / collected_count / comments_countNumber of likes, collects, and comments on the note.
note_list[].hash_tag[].nameName of each hashtag topic on the note. id holds the topic ID.
note_list[].ats[].nicknameNickname of each account mentioned in the note. id holds that account's user ID.
note_list[].images_list[]One row per image. fileid identifies the image, width and height give its size, and origin_img holds the original size.
note_list[].ip_locationLocation label shown for the note, such as a province name.
note_list[].mini_program_info.webpage_urlWeb link to the note on xiaohongshu.com.
user.nickname / user.red_idDisplay name and public RED ID of the note's author.
user.idUser ID of the author. user.userid holds the same value.

Notes

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 Note Details API?

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

Xiaohongshu Note Details API 的費用是多少?

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

Xiaohongshu Note Details API 接受哪些參數?

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

Xiaohongshu Note Details API 會回傳什麼?

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

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

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