userIdstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento 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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
userIdstringobrigatórioShop identifier. Also known as Seller ID or User ID (they refer to the same value).
shopIdstringobrigatórioUnique shop identifier on Taobao/Tmall (shop ID).
sortstringSort order for the result set.
Padrão: "sales-des"
Valores possíveis: sales-des, new-des, credit-des, price-asc, price-des
pageintegerPage number for pagination.
Padrão: 1
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Taobao Shop Product ListEsta API Taobao | $0.028571 por chamada | JSON |
Taobao | $0.021429 por chamada | JSON |
Taobao | $0.021429 por chamada | JSON |
Taobao | $0.021429 por chamada | JSON |
Taobao | $0.028571 por chamada | JSON |
Taobao | $0.028571 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/taobao/shop-item-list com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.028571 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: userId (string) e shopId (string). Opcionais: sort (um de sales-des, new-des, credit-des, price-asc, price-des) e page (integer). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Taobao Shop Product List funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Taobao separadamente.