keywordstringจำเป็น
Search keyword.
https://api.sandbase.ai/v1/api/1688/search/itemsSearch 1688 wholesale products by keyword with price, minimum order quantity, tiered prices, sales, repurchase rate and delivery info. Sort and filter by price, MOQ, dropshipping, free shipping and factory.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of 1688 wholesale products that match a keyword. Each item includes price, sales counts, shop details, delivery origin and tags. The only required input is keyword.
shop_info.is_factory and shop_info.is_super_factory in the results.curl -X POST "https://api.sandbase.ai/v1/api/1688/search/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "蓝牙耳机"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword. |
freeShipping | boolean | No | Filter for free shipping. |
isSuperFactory | boolean | No | Optional super-factory filter. |
moq | integer | No | Minimum order quantity filter. |
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": null,
"filters": {},
"has_next_page": true,
"items": [
{
"category_path": [
"10333"
],
"delivery_info": {
"area_from": [
"福建"
]
},
"goods_score": "3.0",
"img": "https://cbu01.alicdn.com/img/ibank/O1CN01HcxZQF1JWzrRozisJ_!!2219639211037-0-cib…",
"is_ad": false,
"item_id": 1051199602311,
"item_repurchase_rate": "",
"moq": null,
"price": "5.01",
"price_info": {
"origin_price": null,
"sale_price": "5.01"
},
"product_url": "https://detail.1688.com/offer/1051199602311.html",
"quantity_begin": null
}
],
"keyword": "蓝牙耳机",
"page": 1,
"page_size": 20,
"sort": "default",
"total_count": 2000
}
| Field | Meaning |
|---|---|
items[].item_id / items[].product_url | Product ID and the link to its 1688 detail page. |
items[].title / items[].img | Product title and main image URL. |
items[].price / items[].price_info.sale_price | Listed price as a string. price_info.origin_price holds the original price and can be null. |
items[].moq / items[].quantity_begin / items[].quantity_prices[] | Minimum order quantity and tiered price data. These are null or empty when the listing shows no tiers. |
items[].sale_info.orders_count / items[].sale_info.sale_quantity_int | Order count and numeric sales quantity. sale_info.sale_quantity is the display text, such as 已售100+件. |
items[].item_repurchase_rate | Repurchase rate shown on the listing, such as 33%. It is an empty string when not shown. |
items[].goods_score / items[].rating_star | Score and star rating for the product, as strings. |
items[].shop_info.company_name / items[].shop_info.member_id | Seller company name and the shop's member ID. |
items[].shop_info.is_factory / items[].shop_info.is_super_factory / items[].shop_info.factory_inspection | Flags that show whether the seller is a factory, a super factory, or has a factory inspection. |
items[].delivery_info.area_from / items[].tags | Province and city the goods ship from, and listing tags such as return shipping coverage. |
Prefer to inspect a known listing link? Use Product Details by URL. The Python request example sends a keyword search and a separate, manually selected URL lookup. It does not automatically identify a supplier or call details for every result.
page to move through results. has_next_page shows whether another page exists, and total_count gives the total match count.item_id is a number. Pass it to 1688 Product Details for the full listing.shop_info.member_id with 1688 Shop Info to look up the seller.keyword, page, page_size and sort. The returned item count may differ from pageSize.$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/search/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"keyword": "蓝牙耳机",
"pageSize": 20
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นSearch keyword.
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
moqintegerMinimum order quantity filter.
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 Product SearchAPI นี้ 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/search/items โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตัวเลือก: page (integer), pageSize (integer), sort (หนึ่งใน default, sales, price_up, price_down), moq (integer), priceStart (string) และ priceEnd (string) และอีก 4 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น 1688 Product Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง 1688 API แยกต่างหาก
Product Search ต้องใช้สตริง keyword พารามิเตอร์เสริม page, pageSize และ moq เป็นจำนวนเต็ม; priceStart และ priceEnd เป็นสตริงสำหรับช่วงราคา CNY ตามเอกสาร อินพุตที่เกี่ยวกับโรงงานในที่นี้คือ isSuperFactory Image Search มีอินพุตต่างออกไปคือ imgUrl และใช้ isFactory กับ verifiedSupplier; ชื่อเหล่านี้ใช้แทนกันไม่ได้ในคำขอนี้
เอกสารอ้างอิงเรียก moq ว่าเป็นฟิลเตอร์ minimum-order-quantity แต่ไม่ได้ระบุตัวดำเนินการเปรียบเทียบ อย่าคิดว่าการตั้งเป็น 10 จะรับประกันว่ารายการที่ส่งกลับมาทุกชิ้นสั่งได้ไม่เกินสิบหน่วย ตรวจสอบ offer, SKU และ quantity tier ที่เลือกไว้; ให้เก็บค่า MOQ ที่หายไปเป็น unknown แทนที่จะเป็นศูนย์
ไม่ เอกสารอ้างอิงอธิบายว่าเป็นหนึ่งหน้าของผู้สมัครใน marketplace และจำนวนที่ส่งกลับมาอาจไม่เท่ากับ pageSize total ที่รายงานหรือแฟล็กเกี่ยวกับโรงงานไม่ได้ยืนยันว่าครอบคลุมทั้งหมดหรือรับรองซัพพลายเออร์โดยอิสระ ควรตรวจสอบ listing และซัพพลายเออร์แยกกัน ตัวอย่าง Python ทำเพียงหนึ่งคำขอค้นหา ไม่ใช่เวิร์กโฟลว์ pagination หรือ supplier-audit แบบเต็ม