keywordstring
Search keyword. Supply keyword or catId.
https://api.sandbase.ai/v1/api/1688/search/cross-borderSearch 1688 cross-border products by keyword or category with translated titles, sort and sourcing filters.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
This API returns a page of 1688 cross-border product listings that match a keyword or a 1688 category ID. Each item has a translated title, minimum order quantity, sales volume and shop details. Send keyword or catId, and set language to pick the title language.
curl -X POST "https://api.sandbase.ai/v1/api/1688/search/cross-border" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "phone case", "language": "en"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
catId | string | No | 1688 category ID. Supply catId or keyword. |
freeShipping | boolean | No | Filter for free shipping. |
isSuperFactory | boolean | No | Optional super-factory filter. |
keyword | string | No | Search keyword. Supply keyword or catId. |
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": null,
"filters": {},
"has_next_page": true,
"items": [
{
"category_path": [
"7"
],
"currency": "CNY",
"delivery_info": {
"area_from": [
"广东"
],
"free_shipping": false,
"ship_in_48h": false
},
"img": "https://cbu01.alicdn.com/img/ibank/O1CN01ckLnyq1LNUq1BAwUb_!!2220808541287-0-cib…",
"item_id": 990347938140,
"item_repurchase_rate": "20%",
"low_refund_rate": false,
"moq": "1",
"one_piece_min_order": false,
"price": "2.10",
"price_info": {
"origin_price": "",
"price": "2.10",
"sale_price": "2.10"
},
"product_url": "https://detail.1688.com/offer/990347938140.html"
}
],
"keyword": "phone case",
"page": 1,
"page_size": 20,
"sort": "default",
"total_count": 2000
}
| Field | Meaning |
|---|---|
items[].item_id / items[].product_url | The 1688 product ID and the link to its product page. |
items[].title / items[].title_origin | The title in the requested language and the original Chinese title. |
items[].img | The URL of the main product image. |
items[].category_path | The category IDs for the item, as a list of strings. |
items[].moq / items[].quantity_begin | The minimum order quantity for the item. Both are strings. |
items[].sale_info.sale_quantity_90days | Sales volume over the last 90 days, shown as a rounded string such as 20K+. |
items[].item_repurchase_rate | The share of buyers who bought the item again, as a percent string such as 20%. |
items[].delivery_info.area_from | The region the item ships from, as a province and city in Chinese. |
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 operated. |
keyword or catId. The response echoes keyword, page, page_size and sort.page and pageSize to paginate, and stop when has_next_page is false. The returned item count may differ from pageSize.total_count gives the number of matches for the query.item_id to 1688 Product Details. To look up the seller, use 1688 Shop Info.$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/cross-border" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"keyword": "phone case",
"language": "en",
"pageSize": 20
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
keywordstringSearch keyword. Supply keyword or catId.
catIdstring1688 category ID. Supply catId or keyword.
pageintegerPage number, starting at 1.
デフォルト: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
デフォルト: 20
languagestringOutput language.
デフォルト: "en"
指定可能な値: en, zh, ru, vi, ja, ko
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の保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| 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/cross-border に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: keyword (string), catId (string), page (integer), pageSize (integer), language(en, zh, ru, vi, ja, ko のいずれか) と sort(default, sales, price_up, price_down のいずれか) と他 6 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。1688 Cross-border Product Search は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。1688 の API アクセスを別途申請する必要はありません。