userIdstring필수
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.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
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.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
userIdstring필수Shop identifier. Also known as Seller ID or User ID (they refer to the same value).
shopIdstring필수Unique shop identifier on Taobao/Tmall (shop ID).
sortstringSort order for the result set.
기본값: "sales-des"
가능한 값: sales-des, new-des, credit-des, price-asc, price-des
pageintegerPage number for pagination.
기본값: 1
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Taobao | $0.028571 / 호출 | JSON |
Taobao | $0.021429 / 호출 | JSON |
Taobao | $0.021429 / 호출 | JSON |
Taobao | $0.021429 / 호출 | JSON |
Taobao | $0.028571 / 호출 | JSON |
Taobao | $0.028571 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/taobao/shop-item-list에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.028571, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: userId (string) 및 shopId (string). 선택: sort(sales-des, new-des, credit-des, price-asc, price-des 중 하나) 및 page (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Taobao Shop Product List은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Taobao API 액세스를 별도로 신청할 필요는 없습니다.