userIdstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento 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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
userIdstringobrigatórioKOL's user ID.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.071429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tags com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.021429 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: userId (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Xiaohongshu PGY Creator Content Tags funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Xiaohongshu separadamente.