catIdstringจำเป็น
1688 platform category ID.
https://api.sandbase.ai/v1/api/1688/category/itemsList 1688 wholesale products in a category with output language, sort, price, dropshipping and factory filters.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of 1688 wholesale products listed in one category. You send a 1688 category ID as catId, and you can set the output language, sort order, and filters such as dropshipping, free shipping and super factory.
sale_info.sale_quantity_90days to find fast sellers.curl -X POST "https://api.sandbase.ai/v1/api/1688/category/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"catId": "97", "language": "en"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
catId | string | Yes | 1688 platform category ID. |
freeShipping | boolean | No | Filter for free shipping. |
isSuperFactory | boolean | No | Optional super-factory filter. |
language | string | No | Output language. |
newArrival | boolean | No | Filter for new products. |
page | integer | No | Page number, starting at 1. |
pageSize | integer | No | Number of items requested per page. The returned count may differ. |
priceEnd | string | No | Maximum price filter in CNY. |
priceStart | string | No | Minimum price filter in CNY. |
sort | string | No | Product sort order. |
supportDropshipping | boolean | No | Filter for support for dropshipping. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"cat_id": 97,
"filters": {},
"has_next_page": true,
"items": [
{
"category_path": [
"97"
],
"currency": "CNY",
"delivery_info": {
"area_from": [
""
],
"free_shipping": false,
"ship_in_48h": false
},
"img": "https://cbu01.alicdn.com/img/ibank/O1CN01SuQkMOZANnD1bRrY_!!6000000006137-0-cib.…",
"item_id": 1073789442750,
"item_repurchase_rate": "100%",
"low_refund_rate": false,
"moq": "100",
"one_piece_min_order": false,
"price": "0.06",
"price_info": {
"origin_price": "",
"price": "0.06",
"sale_price": "0.06"
},
"product_url": "https://detail.1688.com/offer/1073789442750.html"
}
],
"keyword": "",
"page": 1,
"page_size": 20,
"sort": "default",
"total_count": 2000
}
| Field | Meaning |
|---|---|
items[].item_id / items[].product_url | The product ID and the link to its 1688 detail page. |
items[].title / items[].title_origin | The product title in the requested language, and the original title in Chinese. |
items[].moq / items[].quantity_begin | The minimum order quantity as a string. |
items[].sale_info.sale_quantity_90days | The sales volume over 90 days, shown as a string such as 100K+. |
items[].item_repurchase_rate | The product's repurchase rate as a percentage string. |
items[].delivery_info.area_from | The province and city the product ships from. Both values can be empty strings. |
items[].delivery_info.free_shipping / items[].ship_in_48h | Flags for free shipping and for shipping within 48 hours. |
items[].shop_info.company_name / items[].shop_info.shop_years | The seller's company name and the number of years the shop has existed. |
items[].shop_info.score_info.composite_score | The shop's composite score, shown as a string such as 4.0. |
items[].shop_info.is_super_factory | Flag for the super-factory badge on the shop. |
page and pageSize to move through results. Use has_next_page to see if more pages exist. total_count gives the total number of matching items.category_path list of category IDs. The first value is the catId you requested and the next value is a subcategory ID.item_id to 1688 Product Details to get the full product record.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/1688/category/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"catId": "97",
"language": "en",
"pageSize": 20
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
catIdstringจำเป็น1688 platform category ID.
languagestringOutput language.
ค่าเริ่มต้น: "zh"
ค่าที่เป็นไปได้: en, zh, ru, vi, ja, ko
pageintegerPage number, starting at 1.
ค่าเริ่มต้น: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
ค่าเริ่มต้น: 20
sortstringProduct sort order.
ค่าเริ่มต้น: "default"
ค่าที่เป็นไปได้: default, sales, price_up, price_down
priceStartstringMinimum price filter in CNY.
priceEndstringMaximum price filter in CNY.
newArrivalbooleanFilter for new products.
supportDropshippingbooleanFilter for support for dropshipping.
freeShippingbooleanFilter for free shipping.
isSuperFactorybooleanOptional super-factory filter.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
1688 Category ProductsAPI นี้ 1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/1688/category/items โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: catId (string). ตัวเลือก: language (หนึ่งใน en, zh, ru, vi, ja, ko), page (integer), pageSize (integer), sort (หนึ่งใน default, sales, price_up, price_down), priceStart (string) และ priceEnd (string) และอีก 4 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น 1688 Category Products ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง 1688 API แยกต่างหาก