sellerIdstringobligatoire
Taobao seller user ID associated with the shop.
https://api.sandbase.ai/v1/api/taobao/shop/itemsList products in a Taobao or Tmall shop by seller ID and shop ID, with optional keyword search, shop-category filter, sorting and pagination.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
List products in a Taobao or Tmall shop by seller ID and shop ID, with optional keyword search, shop-category filter, sorting and pagination.
The result is returned in outputs[0].data in the platform's original structure.
curl -X POST "https://api.sandbase.ai/v1/api/taobao/shop/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sellerId": "1659916565", "shopId": "103710607"}'
| Name | Type | Required | Description |
|---|---|---|---|
sellerId | string | Yes | Taobao seller user ID associated with the shop. |
shopId | string | Yes | Taobao shop ID associated with the seller. |
catId | string | No | Shop category ID from Shop Detail. Omit to include all shop categories. |
keyword | string | No | Keyword to search for products within the shop. Omit to list products without a keyword filter. |
sort | string | No | Product sort order. |
page | integer | No | Page number, starting from 1. |
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/taobao/shop/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "comprehensive",
"shopId": "103710607",
"sellerId": "1659916565"
}'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.
sellerIdstringobligatoireTaobao seller user ID associated with the shop.
shopIdstringobligatoireTaobao shop ID associated with the seller.
catIdstringShop category ID from Shop Detail. Omit to include all shop categories.
keywordstringKeyword to search for products within the shop. Omit to list products without a keyword filter.
sortstringProduct sort order.
Par défaut : "comprehensive"
Valeurs possibles : comprehensive, sales, new, price-asc, price-desc
pageintegerPage number, starting from 1.
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 |
|---|---|---|
Taobao Shop ProductsCette API Taobao | $0.021429 par appel | JSON |
Taobao | $0.021429 par appel | JSON |
Taobao | $0.021429 par appel | JSON |
Taobao | $0.021429 par appel | JSON |
Taobao | $0.028571 par appel | JSON |
Taobao | $0.028571 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/taobao/shop/items 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 : sellerId (string) et shopId (string). Facultatif : catId (string), keyword (string), sort (l’un de comprehensive, sales, new, price-asc, price-desc) et page (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. Taobao Shop Products 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 Taobao séparément.