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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/1688/search/items に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $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 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。1688 の API アクセスを別途申請する必要はありません。
Product Search では文字列 keyword が必要です。 page、pageSize、moq は任意の整数です。 priceStart と priceEnd は、文書化された CNY の価格帯を表す文字列です。ここで工場関連の入力は isSuperFactory です。Image Search では imgUrl という別の入力を使用し、isFactory と verifiedSupplier を使います。これらの名前は、このリクエストと互換ではありません。
参照では moq を最小注文数量フィルターと呼んでいますが、比較演算子は指定されていません。 moq を 10 に設定したからといって、返された各掲載品が 10 個以下で注文できるとは決めつけないでください。選択したオファー、SKU、数量段階を確認し、MOQ の欠損値は 0 ではなく不明として保持してください。
いいえ。参照ではマーケットプレイス候補の 1 ページと説明されており、返される件数は pageSize と一致しない場合があります。報告された total や工場関連フラグは、完全な網羅性を示したり、supplier を独立に検証したりするものではありません。掲載情報と supplier は別々に確認してください。Python の例は 1 回の検索リクエストであり、完全なページネーションや supplier 監査のワークフローではありません。