Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Xiaohongshu (RED) Blogger Core Data

API 文档
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-core-data

Returns Pugongying core performance metrics and daily trend data for a specified Xiaohongshu blogger, filterable by date range, note type, and traffic source.

价格
$0.02美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 3 个可选

Playground

输入
Blogger user ID
Traffic type, 1=all (incl. ads), 0=organic only
112
Date range (~1=7d, 2=30d, 3=90d) 范围:1 到 12。
Note type, 1=image, 2=video, 3=all (default)
输出示例
响应outputs · 1.2 KB · 58 行
[
  {
    "data": {
      "code": 0,
      "data": {
        "dailyData": [
          {
            "cpe": 0,
            "cpm": 0,
            "cpuv": 0,
            "cpv": 0,
            "dateKey": "2026-09-06",
            "engage": 10,
            "imp": 1371,
            "read": 171,
            "thirdUserNum": 0
          },
          {
            "cpe": 0,
            "cpm": 0,
            "cpuv": 0,
            "cpv": 0,
            "dateKey": "2026-09-07",
            "engage": 10,
            "imp": 1390,
            "read": 170,
            "thirdUserNum": 0
          },
          {
            "cpe": 0,
            "cpm": 0,
            "cpuv": 0,
            "cpv": 0,
            "dateKey": "2026-09-08",
            "engage": 10,
            "imp": 1379,
            "read": 169,
            "thirdUserNum": 0
          },
          "… 27 more items in the full response"
        ],
        "sumData": {
          "cpe": 0,
          "cpm": 0,
          "cpuv": 0,
          "cpv": 0,
          "dateKey": "2026-10-05",
          "engage": 10,
          "imp": 1488,
          "read": 139,
          "thirdUserNum": 0
        }
      },
      "msg": "成功",
      "success": true
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Xiaohongshu (RED) Blogger Core Data API

Returns core performance metrics for a Xiaohongshu blogger on the Pugongying (PGY) platform. The response has a list of daily values and one summary object. The only required input is the blogger user_id.

Use cases

  • Chart a blogger's daily impressions, reads and engagement over a chosen period.
  • Compare organic-only numbers with numbers that include ads by setting advertise_switch.
  • Check whether a blogger's video notes or image notes get more reads by setting note_type.
  • Pull the summary row to screen many bloggers before a campaign.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-core-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "60b137080000000001000301"}'

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

Parameters

NameTypeRequiredDescription
user_idstringYesBlogger user ID
advertise_switchintegerNoTraffic type, 1=all (incl. ads), 0=organic only
date_typeintegerNoDate range (~1=7d, 2=30d, 3=90d)
note_typeintegerNoNote type, 1=image, 2=video, 3=all (default)

Example response

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

{
  "code": 0,
  "data": {
    "dailyData": [
      {
        "cpe": 0,
        "cpm": 0,
        "cpuv": 0,
        "cpv": 0,
        "dateKey": "2026-10-04",
        "engage": 10,
        "imp": 1467,
        "read": 138,
        "thirdUserNum": 0
      }
    ],
    "sumData": {
      "cpe": 0,
      "cpm": 0,
      "cpuv": 0,
      "cpv": 0,
      "dateKey": "2026-11-02",
      "engage": 9,
      "imp": 1577,
      "read": 115,
      "thirdUserNum": 0
    }
  },
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.dailyData[].dateKeyDate of the daily row, in YYYY-MM-DD format.
data.dailyData[].impImpressions for that day.
data.dailyData[].readReads for that day.
data.dailyData[].engageEngagement count for that day.
data.dailyData[].cpm / data.dailyData[].cpv / data.dailyData[].cpe / data.dailyData[].cpuvCost metrics for that day. The sample shows 0 for all of them.
data.dailyData[].thirdUserNumCount named thirdUserNum. The sample shows 0.
data.sumData.imp / data.sumData.read / data.sumData.engageSummary values for impressions, reads and engagement over the selected range.
data.sumData.dateKeyDate attached to the summary object.
data.sumData.cpm / data.sumData.cpv / data.sumData.cpe / data.sumData.cpuvCost metrics in the summary object. The sample shows 0 for all of them.

Notes

  • user_id is a 24-character hex string, for example 60b137080000000001000301.
  • date_type takes a value from 1 to 12. The documented values are 1 for 7 days, 2 for 30 days and 3 for 90 days.
  • note_type accepts 1 for image, 2 for video and 3 for all notes. advertise_switch accepts 1 for all traffic including ads and 0 for organic only.
  • To find a user_id, use Xiaohongshu (RED) PGY Blogger Search. For profile data, call Xiaohongshu (RED) PGY Blogger Details.

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 (RED) Blogger Core Data API?

向 https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-core-data 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Xiaohongshu (RED) Blogger Core Data API 的价格是多少?

每次调用 $0.02,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Xiaohongshu (RED) Blogger Core Data API 接受哪些参数?

必填:user_id (string)。 可选:advertise_switch(0, 1 之一), date_type (integer) 和 note_type(1, 2, 3 之一)。 Parameters 表和本页的 Playground 列出了每个字段。

Xiaohongshu (RED) Blogger Core Data API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Xiaohongshu 开发者账户或 API key 吗?

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