user_idstringrequerido
Target blogger user ID
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-similarGet PGY similar bloggers on Xiaohongshu. Returns the platform data as structured JSON.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
This API returns a list of Xiaohongshu bloggers that PGY marks as similar to a target blogger. It needs the target blogger's user_id, and it returns profile, content tag, pricing and cooperation data for each similar blogger.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-similar" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "5c668b3e0000000012021605", "page_num": 1, "page_size": 4}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Target blogger user ID |
page_num | integer | No | Page |
page_size | integer | No | Page size, 1-4 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"highlightWords": [],
"kols": [
{
"accumCommonImpMedinNum30d": 0,
"accumCoopImpMedinNum30d": 0,
"accumPicCommonImpMedinNum30d": 0,
"accumVideoCommonImpMedinNum30d": 0,
"activityList": [],
"algoRecommendReasons": null,
"authorityList": null,
"avgAgmv90d": 0.0,
"avgLiveViewerNum": 0.0,
"businessNoteCount": 133,
"buyerType": 2,
"classifyCode": null
}
],
"redirect2NickSearch": false,
"resultType": 0,
"total": 8,
"trackId": "kolSimilar_be353bb575c84f58a9dc3a2bfec5cf2f"
},
"guid": null,
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.kols[] | One similar blogger per item. The response holds one object for each blogger on the current page. |
data.kols[].fansCount / data.kols[].fansNum | Follower count of the similar blogger. Both keys carry the same number in this response. |
data.kols[].contentTags[].taxonomy1Tag | Top-level content category of the blogger, for example 美食 (food). |
data.kols[].contentTags[].taxonomy2Tags[] | Sub-categories under the top-level tag, for example 美食探店 (food venue reviews). |
data.kols[].businessNoteCount | Number of sponsored notes the blogger has, as the key name indicates. |
data.kols[].coopNoteNum30d | Number of cooperation notes in the last 30 days, as the key name indicates. |
data.kols[].clickMidNum | Median click count for the blogger. The response gives a bare number, so the exact scope is not stated. |
data.kols[].clothingIndustryPrice.picturePrice / data.kols[].clothingIndustryPrice.videoPrice | Price for an image note and a video note in the clothing industry. The value is 0 for all bloggers in this sample. |
data.total | Total number of similar bloggers found for the target. It was 8 in this sample. |
data.trackId | Identifier of this similar-blogger result, starting with kolSimilar_. |
page_size between 1 and 4. The default is 4.page_num to move through the list. Compare data.total with the number of items you have collected to know when to stop.user_id from Xiaohongshu (RED) PGY Blogger Search. It is a 24-character hex string, such as 5c668b3e0000000012021605.$0.02 per successful call. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-similar" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "5c668b3e0000000012021605",
"page_num": 1,
"page_size": 4
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
user_idstringrequeridoTarget blogger user ID
page_numintegerPage
Valor predeterminado: 1
page_sizeintegerPage size, 1-4
Valor predeterminado: 4
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Xiaohongshu PGY similar bloggersEsta API Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-similar 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.
$0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: user_id (string). Opcionales: page_num (integer) y page_size (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Xiaohongshu PGY similar bloggers 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.