user_idstringobrigatório
Blogger user ID
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notesReturns notes posted by a specific blogger on the Xiaohongshu Pugongying platform. Supports filtering by note type, content tag, feature tag, and traffic source.
[
{
"data": {
"code": 0,
"data": {
"list": [
{
"brandName": null,
"collectNum": 56,
"date": "2026-09-26",
"imgUrl": "http://ci.xiaohongshu.com/note_pre_post_uhdr/1040g3r8325ionneh50005n36hcv4k5g5hb4v0s0?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 73,
"noteId": "6ab7605c000000001a02601f",
"readNum": 506,
"thirdReadUserNum": 0,
"title": "杭州的秋天真的很美……🍂"
},
{
"brandName": null,
"collectNum": 64,
"date": "2026-09-25",
"imgUrl": "http://ci.xiaohongshu.com/notes_pre_post/1040g3k8325h8sif2l6705n36hcv4k5g5p7jcdbo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 110,
"noteId": "6ab5d8f70000000002012c83",
"readNum": 3224,
"thirdReadUserNum": 0,
"title": "银盐复古市集回归,中秋天目里怎么逛看这篇!"
},
{
"brandName": null,
"collectNum": 75,
"date": "2026-09-23",
"imgUrl": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qg325etrdvlle005n36hcv4k5g5im4t0mo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 114,
"noteId": "6ab3719a000000001b0309ef",
"readNum": 1540,
"thirdReadUserNum": 0,
"title": "这真的不是在看演唱会吗!🎻"
},
"… 5 more items in the full response"
],
"total": 120
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Selecione um exemplo para carregar as entradas e o resultado no playground.
Retrieve notes for a specific creator by supplying their user_id. You can sort results by interaction or recency, and filter entries by tags and media formats.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "<user_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Blogger user ID |
note_type | integer | No | Note type, 0=all, 1=image, 2=video, 4=image+video |
page_size | integer | No | Page size (1-100) |
order_type | integer | No | Order, 1=most read, 2=most interaction, 3=latest |
content_tag | string | No | 按内容类目筛选,如 美妆;取值见博主详情的 contentTags/Filter by content tag |
feature_tag | string | No | 按内容特征筛选,如 韩系;取值见博主详情的 featureTags/Filter by feature tag |
page_number | integer | No | Page number, start from 1 |
advertise_switch | integer | No | Traffic type, 1=all (incl. ads), 0=organic only |
is_third_platform | integer | No | 1=只看跨域合作笔记 0=不限(默认)/Cross-platform notes only |
order_type to sort results by most read (1), most interaction (2), or latest (3).page_number (starting at 1) and page_size (up to 100).note_type with 0 for all, 1 for images, 2 for videos, or 4 for mixed.Flat price per call. Failed calls, including lookups whose target does not exist, 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/blogger-notes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content_tag": "美妆",
"feature_tag": "韩系",
"is_third_platform": 0,
"advertise_switch": 1,
"note_type": 4,
"order_type": 1,
"page_number": 1,
"page_size": 8,
"user_id": "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.
user_idstringobrigatórioBlogger user ID
advertise_switchintegerTraffic type, 1=all (incl. ads), 0=organic only
Valores possíveis: 0, 1
note_typeintegerNote type, 0=all, 1=image, 2=video, 4=image+video
Valores possíveis: 0, 1, 2, 4
order_typeintegerOrder, 1=most read, 2=most interaction, 3=latest
Valores possíveis: 1, 2, 3
page_numberintegerPage number, start from 1
page_sizeintegerPage size (1-100)
feature_tagstring按内容特征筛选,如 韩系;取值见博主详情的 featureTags/Filter by feature tag
Padrão: ""
content_tagstring按内容类目筛选,如 美妆;取值见博主详情的 contentTags/Filter by content tag
Padrão: ""
is_third_platforminteger1=只看跨域合作笔记 0=不限(默认)/Cross-platform notes only
Padrão: 0
Valores possíveis: 0, 1
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"code": 0,
"data": {
"list": [
{
"brandName": null,
"collectNum": 56,
"date": "2026-09-26",
"imgUrl": "http://ci.xiaohongshu.com/note_pre_post_uhdr/1040g3r8325ionneh50005n36hcv4k5g5hb4v0s0?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 73,
"noteId": "6ab7605c000000001a02601f",
"readNum": 506,
"thirdReadUserNum": 0,
"title": "杭州的秋天真的很美……🍂"
},
{
"brandName": null,
"collectNum": 64,
"date": "2026-09-25",
"imgUrl": "http://ci.xiaohongshu.com/notes_pre_post/1040g3k8325h8sif2l6705n36hcv4k5g5p7jcdbo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 110,
"noteId": "6ab5d8f70000000002012c83",
"readNum": 3224,
"thirdReadUserNum": 0,
"title": "银盐复古市集回归,中秋天目里怎么逛看这篇!"
},
{
"brandName": null,
"collectNum": 75,
"date": "2026-09-23",
"imgUrl": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qg325etrdvlle005n36hcv4k5g5im4t0mo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 114,
"noteId": "6ab3719a000000001b0309ef",
"readNum": 1540,
"thirdReadUserNum": 0,
"title": "这真的不是在看演唱会吗!🎻"
},
"… 5 more items in the full response"
],
"total": 120
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Xiaohongshu | $0.02 por chamada | JSON |
Xiaohongshu | $0.02 por chamada | JSON |
Xiaohongshu | $0.02 por chamada | JSON |
Xiaohongshu | $0.02 por chamada | JSON |
Xiaohongshu | $0.02 por chamada | JSON |
Xiaohongshu | $0.02 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes 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.02 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: user_id (string). Opcionais: advertise_switch (um de 0, 1), note_type (um de 0, 1, 2, 4), order_type (um de 1, 2, 3), page_number (integer), page_size (integer) e feature_tag (string) e mais 2. 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).
Não. Xiaohongshu (RED) PGY Blogger Notes 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.