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

Xiaohongshu (RED) Blogger Core Data

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

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

Bac à sable

Entrée
Blogger user ID
Traffic type, 1=all (incl. ads), 0=organic only
112
Date range (~1=7d, 2=30d, 3=90d) Plage : de 1 à 12.
Note type, 1=image, 2=video, 3=all (default)
SortieExemple
Réponseoutputs · 1.2 KB · 58 lignes
[
  {
    "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
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Xiaohongshu$0.02 par appelJSON
Xiaohongshu$0.02 par appelJSON
Xiaohongshu$0.02 par appelJSON
Xiaohongshu$0.02 par appelJSON
Xiaohongshu$0.02 par appelJSON
Xiaohongshu$0.02 par appelJSON

Guides :Best Xiaohongshu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Xiaohongshu (RED) Blogger Core Data ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-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 (RED) Blogger Core Data ?

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

Quels paramètres l’API Xiaohongshu (RED) Blogger Core Data accepte-t-elle ?

Obligatoire : user_id (string). Facultatif : advertise_switch (l’un de 0, 1), date_type (integer) et note_type (l’un de 1, 2, 3). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Xiaohongshu (RED) Blogger Core Data ?

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