Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Xiaohongshu Pugongying Creator Core Metrics

Docs 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.

Prix
$0.021429USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 4 facultatifs

Bac à sable

Entrée
KOL's user ID.
Business type.
Type of note.
Time range for data.
Advertisement filter.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Xiaohongshu$0.021429 par appelJSON
Xiaohongshu$0.021429 par appelJSON
Xiaohongshu$0.071429 par appelJSON
Xiaohongshu$0.021429 par appelJSON
Xiaohongshu$0.021429 par appelJSON
Xiaohongshu$0.021429 par appelJSON

Guides :Best Xiaohongshu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Xiaohongshu Pugongying Creator Core Metrics ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-core-data avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Xiaohongshu Pugongying Creator Core Metrics ?

$0.021429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Xiaohongshu Pugongying Creator Core Metrics accepte-t-elle ?

Obligatoire : userId (string). Facultatif : business (l’un de DAILY_NOTE, COOPERATE_NOTE), noteType (l’un de PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO), dateType (l’un de DAY_30, DAY_90) et advertiseSwitch (l’un de ALL, ORGANIC_ONLY). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Xiaohongshu Pugongying Creator Core Metrics ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Xiaohongshu ?

Non. Xiaohongshu Pugongying Creator Core Metrics fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Xiaohongshu séparément.