search_wordstringzorunlu
Keyword
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-dailyPGY keyword daily trend on Xiaohongshu. Returns the platform data as structured JSON.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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": "面膜"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
search_wordstringzorunluKeyword
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Xiaohongshu | $0.02 çağrı başına | JSON |
Xiaohongshu | $0.02 çağrı başına | JSON |
Xiaohongshu | $0.02 çağrı başına | JSON |
Xiaohongshu | $0.02 çağrı başına | JSON |
Xiaohongshu | $0.02 çağrı başına | JSON |
Xiaohongshu | $0.02 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-daily adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.02, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: search_word (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Xiaohongshu PGY keyword daily trend, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Xiaohongshu API erişimi için ayrıca başvuru yapmanız gerekmez.