Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Xiaohongshu Pugongying Creator Core Metrics

Documentación de la 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.

Precio
$0.021429USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 4 opcionales

Entorno de pruebas

Entrada
KOL's user ID.
Business type.
Type of note.
Time range for data.
Advertisement filter.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Xiaohongshu$0.021429 por llamadaJSON
Xiaohongshu$0.021429 por llamadaJSON
Xiaohongshu$0.071429 por llamadaJSON
Xiaohongshu$0.021429 por llamadaJSON
Xiaohongshu$0.021429 por llamadaJSON
Xiaohongshu$0.021429 por llamadaJSON

Guías:Best Xiaohongshu API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Xiaohongshu Pugongying Creator Core Metrics?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-core-data con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Xiaohongshu Pugongying Creator Core Metrics?

$0.021429 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Xiaohongshu Pugongying Creator Core Metrics?

Requeridos: userId (string). Opcionales: business (una de DAILY_NOTE, COOPERATE_NOTE), noteType (una de PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO), dateType (una de DAY_30, DAY_90) y advertiseSwitch (una de ALL, ORGANIC_ONLY). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Xiaohongshu Pugongying Creator Core Metrics?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Xiaohongshu?

No. Xiaohongshu Pugongying Creator Core Metrics funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Xiaohongshu por separado.