keywordstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
keywordstringobligatoireSearch keyword.
pageintegerPage number, starting at 1.
Par défaut : 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
Par défaut : 20
sortstringProduct sort order.
Par défaut : "default"
Valeurs possibles : 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.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
1688 Product SearchCette API 1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/1688/search/items avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : keyword (string). Facultatif : page (integer), pageSize (integer), sort (l’un de default, sales, price_up, price_down), moq (integer), priceStart (string) et priceEnd (string) et 4 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. 1688 Product Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API 1688 séparément.
Product Search requiert la chaîne keyword. page, pageSize et moq sont des entiers facultatifs ; priceStart et priceEnd sont des chaînes pour une plage de prix CNY documentée. L’entrée liée à l’usine ici est isSuperFactory. Image Search a une entrée différente, imgUrl, et utilise isFactory et verifiedSupplier ; ces noms ne sont pas interchangeables avec cette requête.
La référence décrit moq comme un filtre de quantité minimale de commande, mais ne précise pas d’opérateur de comparaison. Ne supposez pas qu’en le réglant à 10, chaque fiche renvoyée peut être commandée en dix unités ou moins. Vérifiez l’offre sélectionnée, le SKU et le palier de quantité ; conservez les valeurs MOQ manquantes comme inconnues plutôt que zéro.
Non. La référence décrit une page de candidats du marketplace, et le nombre renvoyé peut différer de pageSize. Un total déclaré ou un indicateur lié à l’usine n’établit pas une couverture complète ni ne vérifie indépendamment un fournisseur. Examinez la fiche et le fournisseur séparément. L’exemple Python effectue une seule requête de recherche, pas un workflow complet de pagination ou d’audit fournisseur.