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.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_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 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
1688 Product Search此 API 1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/1688/search/items 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。1688 Product Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 1688 API 访问权限。
Product Search 需要字符串 keyword。可选的 page、pageSize 和 moq 是整数;priceStart 和 priceEnd 是字符串,用于文档中定义的 CNY 价格区间。这里与工厂相关的输入是 isSuperFactory。Image Search 使用不同的输入 imgUrl,并使用 isFactory 和 verifiedSupplier;这些名称不能与此请求互换。
参考文档把 moq 称为最小起订量过滤条件,但没有说明比较运算符。不要假设把它设为 10 就能保证返回的每个商品都可以按 10 件或更少订购。请检查所选报价、SKU 和数量阶梯;缺失的 MOQ 值应保留为未知,而不是 0。
不能。参考文档描述的是市场候选项的一页,返回数量可能与 pageSize 不同。报告的总数或与工厂相关的标志都不能证明覆盖完整,也不能独立验证供应商。请分别查看商品列表和供应商。Python 示例只发起了一次搜索请求,不是完整的分页或供应商审核流程。