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

Xiaohongshu (RED) PGY Blogger Fan Profile

Documentación de la API
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-profile

Returns demographic distributions for a blogger's follower base, including gender, age, region, interests, and device types, filtered by user ID.

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

Entorno de pruebas

Entrada
Blogger user ID
SalidaEjemplo
Respuestaoutputs · 2.1 KB · 95 líneas
[
  {
    "data": {
      "code": 0,
      "data": {
        "ages": [
          {
            "group": "<18",
            "percent": 0.030312608654423617
          },
          {
            "group": "18-24",
            "percent": 0.15026709232860258
          },
          {
            "group": "25-34",
            "percent": 0.36482599487941336
          },
          "… 2 more items in the full response"
        ],
        "cities": [
          {
            "name": "北京",
            "percent": 0.06032083810770993
          },
          {
            "name": "上海",
            "percent": 0.03549407977301249
          },
          {
            "name": "广州",
            "percent": 0.03260217165930049
          },
          "… 6 more items in the full response"
        ],
        "dateKey": "2026-10-05",
        "devices": [
          {
            "desc": "苹果",
            "name": "apple inc.",
            "percent": 0.4337290216946378
          },
          {
            "desc": "华为",
            "name": "huawei",
            "percent": 0.18196206849501975
          },
          {
            "desc": "小米",
            "name": "xiaomi",
            "percent": 0.10907354345749762
          },
          "… 7 more items in the full response"
        ],
        "gender": {
          "female": 0.42516673515187914,
          "male": 0.5748332648481209
        },
        "interests": [
          {
            "name": "生活记录",
            "percent": 0.08833639927903822
          },
          {
            "name": "兴趣爱好",
            "percent": 0.06424240171940712
          },
          {
            "name": "娱乐",
            "percent": 0.062006429195235704
          },
          "… 17 more items in the full response"
        ],
        "provinces": [
          {
            "name": "广东",
            "percent": 0.1256888743384078
          },
          {
            "name": "浙江",
            "percent": 0.07049708080973427
          },
          {
            "name": "山东",
            "percent": 0.06381295356577726
          },
          "… 33 more items in the full response"
        ]
      },
      "guid": null,
      "msg": "成功",
      "success": true
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

Xiaohongshu (RED) PGY Blogger Fan Profile API

Returns the follower demographic breakdown for one Xiaohongshu (RED) blogger on the PGY platform. It covers gender, age, city, province, interest and device shares. The only input is the blogger's user_id.

Use cases

  • Check whether a blogger's followers match the age and gender of your target buyers before you book a campaign.
  • Compare the top provinces and cities of a blogger's audience against your sales regions.
  • Pick bloggers whose followers mostly use a given phone brand, such as Apple or Huawei.
  • Match a blogger's top follower interests to your product category.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-profile" \
  -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

Example response

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

{
  "code": 0,
  "data": {
    "ages": [
      {
        "group": "<18",
        "percent": 0.030148218227688428
      }
    ],
    "cities": [
      {
        "name": "北京",
        "percent": 0.05891793379212795
      }
    ],
    "dateKey": "2026-11-02",
    "devices": [
      {
        "desc": "苹果",
        "name": "apple inc.",
        "percent": 0.43350383631713557
      }
    ],
    "gender": {
      "female": 0.42393566698202456,
      "male": 0.5760643330179754
    },
    "interests": [
      {
        "name": "生活记录",
        "percent": 0.08384622079649869
      }
    ],
    "provinces": [
      {
        "name": "广东",
        "percent": 0.12422816418681827
      }
    ]
  },
  "guid": null,
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.gender.female / data.gender.maleShare of followers by gender. The two values add up to 1.
data.ages[].groupAge bucket label, for example <18, 18-24 or 25-34.
data.ages[].percentShare of followers in that age bucket, as a fraction between 0 and 1.
data.provinces[].name / data.cities[].nameProvince or city name of the followers, in Chinese.
data.provinces[].percent / data.cities[].percentShare of followers located in that province or city, as a fraction between 0 and 1.
data.interests[].nameInterest category of the followers, in Chinese, such as 生活记录 (life records).
data.interests[].percentShare of followers tied to that interest, as a fraction between 0 and 1.
data.devices[].name / data.devices[].descDevice brand. name is the English brand key and desc is the Chinese label.
data.devices[].percentShare of followers using that device brand, as a fraction between 0 and 1.
data.dateKeyDate string in YYYY-MM-DD format attached to this profile.

Notes

Pricing

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

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Xiaohongshu$0.02 por llamadaJSON
Xiaohongshu$0.02 por llamadaJSON
Xiaohongshu$0.02 por llamadaJSON
Xiaohongshu$0.02 por llamadaJSON
Xiaohongshu$0.02 por llamadaJSON
Xiaohongshu$0.02 por llamadaJSON

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

Preguntas

FAQ

¿Cómo uso la API de Xiaohongshu (RED) PGY Blogger Fan Profile?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-profile 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 (RED) PGY Blogger Fan Profile?

$0.02 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 (RED) PGY Blogger Fan Profile?

Requeridos: user_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Xiaohongshu (RED) PGY Blogger Fan Profile?

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 (RED) PGY Blogger Fan Profile 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.