userIdstringobligatoire
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detailGet a paginated Xiaohongshu Pugongying creator note list with advertisement, sort-order, note-type, and third-platform filters. Use it to browse selected content from a known creator.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Get a paginated Xiaohongshu Pugongying creator note list with advertisement, sort-order, note-type, and third-platform filters. Use it to browse selected content from a known creator.
The response is the platform's original data structure.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "64b898310000000014037b21"}'
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
advertiseSwitch | string | No | Advertisement filter. |
orderType | string | No | Sorting order. |
noteType | string | No | Type of note. |
isThirdPlatform | string | No | Whether from third-party platform. |
pageNumber | integer | No | Page number. |
Flat price per call. Failed calls and empty results 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-v2/data-v2-notes-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "64b898310000000014037b21",
"noteType": "ALL",
"orderType": "LATEST",
"pageNumber": 1,
"advertiseSwitch": "ALL",
"isThirdPlatform": "NO"
}'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.
userIdstringobligatoireKOL's user ID.
advertiseSwitchstringAdvertisement filter.
Par défaut : "ALL"
Valeurs possibles : ALL, ORGANIC_ONLY
orderTypestringSorting order.
Par défaut : "LATEST"
Valeurs possibles : LATEST, MOST_READ, MOST_INTERACT
noteTypestringType of note.
Par défaut : "ALL"
Valeurs possibles : ALL, COOPERATION, PHOTO_TEXT, VIDEO
isThirdPlatformstringWhether from third-party platform.
Par défaut : "NO"
Valeurs possibles : NO, YES
pageNumberintegerPage number.
Par défaut : 1
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 | $0.021429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.071429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail 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.021429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : userId (string). Facultatif : advertiseSwitch (l’un de ALL, ORGANIC_ONLY), orderType (l’un de LATEST, MOST_READ, MOST_INTERACT), noteType (l’un de ALL, COOPERATION, PHOTO_TEXT, VIDEO), isThirdPlatform (l’un de NO, YES) et pageNumber (integer). 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).
Non. Xiaohongshu Pugongying Creator Note List 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.