sellerIdstringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
sellerIdstringจำเป็นTaobao seller user ID associated with the shop.
shopIdstringจำเป็นTaobao 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.
ค่าเริ่มต้น: "comprehensive"
ค่าที่เป็นไปได้: comprehensive, sales, new, price-asc, price-desc
pageintegerPage number, starting from 1.
ค่าเริ่มต้น: 1
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Taobao Shop ProductsAPI นี้ Taobao | $0.021429 ต่อการเรียก | JSON |
Taobao | $0.021429 ต่อการเรียก | JSON |
Taobao | $0.021429 ต่อการเรียก | JSON |
Taobao | $0.021429 ต่อการเรียก | JSON |
Taobao | $0.028571 ต่อการเรียก | JSON |
Taobao | $0.028571 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/taobao/shop/items โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.021429 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: sellerId (string) และ shopId (string). ตัวเลือก: catId (string), keyword (string), sort (หนึ่งใน comprehensive, sales, new, price-asc, price-desc) และ page (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น Taobao Shop Products ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Taobao API แยกต่างหาก