search_wordstringobligatoire
Keyword
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-dailyPGY keyword daily trend on Xiaohongshu. Returns the platform data as structured JSON.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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": "面膜"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
search_wordstringobligatoireKeyword
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Xiaohongshu PGY keyword daily trendCette API Xiaohongshu | $0.02 par appel | JSON |
Xiaohongshu | $0.02 par appel | JSON |
Xiaohongshu | $0.02 par appel | JSON |
Xiaohongshu | $0.02 par appel | JSON |
Xiaohongshu | $0.02 par appel | JSON |
Xiaohongshu | $0.02 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-daily avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.02 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : search_word (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Xiaohongshu PGY keyword daily trend fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Xiaohongshu séparément.