search_wordstringwymagane
Keyword
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-dailyPGY keyword daily trend on Xiaohongshu. Returns the platform data as structured JSON.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns a day-by-day trend for one keyword on Xiaohongshu's PGY platform. Each row has the date, note count, user count, reads, impressions, engagement and a search score. It needs one input, search_word.
面膜 rises and falls from day to day.searchScore with noteNum to see whether search demand is growing faster than content supply.impNum and readNum to pick the best days to launch a campaign around a keyword.engageNum over time to judge how much interaction notes on a topic attract.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-daily" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_word": "面膜"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
search_word | string | Yes | Keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"dailyData": [
{
"brandTag": 0,
"cmtNum": null,
"dateKey": "2026-08-04",
"engageNum": 245994,
"engageNum30bm": null,
"favNum": null,
"followCnt": null,
"impNum": 36445871,
"impNum30bm": null,
"likeNum": null,
"noteNum": 26704,
"noteNum30bm": null
}
]
},
"guid": null,
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.dailyData[].dateKey | Date of the data point, in YYYY-MM-DD format. |
data.dailyData[].searchScore | Search score for the keyword on that day. It is returned as a string. |
data.dailyData[].noteNum | Number of notes for the keyword on that day. |
data.dailyData[].userNum | Number of users tied to the keyword on that day. |
data.dailyData[].impNum / readNum | Impressions and reads for the keyword on that day. |
data.dailyData[].engageNum | Engagement count for the keyword on that day. |
data.dailyData[].cmtNum / favNum / likeNum / shareNum / followCnt | Comment, favorite, like, share and follow counts. These were null in this response. |
data.dailyData[].impNum30bm / readNum30bm / noteNum30bm / engageNum30bm / userNum30bm / searchScore30bm | Companion fields for each main metric. These were null in this response. |
success / msg | success is true and msg is 成功 when the call works. |
search_word. Chinese keywords such as 面膜 work.data.dailyData, one object per day, in ascending date order.null, so check for null before you calculate with them.$0.02 per successful call. Failed calls 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/keyword-daily" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"search_word": "面膜"
}'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.
search_wordstringwymaganeKeyword
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
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/keyword-daily 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: search_word (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Xiaohongshu PGY keyword daily trend 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.