search_wordstringrequerido
Keyword
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-dailyPGY keyword daily trend on Xiaohongshu. Returns the platform data as structured JSON.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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": "面膜"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
search_wordstringrequeridoKeyword
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-daily con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: search_word (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Xiaohongshu PGY keyword daily trend funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Xiaohongshu por separado.