userIdstringrequerido
Shop identifier. Also known as Seller ID or User ID (they refer to the same value).
https://api.sandbase.ai/v1/api/taobao/shop-item-listGet products from a Taobao or Tmall shop using both seller or user ID and shop ID, with page-based pagination and sorting by sales, new arrivals, credit, or price. Use it to browse a known shop catalog.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns one page of products from a Taobao or Tmall shop, plus shop details such as the shop name and service scores. It needs the seller ID (userId) and the shop ID (shopId). You can sort by sales, new arrivals, credit, or price.
sort set to new-des.curl -X POST "https://api.sandbase.ai/v1/api/taobao/shop-item-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "1659916565", "shopId": "103710607"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
shopId | string | Yes | Unique shop identifier on Taobao/Tmall (shop ID). |
userId | string | Yes | Shop identifier. Also known as Seller ID or User ID (they refer to the same value). |
page | integer | No | Page number for pagination. |
sort | string | No | Sort order for the result set. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"httpData": {
"breadcrumbModuleResponse": {
"breadcrumbList": [
{
"href": "https://taobao.com/",
"name": "首页"
}
],
"success": true
},
"itemListModuleResponse": {
"itemList": [
{
"areaLimit": false,
"backCatId": 50012587,
"backCatIdL1": 50008090,
"commentCount": "8万+",
"commentTagList": [],
"currencySymbol": "฿",
"discntPriceYuan": 52.94,
"discntType": "品牌巨惠"
}
],
"page": {
"hideTotalCount": "100",
"nextNo": 2,
"pageNo": 1,
"pageSize": 60,
"prevNo": 1,
"showBegin": 1,
"showEnd": 3,
"totalCount": 262
},
"pageUrlFollow": false,
"success": true
},
"metaModuleResponse": {
"description": "欢迎光临-图拉斯旗舰店,淘宝网Taobao为你提供最新商品图片、价格、品牌、评价、折扣等信息,有问题可直接咨询商家!淘宝Taobao/天猫Tmall数亿热销好货…",
"keyword": "图拉斯旗舰店",
"linkList": [
{
"href": "https://taobao.com103710607.htm",
"rel": "canonical"
}
],
"robots": "index,follow",
"success": true,
"title": "图拉斯旗舰店 - 淘宝网|Taobao - 天猫|Tmall"
},
"pageABTestModuleResponse": {
"abTag": 0,
"aeAsoTag": 0,
"featureGrayResultMap": {
"AUTO_LOGIN_GUIDE": {
"bucketId": 0,
"extProperties": {},
"hit": true
},
"LOGIN_GUIDE": {
"bucketId": 0,
"extProperties": {},
"hit": true
}
},
"success": true
},
"pageSimplifiedModuleResponse": {
"simplified": false,
"simplifiedType": "NO_SIMPLIFIED",
"success": false,
"userId": "2223250982130"
},
"seoCommonBannerResponse": {
"color": "#FC385B",
"pcBanner": "https://img.alicdn.com/imgextra/i1/O1CN01v7EvqI29IfUrgeUNc_!!6000000008045-1-tps…",
"success": true,
"targetURl": "https://huodong.taobao.com/wow/a/act/tao/dailygroup/23509/24308/wupr?spm=a2141.2…"
},
"shopListModuleResponse": {
"shopList": [
{
"deliverScore": "4.9",
"descriptionMatchScore": "4.8",
"picUrl": "//img.alicdn.com/imgextra/i2/1659916565/O1CN01CtYGJ01yMpFkZsjho_!!1659916565.jpg",
"sellerId": 1659916565,
"serviceScore": "4.8",
"shopId": 103710607,
"shopName": "图拉斯旗舰店"
}
],
"success": true
},
"statusCode": 0,
"success": true
},
"pageData": {
"client": "pc",
"currentPath": "https://taobao.com",
"currentUrl": "https://taobao.com103710607.htm",
"detailUrl": "https://taobao.com/item/",
"env": "production",
"host": "pagehandler-handler.tmg-wormhole-n",
"isBase64On": true,
"keyword": "图拉斯旗舰店",
"locale": "zh-tw",
"loginGuideHit": true,
"pageConfig": {
"pageVersion": ""
},
"pageUrlFollow": false
}
}
| Field | Meaning |
|---|---|
httpData.itemListModuleResponse.itemList[] | The products on the current page. Each entry holds the price, discount type, category IDs and review count of one product. |
httpData.itemListModuleResponse.itemList[].discntPriceYuan | The discounted price of the product. Read it together with currencySymbol, which can show a symbol such as ฿. |
httpData.itemListModuleResponse.itemList[].discntType | The discount label for the product, for example 特价秒杀 or 品牌巨惠. |
httpData.itemListModuleResponse.itemList[].commentCount | The review count as text. Large values are shortened, for example 8万+. |
httpData.itemListModuleResponse.itemList[].backCatId / backCatIdL1 | The product's category ID and its top-level category ID. |
httpData.itemListModuleResponse.page.totalCount | The total number of products in the shop. |
httpData.itemListModuleResponse.page.pageNo / pageSize / nextNo / prevNo | The current page number, the page size, and the numbers of the next and previous pages. |
httpData.shopListModuleResponse.shopList[].shopName | The shop's display name. |
httpData.shopListModuleResponse.shopList[].sellerId / shopId | The numeric seller ID and shop ID of the shop. |
httpData.shopListModuleResponse.shopList[].deliverScore / descriptionMatchScore / serviceScore | The shop's delivery, description match and service scores, returned as text. |
page with the value of nextNo to get the next page. Compare totalCount with pageSize to see how many pages exist.sort accepts sales-des (default), new-des, credit-des, price-asc and price-des.itemList in this sample does not include a product ID or title. Use Taobao Product Search to find a product, then Taobao Product Details for more on it.httpData blocks other than itemListModuleResponse and shopListModuleResponse hold page metadata, such as breadcrumbs, banners and A/B test flags.$0.028571 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/taobao/shop-item-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "sales-des",
"shopId": "103710607",
"userId": "1659916565"
}'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.
userIdstringrequeridoShop identifier. Also known as Seller ID or User ID (they refer to the same value).
shopIdstringrequeridoUnique shop identifier on Taobao/Tmall (shop ID).
sortstringSort order for the result set.
Valor predeterminado: "sales-des"
Valores posibles: sales-des, new-des, credit-des, price-asc, price-des
pageintegerPage number for pagination.
Valor predeterminado: 1
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 |
|---|---|---|
Taobao Shop Product ListEsta API Taobao | $0.028571 por llamada | JSON |
Taobao | $0.021429 por llamada | JSON |
Taobao | $0.021429 por llamada | JSON |
Taobao | $0.021429 por llamada | JSON |
Taobao | $0.028571 por llamada | JSON |
Taobao | $0.028571 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/taobao/shop-item-list 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.028571 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: userId (string) y shopId (string). Opcionales: sort (una de sales-des, new-des, credit-des, price-asc, price-des) y page (integer). 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. Taobao Shop Product List 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 Taobao por separado.