userIdstringrequerido
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tagsContent category tags of a Xiaohongshu (RedNote) Pugongying creator by user ID, showing which subjects the creator publishes about.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
This API returns the content category tags of a Xiaohongshu (RedNote) Pugongying creator. It needs the creator's userId and returns a list of tags, each with a name such as a topic label.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "5c668b3e0000000012021605"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"createTime": null,
"id": null,
"name": "美食",
"proTag": null,
"reason": null,
"status": null,
"tagId": null,
"updateTime": null
}
]
| Field | Meaning |
|---|---|
[].name | Content category label for the creator, for example 美食 (food) or 出行旅游 (travel). Each item in the list is one tag. |
[].tagId / [].id / [].proTag | Tag identifiers and tag type fields. They are null in the sample response, so do not rely on them. |
[].createTime / [].updateTime | Tag creation and update times. They are null in the sample response. |
[].status / [].reason | Tag status and reason fields. They are null in the sample response. |
name value as the tag. The other keys can be null.userId is a 24-character hex string, for example 5c668b3e0000000012021605.userId, use Xiaohongshu Pugongying Creator Search.$0.021429 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-v2/data-v2-kol-content-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5c668b3e0000000012021605"
}'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.
userIdstringrequeridoKOL's user ID.
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 | $0.021429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.071429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tags 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.021429 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: userId (string). 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 Creator Content Tags 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.