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

Xiaohongshu Pugongying Creator Core Metrics

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

Get Xiaohongshu Pugongying core data for a creator with business, note-type, date-range, and advertisement filters. Use it to compare creators within a selected analysis scope.

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

Playground

输入
KOL's user ID.
Business type.
Type of note.
Time range for data.
Advertisement filter.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Xiaohongshu Pugongying Creator Core Metrics API

Returns core performance metrics for one Xiaohongshu Pugongying creator: a daily series and a summary row. It needs the creator's userId and accepts optional filters for business type, note type, date range, and ad scope.

Use cases

  • Compare two creators on cpm and cpe under the same filters before choosing who to book.
  • Chart a creator's daily imp, read, and engage to spot spikes or drops over 30 or 90 days.
  • Check organic-only performance by setting advertiseSwitch to ORGANIC_ONLY and comparing it with the ALL result.
  • Compare cooperation notes with daily notes by switching business between COOPERATE_NOTE and DAILY_NOTE.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-core-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"userId": "5a73c5fa4eacab4c4ccc9778"}'

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

Parameters

NameTypeRequiredDescription
userIdstringYesKOL's user ID.
advertiseSwitchstringNoAdvertisement filter.
businessstringNoBusiness type.
dateTypestringNoTime range for data.
noteTypestringNoType of note.

Example response

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

{
  "dailyData": [
    {
      "cpe": 0.45091447660934664,
      "cpm": 14.582954416499165,
      "cpuv": 0,
      "cpv": 0,
      "dateKey": "2026-10-04",
      "engage": 332868,
      "imp": 10292496,
      "read": 1783903,
      "thirdUserNum": 0
    }
  ],
  "sumData": {
    "cpe": 0.5016533982432853,
    "cpm": 20.009503630677656,
    "cpuv": 0,
    "cpv": 0,
    "dateKey": "2026-11-02",
    "engage": 299081,
    "imp": 7498187,
    "read": 1557364,
    "thirdUserNum": 0
  }
}

Response fields

FieldMeaning
dailyData[]One row per day in the selected range. Use it to build a time series.
dailyData[].dateKeyDate of the row in YYYY-MM-DD format.
dailyData[].imp / sumData.impImpressions for that day, and for the summary row.
dailyData[].read / sumData.readReads for that day, and for the summary row.
dailyData[].engage / sumData.engageEngagement count for that day, and for the summary row.
dailyData[].cpe / sumData.cpeCost per engagement. Compare it across creators under the same filters.
dailyData[].cpm / sumData.cpmCost per thousand impressions. Compare it across creators under the same filters.
dailyData[].cpv / sumData.cpvCost per view. It is 0 in the sample response.
dailyData[].cpuv / sumData.cpuvCost per unique viewer. It is 0 in the sample response.
sumDataSummary row for the whole selected scope. It uses the same metric keys as dailyData[].

Notes

Pricing

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

探索更多

相关 APIs

全部 APIs
API价格响应
Xiaohongshu$0.021429 每次调用JSON
Xiaohongshu$0.021429 每次调用JSON
Xiaohongshu$0.071429 每次调用JSON
Xiaohongshu$0.021429 每次调用JSON
Xiaohongshu$0.021429 每次调用JSON
Xiaohongshu$0.021429 每次调用JSON

指南:Best Xiaohongshu API in 2026: Pricing Compared

问题

常见问题

如何使用 Xiaohongshu Pugongying Creator Core Metrics API?

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

Xiaohongshu Pugongying Creator Core Metrics API 的价格是多少?

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

Xiaohongshu Pugongying Creator Core Metrics API 接受哪些参数?

必填:userId (string)。 可选:business(DAILY_NOTE, COOPERATE_NOTE 之一), noteType(PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO 之一), dateType(DAY_30, DAY_90 之一) 和 advertiseSwitch(ALL, ORGANIC_ONLY 之一)。 Parameters 表和本页的 Playground 列出了每个字段。

Xiaohongshu Pugongying Creator Core Metrics API 返回什么?

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

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

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