user_idstringwymagane
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
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
user_idstringwymaganeBlogger user ID
advertise_switchintegerTraffic type, 1=all (incl. ads), 0=organic only
Możliwe wartości: 0, 1
note_typeintegerNote type, 0=all, 1=image, 2=video, 4=image+video
Możliwe wartości: 0, 1, 2, 4
order_typeintegerOrder, 1=most read, 2=most interaction, 3=latest
Możliwe wartości: 1, 2, 3
page_numberintegerPage number, start from 1
page_sizeintegerPage size (1-100)
feature_tagstring按内容特征筛选,如 韩系;取值见博主详情的 featureTags/Filter by feature tag
Domyślnie: ""
content_tagstring按内容类目筛选,如 美妆;取值见博主详情的 contentTags/Filter by content tag
Domyślnie: ""
is_third_platforminteger1=只看跨域合作笔记 0=不限(默认)/Cross-platform notes only
Domyślnie: 0
Możliwe wartości: 0, 1
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Xiaohongshu | $0.02 za wywołanie | JSON |
Xiaohongshu | $0.02 za wywołanie | JSON |
Xiaohongshu | $0.02 za wywołanie | JSON |
Xiaohongshu | $0.02 za wywołanie | JSON |
Xiaohongshu | $0.02 za wywołanie | JSON |
Xiaohongshu | $0.02 za wywołanie | JSON |
Przewodniki:Best Xiaohongshu API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.02 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: user_id (string). Opcjonalne: advertise_switch (jedna z opcji: 0, 1), note_type (jedna z opcji: 0, 1, 2, 4), order_type (jedna z opcji: 1, 2, 3), page_number (integer), page_size (integer) i feature_tag (string) i jeszcze 2. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Xiaohongshu (RED) PGY Blogger Notes działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Xiaohongshu.