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.02 每次调用JSON
Xiaohongshu$0.02 每次调用JSON
Xiaohongshu$0.02 每次调用JSON
Xiaohongshu$0.02 每次调用JSON
Xiaohongshu$0.02 每次调用JSON
Xiaohongshu$0.02 每次调用JSON

指南:Best Xiaohongshu API in 2026: Pricing Compared

问题

常见问题

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

向 https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Xiaohongshu PGY blogger note cases v2 (cross-platform) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Xiaohongshu API 访问权限。