page_numinteger
Page, 1-250
Par défaut : 1
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/live-blogger-listPGY live blogger square 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 paged list of live-stream sellers (distributors) from the Xiaohongshu PGY live blogger square. You can send paging values alone, or add a nickname search and filter objects for category, buyers, e-commerce, live activity, fans and platform flags.
nick_name to check how a known seller is listed in the square.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/live-blogger-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page_num": 1, "page_size": 20, "seed": 0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
buyer | object | No | Buyer group & persona filters |
category | object | No | Category filters |
ecom | object | No | E-commerce conversion filters |
fans | object | No | Fans purchasing power filters |
flags | object | No | Platform recommendation flags |
live | object | No | Live activity & performance filters |
nick_name | string | No | Search by nickname |
page_num | integer | No | Page, 1-250 |
page_size | integer | No | Page size, 1-20 |
seed | integer | No | Paging seed, echo back from previous page |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"distributor_info_list": [
{
"distributor_data_info": {
"active_fans_rate": 0.8519,
"atv": "5000-1w",
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo320n9uck162eg5qe20btst2n4arn4pcg…",
"avg_live_viewer_num": "120",
"avg_sale_amount": "2w-5w",
"avg_sale_amount_value": 23571.060909090917,
"bcoo_order_cnt": 0,
"buyer_activity": []
},
"distributor_extra_info": {
"buyer_bar_list": [],
"grade": 3,
"telephone": "AsCoh8eSOTSVJRgpp88+rg==",
"willing_category": [],
"willing_commsion": "不限"
},
"is_star": false,
"show_data": 1
}
],
"page_total": 5000,
"req_id": "3c0e1f96-e0e7-4ce9-8afa-ea263fb1a337",
"seed": 0,
"total": 4872599
},
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.total | Total number of sellers that match the request. |
data.page_total | Number of pages reported for the result. |
data.seed | Paging seed for this result. Send it back as seed when you request the next page. |
data.distributor_info_list[].distributor_data_info.avg_sale_amount / data.distributor_info_list[].distributor_data_info.avg_sale_amount_value | Average sales amount as a range label (for example 2w-5w) and as a numeric value. |
data.distributor_info_list[].distributor_data_info.atv | Range label for the seller's atv, for example 5000-1w. |
data.distributor_info_list[].distributor_data_info.avg_live_viewer_num | Average number of viewers per live stream, returned as a string. |
data.distributor_info_list[].distributor_data_info.active_fans_rate | Share of active fans as a decimal, for example 0.8519. |
data.distributor_info_list[].distributor_data_info.avatar | URL of the seller's avatar image. |
data.distributor_info_list[].distributor_extra_info.grade | Grade number of the seller. |
data.distributor_info_list[].distributor_extra_info.willing_commsion | Commission the seller is willing to accept. 不限 means no limit. |
data.distributor_info_list[].is_star | Whether the seller is flagged as a star. |
page_num from 1 to 250 and page_size from 1 to 20.seed value from the previous response with each next page request.telephone value in distributor_extra_info is an encoded string, and it is empty for some sellers.$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/live-blogger-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"seed": 0,
"page_num": 1,
"page_size": 20
}'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.
page_numintegerPage, 1-250
Par défaut : 1
page_sizeintegerPage size, 1-20
Par défaut : 20
seedintegerPaging seed, echo back from previous page
Par défaut : 0
nick_namestringSearch by nickname
categoryobjectCategory filters
buyerobjectBuyer group & persona filters
ecomobjectE-commerce conversion filters
liveobjectLive activity & performance filters
fansobjectFans purchasing power filters
flagsobjectPlatform recommendation flags
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 live blogger squareCette 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/live-blogger-list 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.
Aucun paramètre n’est requis. Facultatif : page_num (integer), page_size (integer), seed (integer), nick_name (string), category (object) et buyer (object) et 4 de plus. 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 live blogger square 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.