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

Xiaohongshu PGY blogger note cases v2 (cross-platform)

API 文件
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2

Get PGY blogger note cases v2 (cross-platform) on Xiaohongshu. Returns the platform data as structured JSON.

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

Playground

輸入
Blogger user ID
Page number, from 1
Page size, 1-8 (fixed at 8 on PGY web)
Note type
Sort
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Xiaohongshu PGY blogger note cases v2 (cross-platform) API

Returns a paged list of note cases for one blogger on Xiaohongshu's PGY (Pugongying) creator platform. Each item has note metrics, a cover image URL and a short blogger summary. The only required input is the blogger's user_id.

Use cases

  • Review a blogger's past notes with impressions and engagement before you pick them for a campaign.
  • Separate sponsored notes from organic ones using noteInfo.isAdNote and noteInfo.cooperNote.
  • Compare engagement against impressions across a blogger's notes to spot the posts that did best.
  • Pull the blogger's content tags and follower count next to each note to build a creator shortlist.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "5c668b3e0000000012021605", "page_number": 1, "page_size": 8, "note_type": 0, "order_type": 1}'

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

Parameters

NameTypeRequiredDescription
user_idstringYesBlogger user ID
note_typeintegerNoNote type
order_typeintegerNoSort
page_numberintegerNoPage number, from 1
page_sizeintegerNoPage size, 1-8 (fixed at 8 on PGY web)

Example response

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

{
  "code": 0,
  "data": {
    "highlightWords": [
      "白菜"
    ],
    "noteList": [
      {
        "brandInfo": null,
        "noteInfo": {
          "content": null,
          "cooperNote": 0,
          "engageNum": 154,
          "favNum": 58,
          "imageUrl": "http://ci.xiaohongshu.com/1040g2sg32701l0ef70705n36hcv4k5g5ti3p138?imageView2/2/…",
          "impNum": 2249,
          "isAdNote": 0,
          "noteId": "6ae5be8f000000000e036b30"
        },
        "userInfo": {
          "advertiserId": null,
          "avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g…",
          "clickMidNum": 1050,
          "contentTags": [
            {
              "taxonomy1Tag": "美食",
              "taxonomy2Tags": [
                "美食探店"
              ]
            }
          ],
          "cooperType": 1,
          "currentLevel": 2,
          "fansNum": 10177,
          "featureTags": [
            "探店"
          ]
        }
      }
    ],
    "total": 43,
    "trackId": null
  },
  "guid": null,
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.noteList[].noteInfo.noteIdID of the note. Use it to look up the note in other note APIs.
data.noteList[].noteInfo.impNumImpression count for the note.
data.noteList[].noteInfo.engageNum / data.noteList[].noteInfo.favNumEngagement count and favorite count for the note.
data.noteList[].noteInfo.isAdNote / data.noteList[].noteInfo.cooperNoteFlags that mark whether the note is an ad or a cooperation note. The sample shows 0 for both.
data.noteList[].noteInfo.imageUrlURL of the note's cover image.
data.noteList[].userInfo.fansNumFollower count of the blogger.
data.noteList[].userInfo.currentLevel / data.noteList[].userInfo.cooperTypeBlogger level value and cooperation type code, as returned by PGY.
data.noteList[].userInfo.contentTags[].taxonomy1TagTop-level content category of the blogger. The matching taxonomy2Tags list holds the sub-categories.
data.noteList[].userInfo.featureTagsShort style tags that describe the blogger.
data.totalTotal number of note cases for this blogger across all pages.

Notes

  • Get user_id from a blogger search such as Xiaohongshu (RED) PGY Blogger Search.
  • Page with page_number (starts at 1) and page_size (1 to 8). Compare data.total with the number of items you have fetched to know when to stop.
  • note_type accepts 0, 1 or 2, and order_type accepts 1, 2 or 3. The defaults are 0 and 1.
  • For the blogger's full note list, see Xiaohongshu (RED) PGY Blogger Notes.

Pricing

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

探索更多

相關 APIs

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

指南:Best Xiaohongshu API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Xiaohongshu PGY blogger note cases v2 (cross-platform) API?

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

Xiaohongshu PGY blogger note cases v2 (cross-platform) API 的費用是多少?

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

Xiaohongshu PGY blogger note cases v2 (cross-platform) API 接受哪些參數?

必要:user_id (string)。 選填:page_number (integer), page_size (integer), note_type(0, 1, 2 之一) 和 order_type(1, 2, 3 之一)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Xiaohongshu PGY blogger note cases v2 (cross-platform) API 會回傳什麼?

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

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

不需要。Xiaohongshu PGY blogger note cases v2 (cross-platform) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Xiaohongshu API 存取權。